From 2e52dcb4fb8766d7d9c0034b7bba3e1d02e24906 Mon Sep 17 00:00:00 2001
From: zhaojiale <631455805@qq.com>
Date: 星期四, 04 八月 2022 10:43:29 +0800
Subject: [PATCH] 事故报告除图片外完成

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

diff --git a/src/components/DailogSearchUser/index.vue b/src/components/DailogSearchUser/index.vue
index dd4eb9f..1632e6a 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) => {
@@ -150,7 +149,7 @@
 		};
 		// 右方点击添加后显示标签
 		const dynamicTags = ref(['']);
-		const handleClose = (tag: string) => {
+		const handleClose = (tag: any) => {
 			dynamicTags.value.splice(dynamicTags.value.indexOf(tag), 1);
 			radio1.value = '';
 		};
@@ -162,6 +161,7 @@
 		// 开启弹窗
 		const dialogVisible = ref(false);
 		const openDailog = (type:any) => {
+			console.log(type)
 			types.value=type
 			dialogVisible.value = true;
 		};
@@ -175,8 +175,7 @@
 			}
 		};
 		const submitForm = () => {
-			let obj = JSON.parse(JSON.stringify(dynamicTags.value));
-			emit('SearchUser', obj[0],types.value);
+			emit('SearchUser', dynamicTags.value);
 			dialogVisible.value = false;
 		};
 		return {

--
Gitblit v1.9.2