From ef377216a7f52842ff6aaba12fdc678cb07ec201 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=AE=B8=E5=AE=8F=E6=9D=B0?= <1943105267@qq.com> Date: Tue, 29 Oct 2024 15:25:05 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8D=95=E5=87=BB=E5=BA=95=E9=83=A8=E7=AD=9B?= =?UTF-8?q?=E9=80=89=E5=88=97=E8=A1=A8=E8=AE=B0=E5=BD=95=E6=9F=A5=E7=9C=8B?= =?UTF-8?q?building/House?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/NavigationBar/index.vue | 14 ++++++++++++-- src/components/NavigationBar/peopleCentre.vue | 15 ++++++++++++++- src/components/NavigationBar/warningCentre.vue | 15 ++++++++++++++- src/views/components/xiaoqu/bottomList.vue | 2 -- 4 files changed, 40 insertions(+), 6 deletions(-) diff --git a/src/components/NavigationBar/index.vue b/src/components/NavigationBar/index.vue index 04228df..43d1b05 100644 --- a/src/components/NavigationBar/index.vue +++ b/src/components/NavigationBar/index.vue @@ -44,8 +44,8 @@ >
{{ title }}
- - + +
@@ -112,6 +112,16 @@ export default { handleBack() { this.$router.back(); }, + lookBuild(item) { + this.open = false; + this.$store.commit("SET_CLICK_RESULT", { + id: item.houseId, + buildingId: item.buildingId, + name: item.housename, + keyId: item.houseId, + }); + this.$store.commit("CHANGE_QUERY", { buildingId: item.buildingId }); + }, /** * 是个中心 */ diff --git a/src/components/NavigationBar/peopleCentre.vue b/src/components/NavigationBar/peopleCentre.vue index f56cf3a..edf082a 100644 --- a/src/components/NavigationBar/peopleCentre.vue +++ b/src/components/NavigationBar/peopleCentre.vue @@ -241,7 +241,16 @@ >
住户名称
-
{{ infoData.housename }}
+
+ {{ infoData.housename }} + 查看详情 +
社保缴纳单位
{{ "/" }}
实际工作单位
@@ -357,6 +366,10 @@ export default { this.getDeptList(); }, methods: { + handlerClick() { + this.openInfo = false; + this.$emit("lookBuild", this.infoData); + }, /** * 详情 */ diff --git a/src/components/NavigationBar/warningCentre.vue b/src/components/NavigationBar/warningCentre.vue index 9b5d95f..7070bd8 100644 --- a/src/components/NavigationBar/warningCentre.vue +++ b/src/components/NavigationBar/warningCentre.vue @@ -244,7 +244,16 @@ >
住户名称
-
{{ infoData.housename }}
+
+ {{ infoData.housename }} + 查看详情 +
社保缴纳单位
{{ "/" }}
实际工作单位
@@ -352,6 +361,10 @@ export default { this.getDeptList(); }, methods: { + handlerClick() { + this.openInfo = false; + this.$emit("lookBuild", this.infoData); + }, /** * 详情 */ diff --git a/src/views/components/xiaoqu/bottomList.vue b/src/views/components/xiaoqu/bottomList.vue index 1dc089c..b82d74e 100644 --- a/src/views/components/xiaoqu/bottomList.vue +++ b/src/views/components/xiaoqu/bottomList.vue @@ -154,7 +154,6 @@ export default { handleChange(newValue) { this.reset(); this.queryParams = { ...this.queryParams, ...this.queryParamsXiaoqu }; - this.queryParams.buildingId = undefined; // this.queryParams.deptId = undefined; this.disabled = false; @@ -175,7 +174,6 @@ export default { }, async getList() { this.loading = true; - let res = await inputSearch(this.queryParams); let handleColor = this.handleColor(res.data.xinxilist.rows); this.list = [...this.list, ...handleColor];