refactor: 03 => screen.xs fetch scroll
This commit is contained in:
parent
508e6d3f5b
commit
ef81a93690
2 changed files with 565 additions and 513 deletions
File diff suppressed because it is too large
Load diff
|
|
@ -13,6 +13,7 @@ import { useInstitution } from 'src/stores/institution';
|
||||||
import { Institution, InstitutionPayload } from 'src/stores/institution/types';
|
import { Institution, InstitutionPayload } from 'src/stores/institution/types';
|
||||||
import { formatAddress } from 'src/utils/address';
|
import { formatAddress } from 'src/utils/address';
|
||||||
|
|
||||||
|
import PaginationPageSize from 'src/components/PaginationPageSize.vue';
|
||||||
import PaginationComponent from 'src/components/PaginationComponent.vue';
|
import PaginationComponent from 'src/components/PaginationComponent.vue';
|
||||||
import KebabAction from 'src/components/shared/KebabAction.vue';
|
import KebabAction from 'src/components/shared/KebabAction.vue';
|
||||||
import StatCardComponent from 'src/components/StatCardComponent.vue';
|
import StatCardComponent from 'src/components/StatCardComponent.vue';
|
||||||
|
|
@ -756,26 +757,7 @@ watch(
|
||||||
{{ $t('general.recordPerPage') }}
|
{{ $t('general.recordPerPage') }}
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<q-btn-dropdown
|
<PaginationPageSize v-model="pageSize" />
|
||||||
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>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue