diff --git a/src/modules/01_metadataNew/components/Indicators/indicatorByPlan/IndicatorByPlan.vue b/src/modules/01_metadataNew/components/Indicators/indicatorByPlan/IndicatorByPlan.vue index fde9bee1d..ce07b7fce 100644 --- a/src/modules/01_metadataNew/components/Indicators/indicatorByPlan/IndicatorByPlan.vue +++ b/src/modules/01_metadataNew/components/Indicators/indicatorByPlan/IndicatorByPlan.vue @@ -90,6 +90,7 @@ function fetchOrganizationActive() { /** function fetchTree ยุทธศาสตร์ / แผน*/ function fetchTreeStrategy() { + showLoader(); http .get(config.API.devStrategy) .then((res) => { @@ -98,11 +99,15 @@ function fetchTreeStrategy() { }) .catch((err) => { messageError($q, err); + }) + .finally(() => { + hideLoader(); }); } /** functioon fetchcTree หน่วยงาน/ส่วนราชการ*/ function fetchTreeAgency(id: string) { + showLoader(); http .get(config.API.orgByid(id.toString())) .then(async (res) => { @@ -112,6 +117,9 @@ function fetchTreeAgency(id: string) { }) .catch((err) => { messageError($q, err); + }) + .finally(() => { + hideLoader(); }); } diff --git a/src/modules/01_metadataNew/views/indicatorByPlan.vue b/src/modules/01_metadataNew/views/indicatorByPlan.vue index 543abc35d..3a6b4f220 100644 --- a/src/modules/01_metadataNew/views/indicatorByPlan.vue +++ b/src/modules/01_metadataNew/views/indicatorByPlan.vue @@ -189,7 +189,7 @@ function onClickHistory(id: string) { onMounted(async () => { await fetchActive(); - await fetchList(); + // await fetchList(); }); diff --git a/src/modules/17_acting/views/main.vue b/src/modules/17_acting/views/main.vue index 2347013f1..43ae87445 100644 --- a/src/modules/17_acting/views/main.vue +++ b/src/modules/17_acting/views/main.vue @@ -1,5 +1,5 @@