成都三号线 引导总锁 实训代码调整
This commit is contained in:
parent
871a04e441
commit
62bf080515
@ -217,7 +217,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
beforeDestroy() {
|
beforeDestroy() {
|
||||||
this.buttonDown(this.Command.cancel.clearMbm.operation);
|
this.resetMbmButton();
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
passWordCommit(data) {
|
passWordCommit(data) {
|
||||||
@ -325,6 +325,11 @@ export default {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
resetMbmButton() {
|
||||||
|
this.commandTypeList = [];
|
||||||
|
this.$store.dispatch('menuOperation/setButtonOperation', null);
|
||||||
|
Handler.clear(); // 清空操作组
|
||||||
|
},
|
||||||
// 排列进路 OR 信号重开操作
|
// 排列进路 OR 信号重开操作
|
||||||
arrangementRouteOperation(deviceList) {
|
arrangementRouteOperation(deviceList) {
|
||||||
const operate = {
|
const operate = {
|
||||||
@ -659,7 +664,9 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
operate.cmdType = CMD.Station.CMD_STATION_SET_MASTER_GUIDE_LOCK;
|
operate.cmdType = CMD.Station.CMD_STATION_SET_MASTER_GUIDE_LOCK;
|
||||||
}
|
}
|
||||||
this.$store.dispatch('training/nextNew', operate).then(({valid, response}) => { this.buttonDown(this.Command.cancel.clearMbm.operation); }).catch((error) => {
|
this.$store.dispatch('training/nextNew', operate).then(({valid, response}) => {
|
||||||
|
this.resetMbmButton();
|
||||||
|
}).catch((error) => {
|
||||||
console.error(error);
|
console.error(error);
|
||||||
this.$refs.noticeInfo.doShow();
|
this.$refs.noticeInfo.doShow();
|
||||||
});
|
});
|
||||||
|
@ -907,7 +907,7 @@ export default {
|
|||||||
stepVOList: [
|
stepVOList: [
|
||||||
{ deviceType: '04', orderNum: 1, operateCode: '609', tip: '鼠标左键点击【引导总锁】' },
|
{ deviceType: '04', orderNum: 1, operateCode: '609', tip: '鼠标左键点击【引导总锁】' },
|
||||||
{ deviceType: '04', orderNum: 2, operateCode: '0011', tip: '输入密码123,点击【确定】按钮' },
|
{ deviceType: '04', orderNum: 2, operateCode: '0011', tip: '输入密码123,点击【确定】按钮' },
|
||||||
{ deviceType: '04', orderNum: 3, operateCode: '1190', tip: '鼠标左键点击【{26}】', codeType:'BUTTON' }
|
{ deviceType: '04', orderNum: 3, operateCode: '609', tip: '鼠标左键点击【{26}】', codeType:'BUTTON' }
|
||||||
],
|
],
|
||||||
config:{guideTotalLockBT:true}
|
config:{guideTotalLockBT:true}
|
||||||
},
|
},
|
||||||
@ -924,7 +924,7 @@ export default {
|
|||||||
stepVOList: [
|
stepVOList: [
|
||||||
{ deviceType: '04', orderNum: 1, operateCode: '609', tip: '鼠标左键点击【引导总锁】' },
|
{ deviceType: '04', orderNum: 1, operateCode: '609', tip: '鼠标左键点击【引导总锁】' },
|
||||||
{ deviceType: '04', orderNum: 2, operateCode: '0011', tip: '输入密码123,点击【确定】按钮' },
|
{ deviceType: '04', orderNum: 2, operateCode: '0011', tip: '输入密码123,点击【确定】按钮' },
|
||||||
{ deviceType: '04', orderNum: 3, operateCode: '1190', tip: '鼠标左键点击【{26}】', codeType:'BUTTON' }
|
{ deviceType: '04', orderNum: 3, operateCode: '609', tip: '鼠标左键点击【{26}】', codeType:'BUTTON' }
|
||||||
],
|
],
|
||||||
config:{guideTotalLockBT:true}
|
config:{guideTotalLockBT:true}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user