大铁CTC点击已办理引导总锁按钮执行取消引导总锁

This commit is contained in:
fan 2023-02-14 14:48:04 +08:00
parent a91188d655
commit bcec47c0c6

View File

@ -773,9 +773,10 @@ export default {
operate.over = true;
operate.cmdType = CMD.Switch.CMD_SWITCH_BLOCK;
} else if (this.operation === OperationEvent.Station.guideLock.button.operation) {
console.log(this.selected, 'selected');
operate.userOperationType = UserOperationType.LEFTCLICK;
operate.over = true;
operate.cmdType = CMD.Station.CMD_STATION_MASTER_LOCK;
operate.cmdType = this.selected.instance && this.selected.instance.guideLock ? CMD.Station.CMD_STATION_MASTER_UNLOCK : CMD.Station.CMD_STATION_MASTER_LOCK;
}
this.$store.dispatch('trainingNew/next', operate).then(({valid}) => {
}).catch(e => {