From 1a54a07742f3bcfba67ce150a0c90853680a73af Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Fri, 28 Jun 2024 13:29:50 +0700 Subject: [PATCH] =?UTF-8?q?=20=E0=B8=A3=E0=B8=B2=E0=B8=A2=E0=B8=8A?= =?UTF-8?q?=E0=B8=B7=E0=B9=88=E0=B8=AD=E0=B8=82=E0=B9=89=E0=B8=B2=E0=B8=A3?= =?UTF-8?q?=E0=B8=B2=E0=B8=8A=E0=B8=81=E0=B8=B2=E0=B8=A3=E0=B8=AA=E0=B8=B2?= =?UTF-8?q?=E0=B8=A1=E0=B8=B1=E0=B8=8D=E0=B8=AF=20=E0=B8=97=E0=B8=B5?= =?UTF-8?q?=E0=B9=88=E0=B8=A1=E0=B8=B5=E0=B8=AA=E0=B8=B4=E0=B8=97=E0=B8=98?= =?UTF-8?q?=E0=B8=B4=E0=B9=8C=E0=B8=A2=E0=B8=B7=E0=B9=88=E0=B8=99=E0=B8=82?= =?UTF-8?q?=E0=B8=AD=E0=B8=9E=E0=B8=A3=E0=B8=B0=E0=B8=A3=E0=B8=B2=E0=B8=8A?= =?UTF-8?q?=E0=B8=97=E0=B8=B2=E0=B8=99=E0=B9=80=E0=B8=84=E0=B8=A3=E0=B8=B7?= =?UTF-8?q?=E0=B9=88=E0=B8=AD=E0=B8=87=E0=B8=A3=E0=B8=B2=E0=B8=8A=E0=B8=AD?= =?UTF-8?q?=E0=B8=B4=E0=B8=AA=E0=B8=A3=E0=B8=B4=E0=B8=A2=E0=B8=B2=E0=B8=A0?= =?UTF-8?q?=E0=B8=A3=E0=B8=93=E0=B9=8C=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 --- .../components/2_Manage/listManage.vue | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/src/modules/07_insignia/components/2_Manage/listManage.vue b/src/modules/07_insignia/components/2_Manage/listManage.vue index 55d2eec35..13a9adb96 100644 --- a/src/modules/07_insignia/components/2_Manage/listManage.vue +++ b/src/modules/07_insignia/components/2_Manage/listManage.vue @@ -42,7 +42,7 @@ const modalPopupBackToEdit = ref(false); //model แก้ไข /** function เรียกรอบการเสนอขอพระราชทานเครื่อง*/ async function fecthlistRound() { - showLoader(); + // showLoader(); await http .get(config.API.listRoundInsignia()) .then(async (res: any) => { @@ -68,15 +68,12 @@ async function fecthlistRound() { }) .catch((err) => { messageError($q, err); - }) - .finally(() => { - hideLoader(); + // hideLoader(); }); } /** function เรียกดู Stat ของรอบการเสนอขอพระราชทานเครื่อง*/ const fecthStat = async (id: string) => { - showLoader(); await http .get(config.API.insigniaDashboard(id)) .then((res) => { @@ -84,9 +81,6 @@ const fecthStat = async (id: string) => { }) .catch((err) => { messageError($q, err); - }) - .finally(() => { - hideLoader(); }); }; @@ -133,14 +127,10 @@ function fetchListOrg(id: string) { }) .catch((err) => { messageError($q, err); - }) - .finally(() => { hideLoader(); }); } - - /**function เรียกประเภทเครื่องราช*/ async function fecthInsignia() { await http @@ -208,7 +198,7 @@ async function fecthInsigniaByOc( } }) .catch((err) => { - // messageError($q, err); + messageError($q, err); }) .finally(() => { hideLoader();