Merge branch 'develop' into devTee
This commit is contained in:
commit
b9b89e99e7
1 changed files with 3 additions and 0 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue