大铁线路调整35

This commit is contained in:
fan 2022-05-07 10:25:55 +08:00
parent 52a304ef95
commit cca1c4f5e1
2 changed files with 8 additions and 2 deletions

View File

@ -115,7 +115,7 @@ export default {
const date = new Date(+new Date(`${new Date().toLocaleDateString()} ${timeFormat(time)}`)); const date = new Date(+new Date(`${new Date().toLocaleDateString()} ${timeFormat(time)}`));
this.initDate(date); this.initDate(date);
} }
},//16227 },
mounted() { mounted() {
this.$nextTick(() => { this.$nextTick(() => {
this.$store.dispatch('config/updateMenuBar'); this.$store.dispatch('config/updateMenuBar');

View File

@ -596,7 +596,13 @@ export default {
nextCmdType: CMD.Switch.CMD_SWITCH_MASTER_LOCK, nextCmdType: CMD.Switch.CMD_SWITCH_MASTER_LOCK,
param: {signalCode: model.signalCode} param: {signalCode: model.signalCode}
}; };
this.$refs.password.doShow(operate); // 15s
if (signal.guideTime) {
operate.cmdType = CMD.Switch.CMD_SWITCH_MASTER_LOCK;
this.sendCommand(operate);
} else {
this.$refs.password.doShow(operate);
}
} }
}, },
handelFaultSection(model) { handelFaultSection(model) {