diff --git a/pages.json b/pages.json index 82e3dbb..385b7c1 100644 --- a/pages.json +++ b/pages.json @@ -98,6 +98,13 @@ { "navigationBarTitleText" : "" } + }, + { + "path" : "pages/house/houseGather", + "style" : + { + "navigationBarTitleText" : "" + } } ], "tabBar": { diff --git a/pages/house/house.vue b/pages/house/house.vue index ef8a4fd..60e2f65 100644 --- a/pages/house/house.vue +++ b/pages/house/house.vue @@ -2,7 +2,7 @@ 住户信息 - 房屋信息采集 + 房屋信息采集 @@ -115,6 +115,17 @@ this.getPersonList() }, methods: { + //房屋信息采集 + handlerGather() { + this.$u.route({ + url: 'pages/house/houseGather', + params: { + buildingId: this.houseInfo.buildingId, + houseId: this.houseInfo.id, + deptId: this.houseInfo.deptId, + } + }) + }, //详情页 handlerInfo(id) { this.$u.route({ diff --git a/pages/house/houseGather.vue b/pages/house/houseGather.vue new file mode 100644 index 0000000..857f38d --- /dev/null +++ b/pages/house/houseGather.vue @@ -0,0 +1,110 @@ + + + + + \ No newline at end of file diff --git a/pages/work/index.vue b/pages/work/index.vue index 50e6b6a..06620f0 100644 --- a/pages/work/index.vue +++ b/pages/work/index.vue @@ -84,8 +84,11 @@ const res = await getWarningList(this.queryParams) let list = handleColor(res.rows) this.buildingList = [...this.buildingList, ...list] - console.log(this.buildingList, 'sss') this.total = res.total + uni.setTabBarBadge({ + index: 1, + text: this.total.toString() + }) this.queryParams.pageNum = this.queryParams.pageNum + 1 this.status = 'loadmore'; }