From 493d0e93f6ec8eee5540140d9f56eb0b945b976e Mon Sep 17 00:00:00 2001
From: mk <2403457699@qq.com>
Date: Thu, 21 Mar 2024 19:57:13 +0800
Subject: [PATCH] =?UTF-8?q?=E5=B1=85=E6=B0=91=E5=88=97=E8=A1=A8=E5=B7=A6?=
 =?UTF-8?q?=E4=BE=A7=E7=BB=84=E7=BB=87=E6=A0=91=E6=8A=A5=E9=94=99,?=
 =?UTF-8?q?=E5=B1=85=E6=B0=91=E8=AF=A6=E6=83=85=E5=B7=A6=E4=BE=A7=E5=BE=97?=
 =?UTF-8?q?=E5=88=86=E9=A1=B9=E6=98=BE=E7=A4=BA?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
 src/views/modules/base/resi.vue             | 21 +++------------------
 src/views/modules/portrayal/jumin/index.vue | 18 +++++-------------
 2 files changed, 8 insertions(+), 31 deletions(-)
diff --git a/src/views/modules/base/resi.vue b/src/views/modules/base/resi.vue
index 2c7b31816..f33746b63 100644
--- a/src/views/modules/base/resi.vue
+++ b/src/views/modules/base/resi.vue
@@ -1208,12 +1208,7 @@ export default {
         this.autoOpenArr.push(data.id);
         if (!isRefresh && data) {
           this.selTreeObj = data;
-          if (!this.selTreeObj.latitude) {
-            this.selTreeObj.latitude = this.centerPoint[0];
-          }
-          if (!this.selTreeObj.longitude) {
-            this.selTreeObj.longitude = this.centerPoint[1];
-          }
+         
         }
       } else {
         this.$message.error(msg);
@@ -1225,7 +1220,7 @@ export default {
     },
     async handleNodeClick(obj) {
       this.selObj = JSON.parse(JSON.stringify(obj));
-      this.getTreeObj(obj);
+      this.selTreeObj = obj;
       await nextTick(1000);
       this.searchAgencyObj = {};
       if (obj.level === "building") {
@@ -1242,17 +1237,7 @@ export default {
         this.handleSearchFrom("type");
       }
     },
-    //解析树数据
-    getTreeObj(obj) {
-      if (!obj.latitude) {
-        obj.latitude = this.centerPoint[0];
-      }
-
-      if (!obj.longitude) {
-        obj.longitude = this.centerPoint[1];
-      }
-      this.selTreeObj = obj;
-    },
+   
   },
   watch: {
     $route: {
diff --git a/src/views/modules/portrayal/jumin/index.vue b/src/views/modules/portrayal/jumin/index.vue
index fa67e4cf7..5fcba222e 100644
--- a/src/views/modules/portrayal/jumin/index.vue
+++ b/src/views/modules/portrayal/jumin/index.vue
@@ -21,7 +21,7 @@
             :class="{ item: true, active: index == active }"
             v-for="(item, index) in menuList"
             @click="handelCLickMenu(item.id, index)"
-            v-show="item.filledQty != 0"
+            v-show="item.filledQty != 0 || item.id == 'ext'"
           >
             {{ item.name }}
-                item.filledQty > 0 &&
-                item.name !== "基本信息" &&
-                item.name !== "拓展信息"
+                item.filledQty > 0 ||(
+                item.name == "拓展信息" ||
+                item.name == "基本信息")
             );
             this.expandList = this.originalExpandList.filter((itemA) => {
               return arr.some((itemB) => itemB.name === itemA.title);
@@ -1164,15 +1164,7 @@ export default {
               })
             );
 
-            // this.expandList.forEach((item) => {
-            //   const rows = [];
-            //   const chunkSize = 3;
-            //   for (let i = 0; i < item.children.length; i += chunkSize) {
-            //     rows.push(item.children.slice(i, i + chunkSize));
-            //   }
-            //   item.rows = rows;
-            // });
-            console.log(this.expandList);
+            
             this.menuList.push(
               {
                 name: "业务记录",