From eec3d47b849114fc764e47a649ac6e0c6ff554dd Mon Sep 17 00:00:00 2001 From: joylink_cuiweidong <364937672@qq.com> Date: Wed, 24 Jun 2020 14:06:12 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A5=BF=E5=AE=89=E4=BA=8C=E5=8F=B7=E7=BA=BF?= =?UTF-8?q?=E6=93=8D=E4=BD=9C=E4=BB=A3=E7=A0=81=E6=95=B4=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../theme/ningbo_01/menus/menuStation.vue | 4 +- .../menus/dialog/stationHumanControlAll.vue | 126 --------------- .../dialog/stationSetRouteControlAll.vue | 145 ------------------ .../theme/xian_02/menus/menuRequest.vue | 7 +- .../theme/xian_02/menus/menuSection.vue | 8 +- .../theme/xian_02/menus/menuSignal.vue | 4 +- .../theme/xian_02/menus/menuStation.vue | 48 +++--- .../theme/xian_02/menus/menuSwitch.vue | 6 +- src/jmapNew/theme/xian_02/menus/menuTrain.vue | 2 +- .../theme/xian_02/menus/popStationStand.vue | 4 +- 10 files changed, 50 insertions(+), 304 deletions(-) delete mode 100644 src/jmapNew/theme/xian_02/menus/dialog/stationHumanControlAll.vue delete mode 100644 src/jmapNew/theme/xian_02/menus/dialog/stationSetRouteControlAll.vue diff --git a/src/jmapNew/theme/ningbo_01/menus/menuStation.vue b/src/jmapNew/theme/ningbo_01/menus/menuStation.vue index e6725826f..681f789db 100644 --- a/src/jmapNew/theme/ningbo_01/menus/menuStation.vue +++ b/src/jmapNew/theme/ningbo_01/menus/menuStation.vue @@ -150,7 +150,7 @@ export default { }; mouseCancelState(this.selected); - this.$store.dispatch('training/next', operate).then(({ valid }) => { + this.$store.dispatch('training/nextNew', operate).then(({ valid }) => { if (valid) { this.$store.dispatch('menuOperation/handleBreakFlag', { break: true }); } else { @@ -170,7 +170,7 @@ export default { }; mouseCancelState(this.selected); - this.$store.dispatch('training/next', operate).then(({ valid }) => { + this.$store.dispatch('training/nextNew', operate).then(({ valid }) => { if (valid) { this.$store.dispatch('menuOperation/handleBreakFlag', { break: true }); } else { diff --git a/src/jmapNew/theme/xian_02/menus/dialog/stationHumanControlAll.vue b/src/jmapNew/theme/xian_02/menus/dialog/stationHumanControlAll.vue deleted file mode 100644 index a571a47da..000000000 --- a/src/jmapNew/theme/xian_02/menus/dialog/stationHumanControlAll.vue +++ /dev/null @@ -1,126 +0,0 @@ - - - - diff --git a/src/jmapNew/theme/xian_02/menus/dialog/stationSetRouteControlAll.vue b/src/jmapNew/theme/xian_02/menus/dialog/stationSetRouteControlAll.vue deleted file mode 100644 index 14b9367a3..000000000 --- a/src/jmapNew/theme/xian_02/menus/dialog/stationSetRouteControlAll.vue +++ /dev/null @@ -1,145 +0,0 @@ - - - - diff --git a/src/jmapNew/theme/xian_02/menus/menuRequest.vue b/src/jmapNew/theme/xian_02/menus/menuRequest.vue index 2a40a1c98..5f2bd4336 100644 --- a/src/jmapNew/theme/xian_02/menus/menuRequest.vue +++ b/src/jmapNew/theme/xian_02/menus/menuRequest.vue @@ -69,7 +69,12 @@ export default { if (list && list.length) { list.forEach(item => { if (item.device && item.device.code) { - const station = this.$store.getters['map/getDeviceByCode'](item.device.stationCode); + let station; + if (item.device._type == 'Station') { + station = item.device; + } else { + station = this.$store.getters['map/getDeviceByCode'](item.device.stationCode); + } const param = { station: `CP ${station.name}`, operation: `${item.device.name} ${item.operation.name}`, diff --git a/src/jmapNew/theme/xian_02/menus/menuSection.vue b/src/jmapNew/theme/xian_02/menus/menuSection.vue index f1f7e605a..9cd8a0615 100644 --- a/src/jmapNew/theme/xian_02/menus/menuSection.vue +++ b/src/jmapNew/theme/xian_02/menus/menuSection.vue @@ -1,12 +1,12 @@ diff --git a/src/jmapNew/theme/xian_02/menus/menuSignal.vue b/src/jmapNew/theme/xian_02/menus/menuSignal.vue index 80c4eebe4..2ecae142a 100644 --- a/src/jmapNew/theme/xian_02/menus/menuSignal.vue +++ b/src/jmapNew/theme/xian_02/menus/menuSignal.vue @@ -2,8 +2,8 @@
- - + +
diff --git a/src/jmapNew/theme/xian_02/menus/menuStation.vue b/src/jmapNew/theme/xian_02/menus/menuStation.vue index dabca966c..9f196748b 100644 --- a/src/jmapNew/theme/xian_02/menus/menuStation.vue +++ b/src/jmapNew/theme/xian_02/menus/menuStation.vue @@ -2,8 +2,6 @@
- -
@@ -11,8 +9,6 @@