Commit 15b7d3c5 authored by 涂伟's avatar 涂伟

fix: '巡检维保执行时间回显逻辑优化'

parent c313e17e
...@@ -104,9 +104,9 @@ const BaseConfig = (props, ref) => { ...@@ -104,9 +104,9 @@ const BaseConfig = (props, ref) => {
setCycleLen(props.keepTimeData.CycleLen); setCycleLen(props.keepTimeData.CycleLen);
setHourDayType1(props.keepTimeData.StartExecLen) setHourDayType1(props.keepTimeData.StartExecLen)
setstartLen(props.keepTimeData.StartLen) setstartLen(props.keepTimeData.StartLen)
if((props.keepTimeData.StartExecLen + props.keepTimeData.CycleLen)>23) { if(props.keepTimeData.EndExecLen > 23) {
setHourType('明') setHourType('明')
setHourDayType2((props.keepTimeData.StartExecLen + props.keepTimeData.CycleLen) - 24) setHourDayType2(props.keepTimeData.EndExecLen - 24)
} else { } else {
setHourType('今') setHourType('今')
setHourDayType2(props.keepTimeData.EndExecLen) setHourDayType2(props.keepTimeData.EndExecLen)
......
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