From d16d10d94fddff86bdfd87113e7fd2cebe8b7cd7 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Wed, 24 Jan 2024 18:15:06 +0800
Subject: [PATCH] 居民监管样式调整
---
src/views/publicSecurity/components/userHouseList.vue | 13 ++++++++++---
1 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/src/views/publicSecurity/components/userHouseList.vue b/src/views/publicSecurity/components/userHouseList.vue
index 60c580c..778dab7 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.slice(0, 10)
+ }
+ 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 => {
@@ -1119,4 +1126,4 @@
.box .el-scrollbar__wrap {
overflow: scroll;
}
-</style>
\ No newline at end of file
+</style>
--
Gitblit v1.9.3