diff --git a/src/jmapNew/theme/chengdu_03/menus/menuButton.vue b/src/jmapNew/theme/chengdu_03/menus/menuButton.vue index 62e77beb5..49780c2bc 100644 --- a/src/jmapNew/theme/chengdu_03/menus/menuButton.vue +++ b/src/jmapNew/theme/chengdu_03/menus/menuButton.vue @@ -596,22 +596,14 @@ export default { code: model.code, operation: this.$store.state.menuOperation.buttonOperation }; - - if (model.aspect == 'RY') { - operate.cmdType = CMD.Signal.CMD_SIGNAL_CLOSE_GUIDE; - operate.param = {signalCode: model.code}; - this.deviceList = []; - this.$store.dispatch('trainingNew/next', operate).then(({valid, response}) => {}); - } else { - operate.cmdType = CMD.Signal.CMD_SIGNAL_HUMAN_RELEASE_ROUTE; - operate.param = {signalCode: model.code}; - operate.val = model.code; - this.deviceList = []; - this.$store.dispatch('trainingNew/next', operate).then(({valid, response}) => {}).catch((error) => { - console.error(error); - this.$refs.noticeInfo.doShow(); - }); - } + operate.cmdType = CMD.Signal.CMD_SIGNAL_HUMAN_RELEASE_ROUTE; + operate.param = {signalCode: model.code}; + operate.val = model.code; + this.deviceList = []; + this.$store.dispatch('trainingNew/next', operate).then(({valid, response}) => {}).catch((error) => { + console.error(error); + this.$refs.noticeInfo.doShow(); + }); }, handelControlRoute(model) { // 自动控 人工控点击button 发送 const routeCodeList = [];