แก้ paging

This commit is contained in:
setthawutttty 2024-10-30 14:40:02 +07:00
parent ce0c2fef3f
commit 91d3c417d6
7 changed files with 88 additions and 97 deletions

View file

@ -51,7 +51,7 @@ async function redirectViewDetail(id: string) {
:paging="true"
dense
class="custom-table2"
:rows-per-page-options="[10, 25, 50, 100]"
:rows-per-page-options="[1, 25, 50, 100]"
:visible-columns="visibleColumns"
v-model:pagination="pagination"
@update:pagination="props.updatePagination"

View file

@ -414,7 +414,7 @@ onMounted(async () => {
autoApply
year-picker
:enableTimePicker="false"
@update:model-value="fetchRoundOption('main')"
@update:model-value=" formQuery.page = 1,fetchRoundOption('main')"
>
<template #year="{ year }">{{ year + 543 }}</template>
<template #year-overlay-value="{ value }">{{

View file

@ -225,7 +225,7 @@ onMounted(async () => {
autoApply
year-picker
:enableTimePicker="false"
@update:model-value="fetchRoundOption(true)"
@update:model-value=" store.formQuery.page = 1,fetchRoundOption(true)"
>
<template #year="{ year }">{{ year + 543 }}</template>
<template #year-overlay-value="{ value }">{{