From 6c2aa8e5a465c712d7855b77bc0b83bb4aa53231 Mon Sep 17 00:00:00 2001
From: Lou <luzhiping@qqyjz.com>
Date: Fri, 12 Jan 2024 17:42:42 +0800
Subject: [PATCH] Merge branch 'master' of http://s16s652780.51mypc.cn:49896/r/jczz_web
---
src/views/publicSecurity/components/userHouseList.vue | 11 +++++++++--
1 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/src/views/publicSecurity/components/userHouseList.vue b/src/views/publicSecurity/components/userHouseList.vue
index 60c580c..25a426f 100644
--- a/src/views/publicSecurity/components/userHouseList.vue
+++ b/src/views/publicSecurity/components/userHouseList.vue
@@ -839,8 +839,14 @@
mounted() {},
methods: {
init(row) {
- console.log(JSON.stringify(row))
- this.query.regionCode = row.communityCode
+ if (row.regionCode) {
+ this.query.regionCode = row.regionCode
+ }
+ if (row.communityCode) {
+ this.query.regionCode = row.communityCode
+ }
+ this.query.labelId = row.labelId
+ this.query.parentId = 103
this.onLoad(this.page, this.query)
},
onsubmit() {
@@ -864,6 +870,7 @@
this.labelForm.houseCode = this.currentRow.houseCode
this.labelForm.householdId = this.currentRow.id
this.labelForm.labelId = this.currentLabel.id
+ this.labelForm.userId = this.currentRow.associatedUserId
this.labelForm.lableType = 1
saveOrUpdateHouseholdLabel(this.labelForm).then(res => {
--
Gitblit v1.9.3