From 87f3682b80dedff137d17c358b98ffc0f1590f48 Mon Sep 17 00:00:00 2001 From: "STW_TTTY\\stwtt" Date: Mon, 29 Apr 2024 09:25:54 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=80=E0=B8=84=E0=B8=A5=E0=B8=B5=E0=B8=A2?= =?UTF-8?q?=20input=20=E0=B9=80=E0=B9=80=E0=B8=A5=E0=B9=89=E0=B8=A7?= =?UTF-8?q?=E0=B8=94=E0=B8=B6=E0=B8=87=E0=B8=82=E0=B9=89=E0=B8=AD=E0=B8=A1?= =?UTF-8?q?=E0=B8=B9=E0=B8=A5=E0=B9=83=E0=B8=AB=E0=B8=A1=E0=B9=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/14_KPI/views/indicatorByPlan.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/modules/14_KPI/views/indicatorByPlan.vue b/src/modules/14_KPI/views/indicatorByPlan.vue index b757b46bb..4d94987d2 100644 --- a/src/modules/14_KPI/views/indicatorByPlan.vue +++ b/src/modules/14_KPI/views/indicatorByPlan.vue @@ -175,6 +175,11 @@ async function deleteData(idData: string) { ); } +function clearFilter(){ + nodeData.keyword = '' + fetchActive() + fetchRoundOption() +} onMounted(() => { fetchActive(); fetchRoundOption(); @@ -336,7 +341,7 @@ onMounted(() => { v-if="nodeData.keyword !== ''" name="clear" class="cursor-pointer" - @click="nodeData.keyword = ''" + @click="clearFilter" />