From f3fbf923a46e76947ad2f2344e50143f5b5d8705 Mon Sep 17 00:00:00 2001
From: Lou <luzhiping@qqyjz.com>
Date: Fri, 22 Mar 2024 16:27:54 +0800
Subject: [PATCH] 更新

---
 subPackage/reside/edit.vue |   40 +++++++++++++++++++++++++++++++++++++++-
 1 files changed, 39 insertions(+), 1 deletions(-)

diff --git a/subPackage/reside/edit.vue b/subPackage/reside/edit.vue
index 51421e1..cb804c0 100644
--- a/subPackage/reside/edit.vue
+++ b/subPackage/reside/edit.vue
@@ -46,6 +46,12 @@
 		getResideApplyDetail,
 		updateResideApply
 	} from "@/api/reside/reside.js"
+
+	import {
+		getHouseholdDetail,
+		getHouseholdLists
+	} from "@/api/house/household.js"
+
 	export default {
 		data() {
 			return {
@@ -113,6 +119,10 @@
 			} else {
 				this.$set(this.info, "houseCode", uni.getStorageSync("siteInfo").houseCode)
 			}
+			this.getHouseholdList();
+			this.getHouseholdInfo()
+
+
 		},
 
 		onReady() {
@@ -133,9 +143,37 @@
 				})
 			},
 
+			getHouseholdList() {
+				getHouseholdLists({
+					houseCode: this.info.houseCode,
+					relationship: 1
+				}).then(res => {
+					console.log(res)
+				})
+			},
+
+
+
+			//获取业主信息
+			getHouseholdInfo() {
+				getHouseholdDetail({
+					houseCode: this.info.houseCode,
+					associatedUserId: uni.getStorageSync("userInfo").user_id
+				}).then(res => {
+					console.log(res)
+				})
+
+
+			},
+
+
+
+
+
+
 			sumitInfo() {
 				this.$refs.form.validate().then(valid => {
-					if (this.id) {
+					if (this.isEdit) {
 						this.updateInfoRequest();
 					} else {
 						this.addInfoRequst();

--
Gitblit v1.9.3