From a831b79d695473619f44c42836c05bef7cef44c2 Mon Sep 17 00:00:00 2001
From: shj <1790240199@qq.com>
Date: 星期四, 11 八月 2022 19:00:24 +0800
Subject: [PATCH] 对接

---
 src/views/goalManagement/IncentiveRecording/index.vue |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/src/views/goalManagement/IncentiveRecording/index.vue b/src/views/goalManagement/IncentiveRecording/index.vue
index e1dd080..a7a3e5b 100644
--- a/src/views/goalManagement/IncentiveRecording/index.vue
+++ b/src/views/goalManagement/IncentiveRecording/index.vue
@@ -4,7 +4,7 @@
 			<el-row>
 				<el-col :span="4">
 					<el-form-item size="default">
-						<el-input v-model="ruleForm.searchParams.personName" placeholder="请选择被奖惩者">
+						<el-input v-model="personName" placeholder="请选择被奖惩者">
 							<template #append>
 								<el-button :icon="Search" @click="openSearch" />
 							</template>
@@ -92,8 +92,10 @@
 			},
 		});
 		// 重置
+		const personName=ref()
 		const resetForm = () => {
 			ruleForm.searchParams.personId = '';
+	        personName.value = '';
 			listApi();
 		};
 		const listApi = () => {
@@ -229,10 +231,11 @@
 		};
 		const userId = (val: any) => {
 			ruleForm.searchParams.personId = val.uid;
-			ruleForm.searchParams.personName = val.realName;
+			personName.value = val.realName;
 		};
 		return {
 			timeDate,
+			personName,
 			ruleForm,
 			userId,
 			resetForm,

--
Gitblit v1.9.2