วินัย => แสดงรายการทั้งหมด , ตัวชี้วัดตามแผน => ปรับ tree
This commit is contained in:
parent
f7d8256682
commit
7cce2fd1fb
13 changed files with 157 additions and 115 deletions
|
|
@ -25,6 +25,7 @@ const initialPagination = ref<Pagination>({
|
|||
const page = ref<number>(1);
|
||||
const pageSize = ref<number>(10);
|
||||
const maxPage = ref<number>(1);
|
||||
const totalList = ref<number>(0);
|
||||
const filter = ref<string>("");
|
||||
const status = ref<string>("DONE");
|
||||
/** function เรียกรายการสรุปผลการพิจารณาทางวินัย*/
|
||||
|
|
@ -38,6 +39,7 @@ async function fetchListResult() {
|
|||
.then(async (res) => {
|
||||
const data = res.data.result.data;
|
||||
maxPage.value = Math.ceil(res.data.result.total / pageSize.value);
|
||||
totalList.value = res.data.result.total;
|
||||
await fetchList(data);
|
||||
})
|
||||
.catch((err) => {
|
||||
|
|
@ -97,6 +99,7 @@ onMounted(async () => {
|
|||
:fetchListResult="fetchListResult"
|
||||
:pageSize="pageSize"
|
||||
:maxPage="maxPage"
|
||||
:totalList="totalList"
|
||||
@update:queryString="updateQueryString"
|
||||
v-model:open-edit="openEdit"
|
||||
:filterStatus="filterStatus"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue