fix: rowsPerPage 100
This commit is contained in:
parent
c6ea0527c7
commit
8359d1fbca
1 changed files with 8 additions and 2 deletions
|
|
@ -23,7 +23,6 @@ const {
|
|||
hideLoader,
|
||||
success,
|
||||
messageError,
|
||||
dialogMessageNotify,
|
||||
dialogConfirm,
|
||||
} = mixin;
|
||||
const dataStore = useChangeRoundDataStore();
|
||||
|
|
@ -42,11 +41,16 @@ const formData = reactive<DataPost>({
|
|||
firstName: "",
|
||||
lastName: "",
|
||||
page: 1,
|
||||
pageSize: 10,
|
||||
pageSize: 100,
|
||||
selectedNodeId: null,
|
||||
selectedNode: "",
|
||||
});
|
||||
|
||||
const pagination = ref({
|
||||
page: 1,
|
||||
rowsPerPage: formData.pageSize,
|
||||
});
|
||||
|
||||
/** โครงสร้างข้อมูลต้นไม้ขององค์กร **/
|
||||
const nodeTree = ref<any[]>([]);
|
||||
const expanded = ref<string[]>([]);
|
||||
|
|
@ -305,6 +309,7 @@ onMounted(() => {
|
|||
@click="handleSelectMultiple()"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<d-table
|
||||
ref="table"
|
||||
:columns="dataStore.columns"
|
||||
|
|
@ -317,6 +322,7 @@ onMounted(() => {
|
|||
:visible-columns="dataStore.visibleColumns"
|
||||
:rows-per-page-options="[10, 25, 50, 100]"
|
||||
@update:pagination="updatePagination"
|
||||
v-model:pagination="pagination"
|
||||
selection="multiple"
|
||||
v-model:selected="selected"
|
||||
>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue