Add 10/20/50/100 page-size pagination across treasury list pages.

EOF

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-11-17 16:07:13 +03:30
co-authored by Cursor
parent 64280e85c4
commit 634af8a653
13 changed files with 465 additions and 66 deletions
@@ -0,0 +1,30 @@
<script setup lang="ts">
import { Pagination as APagination } from 'ant-design-vue';
const page = defineModel<number>('page', { required: true });
defineProps<{
total: number;
pageSize: number;
pageSizeOptions: string[];
showTotal: (total: number) => string;
}>();
const emit = defineEmits<{
'update:pageSize': [size: number];
}>();
</script>
<template>
<a-pagination
v-if="total > 0"
v-model:current="page"
:page-size="pageSize"
:total="total"
:page-size-options="pageSizeOptions"
show-size-changer
:show-total="showTotal"
style="margin-top: 16px"
@update:page-size="emit('update:pageSize', $event)"
/>
</template>