feat: standardize default page size to 20, add pagination to pick list, and fix table horizontal scrollbar visibility

This commit is contained in:
DXC
2026-03-23 14:38:08 +08:00
parent c5974ff05c
commit 08c921fe66
4 changed files with 41 additions and 7 deletions

View File

@ -139,6 +139,7 @@
highlight-current-row
header-cell-class-name="table-header-gray"
@sort-change="handleSortChange"
height="calc(100vh - 300px)"
>
<template v-for="col in allColumns" :key="col.prop">
<el-table-column
@ -239,7 +240,7 @@
v-model:current-page="queryParams.page"
v-model:page-size="queryParams.pageSize"
:total="total"
:page-sizes="[100, 200, 500, 1000]"
:page-sizes="[20, 50, 100, 200]"
layout="total, sizes, prev, pager, next, jumper"
background
@size-change="fetchData"
@ -794,7 +795,7 @@ const companyOptions = ref<string[]>([])
const queryParams = reactive({
page: 1,
pageSize: 50,
pageSize: 20,
keyword: '',
searchField: 'all',
sku: '',