From b1909c852a696b15272b977b819bd6166defa3e1 Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Thu, 29 Aug 2024 17:42:11 +0700 Subject: [PATCH] KPI-evaluator => Load --- .../08_KPI/components/Evaluator/01_TabAll.vue | 2 +- .../components/Evaluator/02_TabOther.vue | 2 +- src/modules/08_KPI/views/mainEvaluator.vue | 48 ++++++------------- 3 files changed, 17 insertions(+), 35 deletions(-) diff --git a/src/modules/08_KPI/components/Evaluator/01_TabAll.vue b/src/modules/08_KPI/components/Evaluator/01_TabAll.vue index 7c4c213..4c80e73 100644 --- a/src/modules/08_KPI/components/Evaluator/01_TabAll.vue +++ b/src/modules/08_KPI/components/Evaluator/01_TabAll.vue @@ -118,7 +118,7 @@ const pagination = ref({ boundary-links direction-links :max-pages="5" - @update:model-value="props.fetchList" + @update:model-value="props.fetchList?.()" > diff --git a/src/modules/08_KPI/components/Evaluator/02_TabOther.vue b/src/modules/08_KPI/components/Evaluator/02_TabOther.vue index 52df1b9..8e32aa5 100644 --- a/src/modules/08_KPI/components/Evaluator/02_TabOther.vue +++ b/src/modules/08_KPI/components/Evaluator/02_TabOther.vue @@ -221,7 +221,7 @@ async function onClickApprove(type: string = "") { boundary-links direction-links :max-pages="5" - @update:model-value="props.fetchList" + @update:model-value="props.fetchList?.()" > diff --git a/src/modules/08_KPI/views/mainEvaluator.vue b/src/modules/08_KPI/views/mainEvaluator.vue index 25a3b24..c052999 100644 --- a/src/modules/08_KPI/views/mainEvaluator.vue +++ b/src/modules/08_KPI/views/mainEvaluator.vue @@ -1,5 +1,5 @@ @@ -213,18 +206,7 @@ onMounted(async () => { /> รายการการประเมินผลการปฏิบัติราชการระดับบุคคล - +