From bebf684069148bbb956fe78409c310252b75a42e Mon Sep 17 00:00:00 2001 From: waruneeauy Date: Wed, 25 Mar 2026 17:48:24 +0700 Subject: [PATCH] update selected and load data --- .../09_leave/stores/ChangeRoundStore.ts | 4 +- .../09_leave/views/03_ChangeRoundMain.vue | 206 +++++++++++++----- 2 files changed, 157 insertions(+), 53 deletions(-) diff --git a/src/modules/09_leave/stores/ChangeRoundStore.ts b/src/modules/09_leave/stores/ChangeRoundStore.ts index 4d34b5872..8914ebd4f 100644 --- a/src/modules/09_leave/stores/ChangeRoundStore.ts +++ b/src/modules/09_leave/stores/ChangeRoundStore.ts @@ -125,7 +125,7 @@ export const useChangeRoundDataStore = defineStore( async function fetchDataForCardId(dataDetail: any, type?: string) { if (dataDetail) { - showLoader(); + // showLoader(); const url = type && type == "emp" ? config.API.leaveSearchEMP() @@ -170,7 +170,7 @@ export const useChangeRoundDataStore = defineStore( console.log(e); }) .finally(() => { - hideLoader(); + // hideLoader(); }); } } diff --git a/src/modules/09_leave/views/03_ChangeRoundMain.vue b/src/modules/09_leave/views/03_ChangeRoundMain.vue index fe7943b22..5bbb76fc5 100644 --- a/src/modules/09_leave/views/03_ChangeRoundMain.vue +++ b/src/modules/09_leave/views/03_ChangeRoundMain.vue @@ -1,5 +1,5 @@ - +
+ ทั้งหมด {{ allRows.length }} รายการ +