refactor: 03 => screen.xs fetch scroll

This commit is contained in:
puriphatt 2025-01-30 10:10:15 +07:00
parent 508e6d3f5b
commit ef81a93690
2 changed files with 565 additions and 513 deletions

File diff suppressed because it is too large Load diff

View file

@ -13,6 +13,7 @@ import { useInstitution } from 'src/stores/institution';
import { Institution, InstitutionPayload } from 'src/stores/institution/types';
import { formatAddress } from 'src/utils/address';
import PaginationPageSize from 'src/components/PaginationPageSize.vue';
import PaginationComponent from 'src/components/PaginationComponent.vue';
import KebabAction from 'src/components/shared/KebabAction.vue';
import StatCardComponent from 'src/components/StatCardComponent.vue';
@ -756,26 +757,7 @@ watch(
{{ $t('general.recordPerPage') }}
</div>
<div>
<q-btn-dropdown
dense
unelevated
:label="pageSize"
class="bordered q-pl-md"
>
<q-list>
<q-item
v-for="v in [10, 30, 50, 100, 500, 1000]"
:key="v"
clickable
v-close-popup
@click="pageSize = v"
>
<q-item-section>
<q-item-label>{{ v }}</q-item-label>
</q-item-section>
</q-item>
</q-list>
</q-btn-dropdown>
<PaginationPageSize v-model="pageSize" />
</div>
</div>
</div>