diff --git a/src/jmapNew/map.js b/src/jmapNew/map.js index 2852bc422..80820198d 100644 --- a/src/jmapNew/map.js +++ b/src/jmapNew/map.js @@ -40,6 +40,7 @@ class Jlmap { // 显示集中站 this.stationCode = ''; + this.isUpdateShowTrainList = false; } // 初始化属性有鼠标事件 缩放等 @@ -421,8 +422,9 @@ class Jlmap { } } else { if (elem.deviceType === 'TRAIN') { - store.dispatch('map/updateTrainState', elem); - store.dispatch('map/setActiveTrainList', elem); + this.isUpdateShowTrainList = true; + store.dispatch('map/updateTrainList', elem); + // store.dispatch('map/updateTrainState', elem); } else if (elem.deviceType === 'STAND') { store.dispatch('map/updateStationStand', elem); } @@ -436,6 +438,10 @@ class Jlmap { } } }); + if (this.isUpdateShowTrainList) { + store.dispatch('map/setActiveTrainList'); + this.isUpdateShowTrainList = false; + } this.handleRouteSignalStatus(signalDeviceList); // 状态后处理 this.postHandle(list || []); diff --git a/src/jmapNew/theme/beijing_01/menus/dialog/standRunLevel.vue b/src/jmapNew/theme/beijing_01/menus/dialog/standRunLevel.vue deleted file mode 100644 index 0c321af96..000000000 --- a/src/jmapNew/theme/beijing_01/menus/dialog/standRunLevel.vue +++ /dev/null @@ -1,344 +0,0 @@ - - - diff --git a/src/jmapNew/theme/beijing_01/menus/menuStationStand.vue b/src/jmapNew/theme/beijing_01/menus/menuStationStand.vue index da4655da8..fff7e6d53 100644 --- a/src/jmapNew/theme/beijing_01/menus/menuStationStand.vue +++ b/src/jmapNew/theme/beijing_01/menus/menuStationStand.vue @@ -1,11 +1,11 @@