diff --git a/src/saas/AppBuilding/components/searchMap.vue b/src/saas/AppBuilding/components/searchMap.vue
index 01749e7a..d4346c59 100644
--- a/src/saas/AppBuilding/components/searchMap.vue
+++ b/src/saas/AppBuilding/components/searchMap.vue
@@ -47,13 +47,13 @@
所属网格
- {{ detailInfo.gird.girdName || '' }}
+ {{ detailInfo.build.appGirdInfo.girdName || '' }}
@@ -337,12 +337,15 @@ export default {
getBuildingInfo(item) {
this.$http.post(`/app/appcommunityhouseinfo/queryDetailByIdWithBuilding?buildId=${item.buildingId}&houseId=${item.id}`).then(res => {
if (res?.data) {
+
+ this.detailInfo = {...res.data}
+
+ console.log(this.detailInfo)
+ if(this.detailInfo.build.appGirdInfo.girdMemberNames && this.detailInfo.build.appGirdInfo.girdMemberNames) {
+ this.detailInfo.build.appGirdInfo.girdMemberNames = this.detailInfo.build.appGirdInfo.girdMemberNames.split(',')
+ }
this.show = false
this.showPop = true
- this.detailInfo = {...res.data}
- if(this.detailInfo.gird && this.detailInfo.gird.girdMemberNames) {
- this.detailInfo.gird.girdMemberNames = this.detailInfo.gird.girdMemberNames.split(',')
- }
}
})
},
diff --git a/src/saas/AppHealthUp/OtherStatistics.vue b/src/saas/AppHealthUp/OtherStatistics.vue
index a9683c81..25803e69 100644
--- a/src/saas/AppHealthUp/OtherStatistics.vue
+++ b/src/saas/AppHealthUp/OtherStatistics.vue
@@ -113,7 +113,11 @@ export default {
},
getStatis() {
this.dayList = []
- this.$http.post(`/app/appepidemichealthreport/statistic?userId=${this.userId}`).then((res) => {
+ this.$http.post(`/app/appepidemichealthreport/statistic`, this.userId, {
+ headers: {
+ 'Content-Type': 'text/plain'
+ }
+ }).then((res) => {
if (res.code == 0) {
Object.keys(res.data).forEach((key) => {
var info = {