diff --git a/web/client/src/sections/patrolManage/components/addReportRulesModal.js b/web/client/src/sections/patrolManage/components/addReportRulesModal.js index b40da70..0ee0dd5 100644 --- a/web/client/src/sections/patrolManage/components/addReportRulesModal.js +++ b/web/client/src/sections/patrolManage/components/addReportRulesModal.js @@ -83,8 +83,8 @@ const AddReportRulesModal = props => { type: values.type, system:values.system, structure: Array.isArray(values.structure) ? [...values.structure] : [values.structure], - endTime: moment(values.timeRange[1]).startOf('day').format('YYYY-MM-DD HH:mm:ss'), - startTime: moment(values.timeRange[0]).endOf('day').format('YYYY-MM-DD HH:mm:ss'), + endTime: moment(values.timeRange[1]).endOf('day').format('YYYY-MM-DD HH:mm:ss'), + startTime: moment(values.timeRange[0]).startOf('day').format('YYYY-MM-DD HH:mm:ss'), reportpic: values?.pic[0]?.name ? values?.pic.map(u => u.storageUrl) : modalData?.reportpic, } dispatch(patrolManage.postReport(params)).then(res => {