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