From e0e5c40ca2cc5ad69fd69c6a372c9774ac88f352 Mon Sep 17 00:00:00 2001
From: shj <1790240199@qq.com>
Date: 星期五, 05 八月 2022 15:07:02 +0800
Subject: [PATCH] 对接

---
 src/views/goalManagement/performanceAppraisal/component/DailogAq.vue |   13 ++++++++++---
 1 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/src/views/goalManagement/performanceAppraisal/component/DailogAq.vue b/src/views/goalManagement/performanceAppraisal/component/DailogAq.vue
index d7f272c..af27844 100644
--- a/src/views/goalManagement/performanceAppraisal/component/DailogAq.vue
+++ b/src/views/goalManagement/performanceAppraisal/component/DailogAq.vue
@@ -65,7 +65,7 @@
 				<el-col :span="11" :offset="2">
 					<el-form-item label="被考核人" size="default" prop="beExaminedPersonName">
 						<el-input v-model="form.beExaminedPersonName">
-							<template #append> <el-button :icon="Search" @click="daiInpt(2)" /></template>
+							<template #append> <el-button :icon="Search" @click="daiInpt(0)" /></template>
 						</el-input>
 					</el-form-item>
 				</el-col>
@@ -280,8 +280,15 @@
 				form.value.examinePersonId = val.uid;
 				form.value.examinePersonName = val.realName;
 			} else if (type == 2) {
-				form.value.beExaminedPersonId = val.uid;
-				form.value.beExaminedPersonName = val.realName;
+				let uid=[]
+				let realName=[]
+				for(let i=0;i<val.length;i++){
+					uid.push(val[i].uid)
+					realName.push(val[i].realName)
+				}
+				form.value.beExaminedPersonId = uid.toString();
+				form.value.beExaminedPersonName =realName.toString();
+				console.log(form.value.beExaminedPersonId,form.value.beExaminedPersonName)
 			}
 		};
 		//全屏

--
Gitblit v1.9.2