行调显示配置自动生成添加车站 && 信号机recover隐藏箭头
This commit is contained in:
parent
c0831fd403
commit
7e02fa4f1c
@ -903,7 +903,7 @@ class Signal extends Group {
|
|||||||
this.setAutoClose();
|
this.setAutoClose();
|
||||||
this.sigAuto && this.sigAuto.animationRecover();
|
this.sigAuto && this.sigAuto.animationRecover();
|
||||||
}
|
}
|
||||||
this.sigAuto && this.sigAuto.show();
|
this.sigAuto && this.sigAuto.hide();
|
||||||
this.sigRoute && this.sigRoute.hide();
|
this.sigRoute && this.sigRoute.hide();
|
||||||
this.sigPost && this.sigPost.show();
|
this.sigPost && this.sigPost.show();
|
||||||
this.sigPost && this.sigPost.setColor(this.style.Signal.post.standardColor); // 设置底座默认颜色
|
this.sigPost && this.sigPost.setColor(this.style.Signal.post.standardColor); // 设置底座默认颜色
|
||||||
@ -1200,11 +1200,11 @@ class Signal extends Group {
|
|||||||
// item.hide();
|
// item.hide();
|
||||||
// });
|
// });
|
||||||
// }
|
// }
|
||||||
if (showMode === '05') {
|
if (showMode === '05') {
|
||||||
this.eachChild(item => { item.show(); });
|
this.eachChild(item => { item.show(); });
|
||||||
} else {
|
} else {
|
||||||
this.setState(this.model);
|
this.setState(this.model);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
setLowButtonShow() {
|
setLowButtonShow() {
|
||||||
|
@ -161,6 +161,11 @@ export default {
|
|||||||
this.addModel.elementList.push(item.code);
|
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 => {
|
this.psdList.forEach(item => {
|
||||||
const stand = this.$store.getters['map/getDeviceByCode'](item.standCode);
|
const stand = this.$store.getters['map/getDeviceByCode'](item.standCode);
|
||||||
if (stand.stationCode !== station.code) {
|
if (stand.stationCode !== station.code) {
|
||||||
|
Loading…
Reference in New Issue
Block a user