Merge branch 'develop' into devTee

This commit is contained in:
STW_TTTY\stwtt 2024-04-26 10:05:24 +07:00
commit b9b89e99e7

View file

@ -134,6 +134,7 @@ const formData = reactive<FormRound>({
});
const modalDialog = ref<boolean>(false);
const isStatusEdit = ref<boolean>(false);
const total = ref<number>(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(() => {
</q-tr>
</template>
<template v-slot:pagination="scope">
งหมด {{ total }} รายการ
<q-pagination
v-model="formQuery.page"
active-color="primary"