From e4912c45de1c2af49e2f8687f1e279e9ff6c62f0 Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Thu, 27 Jun 2024 15:23:00 +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=20fix=20bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/14_KPI/views/report.vue | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/modules/14_KPI/views/report.vue b/src/modules/14_KPI/views/report.vue index 8afb39273..3e4bf4369 100644 --- a/src/modules/14_KPI/views/report.vue +++ b/src/modules/14_KPI/views/report.vue @@ -324,17 +324,21 @@ const columns = ref([ ]); function onClickModal() { - modal.value = !modal.value; + modal.value = true; if ((modal.value = true)) { fetchListPerson(); } } +function onCloseModal() { + modal.value = false; +} + function fetchListPerson() {} function onSelectPerson(id: string) { persanalId.value = id; - modal.value = false; + onCloseModal(); fetchReport(); } @@ -624,7 +628,7 @@ onMounted(() => { - +