diff --git a/src/jmapNew/theme/chengdu_03/menus/menuButton.vue b/src/jmapNew/theme/chengdu_03/menus/menuButton.vue index 3b021eb83..bc55f7cd9 100644 --- a/src/jmapNew/theme/chengdu_03/menus/menuButton.vue +++ b/src/jmapNew/theme/chengdu_03/menus/menuButton.vue @@ -423,21 +423,21 @@ export default { break; case 'center': operate.cmdType = CMD.ControlConvertMenu.CMD_CM_APPLY_FOR_CENTER_CONTROL; - // delete operate.over; + delete operate.over; operate.subType = 'center'; operate.param = {stationCodes: [model.code]}; operate.code = model.code; break; case 'emergency': operate.cmdType = CMD.ControlConvertMenu.CMD_CM_EMERGENCY_STATION_CONTROL; - // delete operate.over; + delete operate.over; operate.subType = 'emergency'; operate.param = {stationCodes: [model.code]}; operate.code = model.code; break; case 'interconnected': operate.cmdType = CMD.ControlConvertMenu.CMD_CM_EMERGENCY_STATION_CONTROL; - // delete operate.over; + delete operate.over; operate.subType = 'interconnected'; operate.param = {stationCodes: [model.code]}; operate.code = model.code; @@ -447,7 +447,7 @@ export default { this.$store.dispatch('trainingNew/next', operate).then(({ valid, response }) => { // 判断是否需要 弹窗密码框 // const operate = Object.assign({}, operate); - if (subType == 'center ' || subType == 'emergency' || subType == 'interconnected' ) { + if (subType == 'center' || subType == 'emergency' || subType == 'interconnected' ) { operate['operateNext'] = operate.operation = this.Command.close.password.operation; if (subType == 'center') { operate['nextCmdType'] = CMD.ControlConvertMenu.CMD_CM_APPLY_FOR_CENTER_CONTROL;