From 87edc55a377c3fca459ab48010a9716b0311c4a8 Mon Sep 17 00:00:00 2001
From: Your Name <123456>
Date: 星期一, 15 八月 2022 09:21:54 +0800
Subject: [PATCH] lct

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

diff --git a/src/views/goalManagement/TargetBook/index.vue b/src/views/goalManagement/TargetBook/index.vue
index 870165a..05a5fec 100644
--- a/src/views/goalManagement/TargetBook/index.vue
+++ b/src/views/goalManagement/TargetBook/index.vue
@@ -4,7 +4,7 @@
 			<el-row>
 				<el-col :span="4">
 					<el-form-item size="default">
-						<el-input v-model="ruleForm.searchParams.jobId" placeholder="请选择岗位">
+						<el-input v-model="jobName" placeholder="请选择岗位">
 							<template #append> <el-button :icon="Search" @click="openSearch" /> </template
 						></el-input>
 					</el-form-item>
@@ -61,7 +61,7 @@
 				/>
 			</div>
 			<DailogAdd ref="openAdd" @navAddorUpdata="onAddorUpdata"></DailogAdd>
-			<DailogSearch ref="openUser"></DailogSearch>
+			<DailogSearch ref="openUser"  @backNum="IdNumber"></DailogSearch>
 		</div>
 	</div>
 </template>
@@ -88,6 +88,7 @@
 		// 重置
 		const resetForm = () => {
 			ruleForm.searchParams.jobId = '';
+			jobName.value=""
 			listApi();
 		};
 		const listApi = () => {
@@ -116,6 +117,11 @@
 		const onAddorUpdata = () => {
 			listApi();
 		};
+		const jobName=ref()
+		const IdNumber=(val:any)=>{
+         ruleForm.jobId=val.id
+		 jobName.value=val.date
+		}
 		// 表格
 		const tableData = ref();
 		const currentPage4 = ref();
@@ -222,6 +228,7 @@
 			openUser.value.openDailog();
 		};
 		return {
+			IdNumber,
 			ruleForm,
 			resetForm,
 			listApi,
@@ -278,4 +285,4 @@
 	display: flex;
 	justify-content: right;
 }
-</style>
\ No newline at end of file
+</style>

--
Gitblit v1.9.2