diff --git a/src/views/newMap/display/terminals/index.vue b/src/views/newMap/display/terminals/index.vue
index cbedff1ef..b3bc8595e 100644
--- a/src/views/newMap/display/terminals/index.vue
+++ b/src/views/newMap/display/terminals/index.vue
@@ -6,7 +6,7 @@
-
+
@@ -126,6 +126,7 @@ export default {
}
},
pictureChange(val) {
+ console.log(val, '--------------0');
this.picture = val;
},
popupTerminalShow(val) {
diff --git a/src/views/newMap/display/terminals/trafficTerminalWork.vue b/src/views/newMap/display/terminals/trafficTerminalWork.vue
index a97e91e8d..6b4c50472 100644
--- a/src/views/newMap/display/terminals/trafficTerminalWork.vue
+++ b/src/views/newMap/display/terminals/trafficTerminalWork.vue
@@ -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);