From 7e02fa4f1c02860567033c6014639ad94981beca Mon Sep 17 00:00:00 2001 From: fan <18706759286@163.com> Date: Mon, 13 Sep 2021 18:14:29 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=8C=E8=B0=83=E6=98=BE=E7=A4=BA=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E8=87=AA=E5=8A=A8=E7=94=9F=E6=88=90=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E8=BD=A6=E7=AB=99=20&&=20=E4=BF=A1=E5=8F=B7=E6=9C=BArecover?= =?UTF-8?q?=E9=9A=90=E8=97=8F=E7=AE=AD=E5=A4=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/jmapNew/shape/graph/Signal/index.js | 12 ++++++------ .../mapoperate/displayConfig/centerConfig.vue | 5 +++++ 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/src/jmapNew/shape/graph/Signal/index.js b/src/jmapNew/shape/graph/Signal/index.js index b302d0836..40ca15857 100644 --- a/src/jmapNew/shape/graph/Signal/index.js +++ b/src/jmapNew/shape/graph/Signal/index.js @@ -903,7 +903,7 @@ class Signal extends Group { this.setAutoClose(); this.sigAuto && this.sigAuto.animationRecover(); } - this.sigAuto && this.sigAuto.show(); + this.sigAuto && this.sigAuto.hide(); this.sigRoute && this.sigRoute.hide(); this.sigPost && this.sigPost.show(); this.sigPost && this.sigPost.setColor(this.style.Signal.post.standardColor); // 设置底座默认颜色 @@ -1200,11 +1200,11 @@ class Signal extends Group { // item.hide(); // }); // } - if (showMode === '05') { - this.eachChild(item => { item.show(); }); - } else { - this.setState(this.model); - } + if (showMode === '05') { + this.eachChild(item => { item.show(); }); + } else { + this.setState(this.model); + } } setLowButtonShow() { diff --git a/src/views/newMap/newMapdraft/mapoperate/displayConfig/centerConfig.vue b/src/views/newMap/newMapdraft/mapoperate/displayConfig/centerConfig.vue index 12a892c63..632907d47 100644 --- a/src/views/newMap/newMapdraft/mapoperate/displayConfig/centerConfig.vue +++ b/src/views/newMap/newMapdraft/mapoperate/displayConfig/centerConfig.vue @@ -161,6 +161,11 @@ export default { this.addModel.elementList.push(item.code); } }); + this.stationList.forEach(item => { + if (item.code !== station.code) { + this.addModel.elementList.push(item.code); + } + }); this.psdList.forEach(item => { const stand = this.$store.getters['map/getDeviceByCode'](item.standCode); if (stand.stationCode !== station.code) {