From 5f5b1c3fb2ac030637e5bfde3ed9d9fd55c81ae0 Mon Sep 17 00:00:00 2001
From: linwe <872216996@qq.com>
Date: Fri, 17 Nov 2023 15:14:41 +0800
Subject: [PATCH] 用户打标签 保存code 和userId

---
 subPackage/house/member/householdLabel.vue |   21 +++++++++++----------
 1 files changed, 11 insertions(+), 10 deletions(-)

diff --git a/subPackage/house/member/householdLabel.vue b/subPackage/house/member/householdLabel.vue
index 5ffe3fb..d4e5a1c 100644
--- a/subPackage/house/member/householdLabel.vue
+++ b/subPackage/house/member/householdLabel.vue
@@ -118,11 +118,11 @@
 		},
 		created() {},
 		mounted() {
-			this.getDoorPlateAddressDetail()
-			this.$nextTick(() => {
-				if (this.labelBtnList.length === 0) {
-					this.getLabelList()
-				}
+			this.getDoorPlateAddressDetail()
+			this.$nextTick(() => {
+				if (this.labelBtnList.length === 0) {
+					this.getLabelList()
+				}
 			})
 		},
 		onLoad(option) {
@@ -130,9 +130,9 @@
 			this.householdInfo = data;
 			this.houseCode = data.houseCode
 			// this.getDoorPlateAddressDetail()
-		},
-		onShow() {
-			this.getLabelList()	
+		},
+		onShow() {
+			this.getLabelList()	
 		},
 		methods: {
 			// 获取房屋详情
@@ -235,7 +235,8 @@
 						labelId: id,
 						remark: this.remark,
 						color,
-						houseCode:this.houseCode
+						houseCode: this.houseCode,
+						userId: this.householdInfo.associatedUserId
 					})
 				}
 				if (res.code !== 200) {
@@ -358,4 +359,4 @@
 			}
 		}
 	}
-</style>
\ No newline at end of file
+</style>

--
Gitblit v1.9.3