From 3e697353c6fea9cb80ec809d02594939f892e77e Mon Sep 17 00:00:00 2001
From: Lou <luzhiping@qqyjz.com>
Date: Thu, 14 Mar 2024 18:32:56 +0800
Subject: [PATCH] 更新

---
 subPackage/workbench/views/editExamine.vue |   32 ++++++++++++++++----------------
 1 files changed, 16 insertions(+), 16 deletions(-)

diff --git a/subPackage/workbench/views/editExamine.vue b/subPackage/workbench/views/editExamine.vue
index f9a1b72..d0c3dda 100644
--- a/subPackage/workbench/views/editExamine.vue
+++ b/subPackage/workbench/views/editExamine.vue
@@ -91,7 +91,7 @@
 				</view>
 
 
-				<view class="item bgc-ff mt-20" v-if="false">
+				<view class="item bgc-ff mt-20">
 
 					<view class="box-title">
 						<box-title title="房东信息"></box-title>
@@ -206,9 +206,6 @@
 	import {
 		minioBaseUrl
 	} from '@/common/setting'
-
-
-
 	import {
 		getPlaceList
 	} from '@/api/place/place.js'
@@ -328,31 +325,20 @@
 						})
 					}
 				})
-
-
-
 			},
-
 
 			checkboxChange(n) {
 				console.log('change', n);
 				let list = n;
 				let ids = [];
 				let names = []
-
 				for (let i = 0, ii = list.length; i < ii; i++) {
-
 					ids.push(this.placeList[list[i]].addressCode)
 					names.push(this.placeList[list[i]].addressName)
 				}
 
-
-
 				this.$set(this.form, "houseCodeBinds", ids.join(","))
 				this.addressNames = names;
-
-
-
 			},
 
 			getPlace(location) {
@@ -363,7 +349,6 @@
 					this.placeList = res.data;
 				})
 			},
-
 
 			getLocation() {
 				uni.chooseLocation({
@@ -380,6 +365,7 @@
 					}
 				})
 			},
+
 			getCsDetails() {
 				getPlaceDetail({
 					placeId: this.curSelectSite.id
@@ -438,6 +424,20 @@
 					// const componetns = this.$refs.formItemRef || []
 					placePractitioner.forEach((item, index) => {
 						this.$nextTick(() => {
+							if (item.ethnicity) {
+								let obj = this.$getIndex(this.$refs.formItemRef[index]
+									.nationTypeList, item.ethnicity, "value", "name")
+								this.$refs.formItemRef[index].nationValue = obj.name;
+								this.$refs.formItemRef[index].nationTypeIndex = obj.index;
+							}
+
+							if (item.gender) {
+								let obj = this.$getIndex(this.$refs.formItemRef[index]
+									.gender, item.gender, "value", "name")
+								this.$refs.formItemRef[index].genderValue = obj.name;
+								this.$refs.formItemRef[index].genderIndex = obj.index;
+							}
+
 							this.$refs.formItemRef[index].form = item
 						})
 					})

--
Gitblit v1.9.3