liutao před 2 měsíci
rodič
revize
d58fbc59aa

+ 9 - 1
web_ui/src/views/industrial-land/AiIndustriaLandDetail.vue

@@ -1169,7 +1169,8 @@ export default {
       }
     },
     //详情页tab切换地图绘制相关清空
-    toggleInfoTab(points) {
+    toggleInfoTab(type,index) {
+      console.log(type,index)
       if (this.markerLayer) {
         this.map.removeLayer(this.markerLayer);
         this.markerLayer = null;
@@ -1193,6 +1194,13 @@ export default {
         this.map.removeLayer(this.cyyqLayer);
         this.cyyqLayer = null;
       }
+      if(type=='jbxx'){
+        //现状分析
+        if(index==1){
+          //this.layers[3].layers.forEach(item=>item.checked=true);
+        }
+
+      }
     },
     addClusterLayer(points) {
       this.nearMarkerList.forEach((ele) => {

+ 2 - 1
web_ui/src/views/industrial-land/ZnxzDetail.vue

@@ -1157,9 +1157,10 @@ export default {
         });
       }
     },
+    // 基本信息选项卡切换
     toggltJbxxIndex(index) {
       this.jbxxIndex = index;
-      this.$emit("toggle");
+      this.$emit("toggle","jbxx",index);
     },
     toggltQytsIndex(index) {
       this.$emit("toggle");