From 2df335191c0d4bd638351522edfac8497e5b41c7 Mon Sep 17 00:00:00 2001 From: waruneeauy Date: Fri, 26 Apr 2024 10:00:58 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=81=E0=B8=81=E0=B9=89=20paging=20?= =?UTF-8?q?=E0=B8=A3=E0=B8=AD=E0=B8=9A=E0=B8=81=E0=B8=B2=E0=B8=A3=E0=B8=9B?= =?UTF-8?q?=E0=B8=A3=E0=B8=B0=E0=B9=80=E0=B8=A1=E0=B8=B4=E0=B8=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/14_KPI/views/round.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/modules/14_KPI/views/round.vue b/src/modules/14_KPI/views/round.vue index 535377298..00b7ee919 100644 --- a/src/modules/14_KPI/views/round.vue +++ b/src/modules/14_KPI/views/round.vue @@ -134,6 +134,7 @@ const formData = reactive({ }); const modalDialog = ref(false); const isStatusEdit = ref(false); +const total = ref(0); /** function fetch ข้อมูลรายการรอบการประเมินผลการปฏิบัติหน้าที่ราชการ*/ function fetchList() { @@ -146,6 +147,7 @@ function fetchList() { .then((res) => { const data: ResRound[] = res.data.result.data; totalList.value = Math.ceil(res.data.result.total / formQuery.pageSize); + total.value = res.data.result.total; rows.value = data; }) .catch((err) => { @@ -480,6 +482,7 @@ onMounted(() => {