From 66e2ff2f77b15b0dfcfce6c8d82c0a9048375f34 Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Wed, 10 Jul 2024 13:40:39 +0700 Subject: [PATCH] =?UTF-8?q?KPI=20=3D>=20=E0=B8=A3=E0=B8=B2=E0=B8=A2?= =?UTF-8?q?=E0=B8=87=E0=B8=B2=E0=B8=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/14_KPI/views/report.vue | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/src/modules/14_KPI/views/report.vue b/src/modules/14_KPI/views/report.vue index 8a1f962dd..409003368 100644 --- a/src/modules/14_KPI/views/report.vue +++ b/src/modules/14_KPI/views/report.vue @@ -255,6 +255,7 @@ function filterSelector(val: string, update: Function, type: string) { switch (type) { case "typereport": update(() => { + typeReport.value = ""; listReport.value = listReportMain.value.filter( (v: DataOption) => v.name.toLowerCase().indexOf(val) > -1 ); @@ -262,6 +263,7 @@ function filterSelector(val: string, update: Function, type: string) { break; case "organization": update(() => { + organization.value = ""; organizationOps.value = organizationOpsMain.value.filter( (v: DataOption) => v.name.toLowerCase().indexOf(val) > -1 ); @@ -493,7 +495,13 @@ onMounted(() => { @update:model-value="changOption" @filter="(inputValue: string, doneFn: Function) => filterSelector(inputValue, doneFn ,'typereport')" - /> + > + @@ -615,7 +623,13 @@ onMounted(() => { @filter="(inputValue: string, doneFn: Function) => filterSelector(inputValue, doneFn,'organization' )" - /> + > +