From 6509ce4d7796dd5ec7361fcca96a01b2f54eff14 Mon Sep 17 00:00:00 2001
From: shj <1790240199@qq.com>
Date: 星期三, 10 八月 2022 17:50:39 +0800
Subject: [PATCH] 对接

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

diff --git a/src/components/DailogSearchUser/index.vue b/src/components/DailogSearchUser/index.vue
index e7f8eb1..fb97d97 100644
--- a/src/components/DailogSearchUser/index.vue
+++ b/src/components/DailogSearchUser/index.vue
@@ -13,15 +13,15 @@
 			<el-col :span="14" style="padding: 20px">
 				<el-form ref="ruleFormRef" :model="ruleForm" status-icon>
 					<el-row>
-						<el-col :span="10" :offset="1">
+						<!-- <el-col :span="10" :offset="1">
 							<el-form-item size="default">
 								<el-input v-model="ruleForm.pass" placeholder="登录名" />
 							</el-form-item>
-						</el-col>
+						</el-col> -->
 						<el-col :span="8" :offset="1">
 							<el-form-item>
-								<el-button size="default" type="primary" >查询</el-button>
-								<el-button size="default">重置</el-button>
+								<!-- <el-button size="default" type="primary" >查询</el-button> -->
+								<el-button size="default" @click="clear">清除选择</el-button>
 							</el-form-item>
 						</el-col>
 					</el-row>
@@ -164,7 +164,7 @@
 		};
 		const handleSelectionChange = (val:any) => {
              dynamicTags.value=val
-}
+        }
 		const types=ref()
 		// 开启弹窗
 		const dialogVisible = ref(false);
@@ -189,8 +189,14 @@
 			}
 
 			dialogVisible.value = false;
+			clear()
 		};
+		const clear=()=>{
+           dynamicTags.value=[]
+		   radio1.value=""
+		}
 		return {
+			clear,
 			total,
 			types,
 			filterText,

--
Gitblit v1.9.2