Browse Source

feat:fix bugs

master
zhaobing’ 1 year ago
parent
commit
39842a546b
  1. 4
      web/client/src/sections/patrolManage/components/addReportRulesModal.js

4
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 => {

Loading…
Cancel
Save