diff --git a/src/apps/AppBuilding/components/searchMap.vue b/src/apps/AppBuilding/components/searchMap.vue
index 02e8fad9..1b24e1a9 100644
--- a/src/apps/AppBuilding/components/searchMap.vue
+++ b/src/apps/AppBuilding/components/searchMap.vue
@@ -47,11 +47,11 @@
所属网格
- {{ detailInfo.gird.girdName || '' }}
+ {{ detailInfo.gird.girdName || '' }}
网格管理员
- {{ detailInfo.gird.girdMemberNames || '' }}
+ {{ detailInfo.gird.girdMemberNames || '' }}
楼栋长
@@ -295,17 +295,17 @@ export default {
if (res.code == 0 && res.data.length) {
this.show = true
this.buildList = res.data
- const points = res.data.map(item => {
- return {
- lnglat: [item.lng, item.lat],
- id: item.id,
- corpId: item.corpId,
- areaName: item.areaName,
- buildingNumber: item.name || item.buildingNumber,
- communityName: item.name || item.communityName,
- }
- })
- this.getMarkerCluster(points)
+ // const points = res.data.map(item => {
+ // return {
+ // lnglat: [item.lng, item.lat],
+ // id: item.id,
+ // corpId: item.corpId,
+ // areaName: item.areaName,
+ // buildingNumber: item.residentName || item.buildingNumber,
+ // communityName: item.residentName || item.communityName,
+ // }
+ // })
+ // this.getMarkerCluster(points)
} else {
this.show = false
this.$u.toast('未搜索到结果,请换个关键字重试!')
@@ -314,10 +314,11 @@ export default {
},
getBuildingInfo(item) {
this.$http.post(`/app/appcommunityhouseinfo/queryDetailByIdWithBuilding?buildId=${item.buildingId}&houseId=${item.id}`).then(res => {
- if (res?.data) {
+ if (res.code == 0) {
+ console.log(res)
this.show = false
- this.showPop = true
this.detailInfo = res.data
+ this.showPop = true
}
})
},