From 9dce23a1e1152f8719495eb0b07cc348034fc7e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=AE=B8=E5=AE=8F=E6=9D=B0?= <1943105267@qq.com> Date: Fri, 8 Nov 2024 19:13:54 +0800 Subject: [PATCH] =?UTF-8?q?=E6=88=BF=E5=B1=8B=E4=BF=A1=E6=81=AF=E9=87=87?= =?UTF-8?q?=E9=9B=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 7 +++ pages/house/house.vue | 13 ++++- pages/house/houseGather.vue | 110 ++++++++++++++++++++++++++++++++++++ pages/work/index.vue | 5 +- 4 files changed, 133 insertions(+), 2 deletions(-) create mode 100644 pages/house/houseGather.vue 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'; }