客户端代码调整
This commit is contained in:
parent
63962a1f7e
commit
2bf3ce2e2a
@ -6,7 +6,7 @@
|
||||
<jl3d-drive v-else-if="picture === 'drivingPlan'" ref="jl3dDrive" />
|
||||
<jl3d-device v-else-if="picture === 'jl3dModle'" ref="jl3dModle" />
|
||||
<jl3d-passflow v-else-if="picture === 'cctvView'" ref="cctvView" />
|
||||
<traffic-terminal-work v-else-if="picture === 'trafficTerminalWork'" ref="trafficTerminalWork" />
|
||||
<traffic-terminal-work v-else-if="picture === 'trafficTerminal'" ref="trafficTerminalWork" :centralized-station-map="centralizedStationMap" />
|
||||
<ibp-plate v-else-if="picture === 'ibp'" ref="ibpPlate" />
|
||||
<dispatch-cmd v-if="datie" ref="dispatchCmd" @close="close" />
|
||||
<dispatcher-loger v-if="datie" ref="dispatcherLoger" @close="close" />
|
||||
@ -126,6 +126,7 @@ export default {
|
||||
}
|
||||
},
|
||||
pictureChange(val) {
|
||||
console.log(val, '--------------0');
|
||||
this.picture = val;
|
||||
},
|
||||
popupTerminalShow(val) {
|
||||
|
@ -17,7 +17,7 @@ export default {
|
||||
centralizedStationMap:{
|
||||
type: Object,
|
||||
default() {
|
||||
return [];
|
||||
return {};
|
||||
}
|
||||
}
|
||||
},
|
||||
@ -53,14 +53,17 @@ export default {
|
||||
}
|
||||
},
|
||||
'$store.state.map.initJlmapLoadedCount': function (val) {
|
||||
this.handleLocalWorkData();
|
||||
this.handleTrafficTerminalWorkData();
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
console.log('trafficTerminalWork');
|
||||
},
|
||||
methods: {
|
||||
setSelected(val) {
|
||||
this.selected = val;
|
||||
},
|
||||
handleLocalWorkData() {
|
||||
handleTrafficTerminalWorkData() {
|
||||
const logicData = {routeData:this.$store.state.map.routeData, autoReentryData: this.$store.state.map.autoReentryData};
|
||||
const repaint = this.$store.state.map.initJlmapLoadedCount === 1;
|
||||
this.$jlmap.setMap(this.mapData, this.mapDevice, logicData, repaint);
|
||||
|
Loading…
Reference in New Issue
Block a user