南京二综合演练行调仿真调整

This commit is contained in:
fan 2021-10-28 16:02:26 +08:00
parent 5be842b664
commit 164386c9a1
3 changed files with 10 additions and 5 deletions

View File

@ -50,9 +50,6 @@ export default class Line2 extends Group {
}
setState(model) {
if (this.model.code === 'Psd94549') {
console.log(this.model.showMode, '77777', store.getters['map/checkDeviceShow'](this._code), '=====');
}
this.recover();
if (this.model.showMode === '05') {
const currentTypeList = this.style.Psd.elemnetType;

View File

@ -176,7 +176,7 @@ export default {
this.initLoadData();
this.initMemberUserInfo(true);
this.$store.dispatch('app/animationsClose');
this.$refs.troDetail.doClose();
this.$refs.troDialog.doClose();
},
methods:{
//

View File

@ -439,11 +439,19 @@ export default {
this.$refs.menuSchema.chiShowStation = deviceCode;
this.showStation = deviceCode;
// this.changePrdType('01');
if (this.lineCode === '14') {
const list = [];
const mapDevice = this.$store.state.map.mapDevice;
this.$jlmap.setMap(this.$store.state.map.map, this.$store.state.map.mapDevice, {routeData:this.$store.state.map.routeData, autoReentryData: this.$store.state.map.autoReentryData});
for (const key in mapDevice) {
list.push(mapDevice[key]);
}
this.$jlmap.updateShowMode(list, '02');
}
this.$jlmap.amendDevice([...this.sectionList, ...this.signalList]);
this.mapViewLoadedOver && this.switchStationMode(deviceCode);
this.jl3dmaintainershow = false;
this.drivingShow = false;
console.log(this.$jlmap, '====', this.selfJmap);
break;
case 'DEPOT_DISPATCHER':
this.$store.dispatch('training/setPrdType', '09');