From 2bd6088bd3dbfaa584845af4cffdb25d19593210 Mon Sep 17 00:00:00 2001 From: fan Date: Fri, 26 May 2023 09:48:23 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=90=E8=A1=8C=E5=9B=BE=E7=BC=96=E8=BE=91?= =?UTF-8?q?=E4=B8=80=E7=9B=B4=E5=8A=A0=E8=BD=BD=E9=97=AE=E9=A2=98=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/newMap/display/terminals/diagramEdit/index.vue | 1 + src/views/newMap/display/terminals/dispatcherLoger/index.vue | 1 + src/views/newMap/display/terminals/displayBaSiDi/index.vue | 3 +++ src/views/newMap/display/terminals/terminalMenu.vue | 1 - 4 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/views/newMap/display/terminals/diagramEdit/index.vue b/src/views/newMap/display/terminals/diagramEdit/index.vue index c58c8fff3..1efcdb934 100644 --- a/src/views/newMap/display/terminals/diagramEdit/index.vue +++ b/src/views/newMap/display/terminals/diagramEdit/index.vue @@ -128,6 +128,7 @@ export default { this.loadRunPlanId = this.planId; this.refresh(); } + this.$store.dispatch('app/animationsClose'); }, beforeDestroy() { }, diff --git a/src/views/newMap/display/terminals/dispatcherLoger/index.vue b/src/views/newMap/display/terminals/dispatcherLoger/index.vue index 65fcfc714..e14ec3591 100644 --- a/src/views/newMap/display/terminals/dispatcherLoger/index.vue +++ b/src/views/newMap/display/terminals/dispatcherLoger/index.vue @@ -255,6 +255,7 @@ export default { this.loadFilterSectionMap(); this.mapStationDirectionData = Object.values(this.$store.state.map.mapStationDirectionData); this.loadData(); + this.$store.dispatch('app/animationsClose'); }, beforeDestroy() { this.rpMenuPopShow = false; diff --git a/src/views/newMap/display/terminals/displayBaSiDi/index.vue b/src/views/newMap/display/terminals/displayBaSiDi/index.vue index 29d60fddb..bc5c430a3 100644 --- a/src/views/newMap/display/terminals/displayBaSiDi/index.vue +++ b/src/views/newMap/display/terminals/displayBaSiDi/index.vue @@ -67,6 +67,9 @@ export default { return this.$store.state.training.started; } }, + mounted() { + this.$store.dispatch('app/animationsClose'); + }, beforeDestroy() { this.clearSubscribe(); this.$store.dispatch('training/reset'); diff --git a/src/views/newMap/display/terminals/terminalMenu.vue b/src/views/newMap/display/terminals/terminalMenu.vue index 6be30ac50..8f5f8701f 100644 --- a/src/views/newMap/display/terminals/terminalMenu.vue +++ b/src/views/newMap/display/terminals/terminalMenu.vue @@ -177,7 +177,6 @@ export default { if (this.$route.query.lineCode === '14') { const terminal = this.findTerminalFromMap('baSiDi'); this.changePictureShow(terminal); - this.$store.dispatch('app/animationsClose'); } else if (this.$route.query.simType === 'RAILWAY') { const terminal = this.findTerminalFromMap('dispatcherManage'); this.changePictureShow(terminal);