bihuisong 9 月之前
父節點
當前提交
4337eca3d4

+ 1 - 2
zhsq_qk-ui/src/views/fusion/jczl.vue

@@ -3,7 +3,7 @@
     <div class="map">
       <!--      <img src="@/assets/images/sprh-map.png"/>-->
       <supermap ref="supermap" style="height: 100%;width: 100%;position: absolute;z-index: 0;"
-                :yxtSltProps="sltProps" :pageType="pageType"></supermap>
+                :yxtSltProps="sltProps"></supermap>
     </div>
     <!-- 阴影背景 -->
     <div class="bj_left"><img src="@/assets/images/sprhbj-left.png"/></div>
@@ -276,7 +276,6 @@ export default {
       sltProps: null,
       btnOne: true,
       btnTwo: false,
-      pageType: 'jtzl',
       appeal: {}
     }
   },

+ 1 - 2
zhsq_qk-ui/src/views/fusion/jtzl.vue

@@ -2,7 +2,7 @@
   <div style="background-color: #32435A">
     <div class="map">
       <supermap ref="supermap" style="height: 100%;width: 100%;position: absolute;z-index: 0;"
-                :yxtSltProps="sltProps" :pageType="pageType"></supermap>
+                :yxtSltProps="sltProps"></supermap>
     </div>
     <!-- 阴影背景 -->
     <div class="bj_left"><img src="@/assets/images/sprhbj-left.png"/></div>
@@ -200,7 +200,6 @@ export default {
       dropdownVisible: false,
       cameras: [],
       sltProps: null,
-      pageType: "jtzl",
       currentTime: '',
       btnOne: true,
       btnTwo: false,

+ 3 - 3
zhsq_qk-ui/src/views/supermap/supermap.vue

@@ -227,10 +227,10 @@ export default {
     },
     //事件落点相关方法
     init: function (markType, map) {
-      if(this.pageType == "jtzl") {
-        this.selectCameraList()
-      } else if (this.pageType == "aqyj") {
+      if(this.pageType == "aqyj") {
         this.getBuildTypeFourList()
+      } else {
+        this.selectCameraList()
       }
     },
     addMarkers(options, type) {