From 76a7d1fe83cf5843e83168f755b6e5bc0bef8901 Mon Sep 17 00:00:00 2001 From: lVAL Date: Mon, 25 Jan 2021 17:30:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=A5=BF=E5=AE=89=E4=BA=8C?= =?UTF-8?q?=E5=8F=B7=E7=BA=BF=E5=AE=9E=E8=AE=AD=E6=8A=98=E8=BF=94=E4=B8=8D?= =?UTF-8?q?=E5=8F=91=E6=8C=87=E4=BB=A4=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/jmapNew/theme/nanjing_02/menus/menuBar.vue | 1 + src/jmapNew/theme/xian_02/menus/menuStation.vue | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/src/jmapNew/theme/nanjing_02/menus/menuBar.vue b/src/jmapNew/theme/nanjing_02/menus/menuBar.vue index 33a61616b..7194bea46 100644 --- a/src/jmapNew/theme/nanjing_02/menus/menuBar.vue +++ b/src/jmapNew/theme/nanjing_02/menus/menuBar.vue @@ -606,6 +606,7 @@ export default { color: #8f8f8f !important; background: #DDD im !important; margin: 5px auto; + cursor: not-allowed; &:hover { color: #8f8f8f !important; background: #DDD im !important; diff --git a/src/jmapNew/theme/xian_02/menus/menuStation.vue b/src/jmapNew/theme/xian_02/menus/menuStation.vue index ba373508f..f9879cb89 100644 --- a/src/jmapNew/theme/xian_02/menus/menuStation.vue +++ b/src/jmapNew/theme/xian_02/menus/menuStation.vue @@ -354,6 +354,13 @@ export default { }); if (strategy) { commitOperate(menuOperate.StationControl.setBackStrategy, {stationCode: this.selected.code, id:strategy.id}, 3).then(({valid, operate})=>{ + this.$store.dispatch('menuOperation/handleBreakFlag', { break: true }); + this.$store.dispatch('menuOperation/pushRequestList', { + device: this.selected, + operation: { code: OperationEvent.Command.commandXian.confirm.operation, name: type}, + cmdType: CMD.Station.CMD_STATION_SET_TURN_BACK_STRATEGY, + param: {stationCodes:[this.selected.code]} + }); }).catch((error) => { console.error(error); this.$refs.noticeInfo.doShow();