Browse Source

修改日期8月三日

dev
巴林闲侠 1 year ago
parent
commit
7326ee26c3
  1. 2
      web/client/src/sections/fillion/components/patrolTable.js
  2. 2
      web/client/src/sections/fillion/containers/maintenanceSpotCheck.js

2
web/client/src/sections/fillion/components/patrolTable.js

@ -99,7 +99,7 @@ const DetailForm = (props) => {
if (data) {
// Object.keys(data).map(key => {
// })
if ((new Date(data.time + '') > new Date('2023-8-1'))) {
if ((new Date(data.time + '') > new Date('2023-8-3'))) {
return keyList.map(obj => {
return (

2
web/client/src/sections/fillion/containers/maintenanceSpotCheck.js

@ -80,7 +80,7 @@ const DetailForm = (props) => {
];
const renderContent = (data) => {
if (data) {
if (new Date(data.time) > new Date('2023-08-01')) {
if (new Date(data.time) > new Date('2023-08-03')) {
return keyList.map(obj => {
return <div style={{ display: 'flex', width: '100%', justifyContent: 'space-between', margin: '12px 0' }}>
<span style={{ fontSize: 16, color: 'gray', minWidth: '26%' }}>{obj.key}</span>

Loading…
Cancel
Save