From 8da5662b43b866281e594e1362ff7f2e9ecca282 Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Tue, 5 Mar 2024 14:51:14 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B8=A3=E0=B8=B2=E0=B8=A2=E0=B8=81=E0=B8=B2?= =?UTF-8?q?=E0=B8=A3=E0=B9=80=E0=B8=87=E0=B8=B4=E0=B8=99=E0=B9=80=E0=B8=94?= =?UTF-8?q?=E0=B8=B7=E0=B8=AD=E0=B8=99=20=3D>=20=E0=B8=9B=E0=B8=A3?= =?UTF-8?q?=E0=B8=B1=E0=B8=9A=20load?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/13_salary/components/SalaryLists/TabMain.vue | 8 ++++---- src/modules/13_salary/views/salaryLists.vue | 4 +++- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/modules/13_salary/components/SalaryLists/TabMain.vue b/src/modules/13_salary/components/SalaryLists/TabMain.vue index b2c19d015..cd92791e1 100644 --- a/src/modules/13_salary/components/SalaryLists/TabMain.vue +++ b/src/modules/13_salary/components/SalaryLists/TabMain.vue @@ -185,7 +185,7 @@ const maxPage = ref(1); * @param id กลุ่ม */ function fetchDataQuota(id: string) { - showLoader(); + // showLoader(); http .get(config.API.salaryListPeriodQuota(id)) .then((res) => { @@ -205,10 +205,10 @@ function fetchDataQuota(id: string) { }) .catch((err) => { messageError($q, err); - }) - .finally(() => { - hideLoader(); }); + // .finally(() => { + // hideLoader(); + // }); } /** diff --git a/src/modules/13_salary/views/salaryLists.vue b/src/modules/13_salary/views/salaryLists.vue index 48e615c96..21ceff33a 100644 --- a/src/modules/13_salary/views/salaryLists.vue +++ b/src/modules/13_salary/views/salaryLists.vue @@ -218,7 +218,9 @@ function fetchSalalyPeriod(rootId: string, periodId: string, snap: string) { messageError($q, err); }) .finally(() => { - hideLoader(); + setTimeout(() => { + hideLoader(); + }, 800); }); }