From fb8db39ccdca6ca638b3e133d186cb3fe6a558bc Mon Sep 17 00:00:00 2001
From: Lou <luzhiping@qqyjz.com>
Date: Mon, 04 Mar 2024 17:43:08 +0800
Subject: [PATCH] 更新

---
 subPackage/house/roomControl/index.vue |   28 +++++++++++++++++++++++++++-
 1 files changed, 27 insertions(+), 1 deletions(-)

diff --git a/subPackage/house/roomControl/index.vue b/subPackage/house/roomControl/index.vue
index 232fa5e..d295c49 100644
--- a/subPackage/house/roomControl/index.vue
+++ b/subPackage/house/roomControl/index.vue
@@ -38,6 +38,18 @@
 							@delete="deletePic" uploadIcon="/static/icon/upload.png">
 						</u-upload>
 					</view>
+
+
+					<view class="pic">
+						<newBoxTitle title="房产证照片"></newBoxTitle>
+						<u-upload :fileList="propertyCertificateImg" :previewFullImage="uploadConfig.previewFullImage"
+							:accept="uploadConfig.acceptImg" :multiple="uploadConfig.multiple"
+							:maxCount="uploadConfig.maxCount" :capture="uploadConfig.capture"
+							@afterRead="afterReadImgs($event,'propertyCertificateImg')"
+							@delete="deletePics($event,'propertyCertificateImg')" uploadIcon="/static/icon/upload.png">
+						</u-upload>
+					</view>
+
 					<view class=" flex label-btn-box b-c-w" v-if="roleType == 2">
 						<newBoxTitle title="房屋标签"></newBoxTitle>
 						<view class="list">
@@ -199,7 +211,7 @@
 				roleType: 1,
 				showSelectDate: false,
 				serveTime: Number(new Date()),
-
+				propertyCertificateImg: []
 			}
 		},
 		created() {
@@ -278,6 +290,10 @@
 						})
 					}
 
+					this.propertyCertificateImg = this.$setImageUrl(res.data.propertyCertificateImg, 2)
+
+
+
 					if (userHouseLabelVOList.length > 0) {
 						that.labelBtnList.forEach(e => {
 							userHouseLabelVOList.forEach(f => {
@@ -316,6 +332,16 @@
 					})
 					this.form.imageUrls = urls.join(",")
 				}
+
+				if (this.propertyCertificateImg.length > 0) {
+					let urls = []
+					this.propertyCertificateImg.forEach(e => {
+						urls.push(e.name)
+					})
+					this.form.propertyCertificateImg = urls.join(",")
+				}
+
+
 				const {
 					code,
 					data

--
Gitblit v1.9.3