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(() => {