fix limit ประวัติแก้ไขสถานะ อุทธรณ์/ร้องทุกข์
This commit is contained in:
parent
53d592f103
commit
2475f86608
1 changed files with 11 additions and 6 deletions
|
|
@ -16,7 +16,12 @@ const dataStore = useAppealComplainStore();
|
|||
|
||||
const rows = ref<HistoryStatusType[]>([]);
|
||||
/** หัวข้อที่เเสดงในตารางผู้ถูกร้องเรียน */
|
||||
const visibleColumns = ref<string[]>(["no", "status","createdFullName", "createdAt"]);
|
||||
const visibleColumns = ref<string[]>([
|
||||
"no",
|
||||
"status",
|
||||
"createdFullName",
|
||||
"createdAt",
|
||||
]);
|
||||
/** หัวตารางผู้ถูกร้องเรียน */
|
||||
const columns = ref<QTableProps["columns"]>([
|
||||
{
|
||||
|
|
@ -82,8 +87,7 @@ watch(
|
|||
createdFullName: item.createdFullName,
|
||||
status: dataStore.statusTothai(item.status),
|
||||
createdAt: date2Thai(item.createdAt, false, true),
|
||||
|
||||
}))
|
||||
}));
|
||||
}
|
||||
);
|
||||
</script>
|
||||
|
|
@ -117,6 +121,7 @@ watch(
|
|||
hide-bottom
|
||||
class="custom-header-table"
|
||||
:visible-columns="visibleColumns"
|
||||
:rows-per-page-options="[100]"
|
||||
>
|
||||
<template v-slot:header="props">
|
||||
<q-tr :props="props">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue