From ff4624cf2f8a6598805d165244b1b7301c8fd64f Mon Sep 17 00:00:00 2001 From: joylink_fanyuhong <18706759286@163.com> Date: Sat, 12 Oct 2024 17:44:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=88=90=E9=83=BD=E4=B8=89=E7=9A=84=E6=80=BB?= =?UTF-8?q?=E4=BA=BA=E8=A7=A3=E7=82=B9=E5=BC=95=E5=AF=BC=E4=BF=A1=E5=8F=B7?= =?UTF-8?q?=EF=BC=8C=E8=B0=83=E7=9A=84=E6=93=8D=E4=BD=9C=E6=94=B9=E6=88=90?= =?UTF-8?q?=E6=80=BB=E4=BA=BA=E8=A7=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../theme/chengdu_03/menus/menuButton.vue | 24 +++++++------------ 1 file changed, 8 insertions(+), 16 deletions(-) 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 = [];