From abd285e6d013128aa57c9e30e851b2aa76d60ec5 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Tue, 10 Feb 2026 16:45:17 +0800
Subject: [PATCH] feat:独栋显示调整
---
src/views/house/index.vue | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/src/views/house/index.vue b/src/views/house/index.vue
index 133d123..7ff299c 100644
--- a/src/views/house/index.vue
+++ b/src/views/house/index.vue
@@ -1967,10 +1967,15 @@
},
// 三维接口查询楼栋户室
- getHouses3DData (build_std_addr_id, adcode, aoiArr) {
+ getHouses3DData (build_std_addr_id, adcode, aoiArr, params) {
this.unitChoosed3DList = []
getHouses(build_std_addr_id, adcode).then((res) => {
let houseData = res.data.data.properties
+
+ if (houseData?.nwwqd?.features.length === 0) {
+ this.residentDetailsClick(params)
+ return
+ }
if (res.data.data.properties?.hwtxa?.features) {
this.$EventBus.$emit("showThreeDimensions", {
@@ -2905,7 +2910,7 @@
this.getHouses3DData(res.data.result[0].std_addr_id.split("|")[0], "361102", [
[e.wgs84Position.lng, e.wgs84Position.lat],
e.wgs84Position.alt,
- ])
+ ], res.data.result[0])
}
}
})
--
Gitblit v1.9.3