行调显示配置自动生成添加车站 && 信号机recover隐藏箭头

This commit is contained in:
fan 2021-09-13 18:14:29 +08:00
parent c0831fd403
commit 7e02fa4f1c
2 changed files with 11 additions and 6 deletions

View File

@ -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() {

View File

@ -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) {