Commit aaaa4a1e authored by 邓超's avatar 邓超

fix: 修改消息平台查看时间bug

parent 8b651045
Pipeline #55020 passed with stages
...@@ -391,7 +391,7 @@ const NodeEdit = props => { ...@@ -391,7 +391,7 @@ const NodeEdit = props => {
<Radio value="1"></Radio> <Radio value="1"></Radio>
</Radio.Group> </Radio.Group>
</Form.Item> </Form.Item>
<Form.Item label="是否接收短信" name="IsSendMessage"> <Form.Item label="消息接收" name="IsSendMessage">
<Radio.Group> <Radio.Group>
<Radio value={0}></Radio> <Radio value={0}></Radio>
<Radio value={1}></Radio> <Radio value={1}></Radio>
......
...@@ -309,12 +309,14 @@ const VisibleIISAgentConfig = props => { ...@@ -309,12 +309,14 @@ const VisibleIISAgentConfig = props => {
setTime_out(e); setTime_out(e);
}; };
const changeStartTime = e => { const changeStartTime = e => {
setExeTime(moment(e).format('YYYY-MM-DD HH:mm:ss')); const time = moment(e).format('YYYY-MM-DD HH:mm:ss');
setExeTime(time);
let obj = form.getFieldValue(); let obj = form.getFieldValue();
if (obj.loop_mode === 'ByOnce') setLoop_unit('Second'); if (obj.loop_mode === 'ByOnce') setLoop_unit('Second');
form.setFieldsValue({ console.log(time, 'time');
end_time: moment(e).format('YYYY-MM-DD HH:mm:ss'), // form.setFieldsValue({
}); // end_time: time,
// });
}; };
const changeDay = data => { const changeDay = data => {
console.log('data', data); console.log('data', data);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment