From 375b6acbd3a8f9cf51f967b09ecd09eccd1a12f3 Mon Sep 17 00:00:00 2001 From: zhaojiale <631455805@qq.com> Date: 星期四, 18 八月 2022 17:53:29 +0800 Subject: [PATCH] 统计 事故统计 --- src/components/DailogSearchUser/index.vue | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/src/components/DailogSearchUser/index.vue b/src/components/DailogSearchUser/index.vue index fb97d97..7345d2e 100644 --- a/src/components/DailogSearchUser/index.vue +++ b/src/components/DailogSearchUser/index.vue @@ -26,7 +26,7 @@ </el-col> </el-row> </el-form> - <el-table :data="tableData" style="width: 100%; margin-top: 20px" @selection-change="handleSelectionChange"> + <el-table :data="tableData" style="width: 100%; margin-top: 20px" ref="clearAll" @selection-change="handleSelectionChange"> <el-table-column type="selection" width="55" v-if="types==0"/> <el-table-column align="center" v-if="types!=0"> <template #default="scope"> @@ -191,12 +191,15 @@ dialogVisible.value = false; clear() }; + const clearAll=ref() const clear=()=>{ dynamicTags.value=[] radio1.value="" + clearAll.value.clearSelection() } return { clear, + clearAll, total, types, filterText, -- Gitblit v1.9.2