|
|
@ -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]).format('YYYY-MM-DD HH:mm:ss'), |
|
|
|
startTime: moment(values.timeRange[0]).format('YYYY-MM-DD HH:mm:ss'), |
|
|
|
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'), |
|
|
|
reportpic: values?.pic[0]?.name ? values?.pic.map(u => u.storageUrl) : modalData?.reportpic, |
|
|
|
} |
|
|
|
dispatch(patrolManage.postReport(params)).then(res => { |
|
|
|