From f91c24d2b2b513716ffe9f4259a8a343c841bb00 Mon Sep 17 00:00:00 2001
From: 13937891274 <kxc0822>
Date: 星期六, 30 七月 2022 18:10:28 +0800
Subject: [PATCH] 数据对接

---
 src/components/DailogSearchUser/index.vue |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/components/DailogSearchUser/index.vue b/src/components/DailogSearchUser/index.vue
index 8b01c27..7bfe7f2 100644
--- a/src/components/DailogSearchUser/index.vue
+++ b/src/components/DailogSearchUser/index.vue
@@ -119,7 +119,6 @@
 		//左边树形部分点击获取回调
 		const names = ref<any>();
 		const handleNodeClick = (data: Tree) => {
-			console.log(data);
 			goalManagementApi()
 				.getManName(data.depId)
 				.then((res) => {
@@ -158,9 +157,11 @@
 		const radio = (event: any) => {
 			dynamicTags.value[0] = event;
 		};
+		const types=ref()
 		// 开启弹窗
 		const dialogVisible = ref(false);
-		const openDailog = () => {
+		const openDailog = (type:any) => {
+			types.value=type
 			dialogVisible.value = true;
 		};
 		//全屏
@@ -174,10 +175,11 @@
 		};
 		const submitForm = () => {
 			let obj = JSON.parse(JSON.stringify(dynamicTags.value));
-			emit('SearchUser', obj[0]);
+			emit('SearchUser', obj[0],types.value);
 			dialogVisible.value = false;
 		};
 		return {
+			types,
 			filterText,
 			treeRef,
 			filterNode,

--
Gitblit v1.9.2