feat(ui): 客户列表默认每页5条(选项加5,用户偏好)
Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -36,7 +36,7 @@ interface TabState {
|
||||
loaded: boolean
|
||||
}
|
||||
function freshTabState(): TabState {
|
||||
return { items: [], total: 0, page: 1, pageSize: 10, loading: false, errorMsg: null, loaded: false }
|
||||
return { items: [], total: 0, page: 1, pageSize: 5, loading: false, errorMsg: null, loaded: false }
|
||||
}
|
||||
|
||||
/** 云客口径客户合计(分渠道,Σ员工好友数声明值,含云客索引重复;页脚对齐云客)。 */
|
||||
@@ -519,7 +519,7 @@ onMounted(() => {
|
||||
<el-pagination
|
||||
:current-page="tabState.wechat.page"
|
||||
:page-size="tabState.wechat.pageSize"
|
||||
:page-sizes="[10, 20, 50, 100]"
|
||||
:page-sizes="[5, 10, 20, 50, 100]"
|
||||
:total="declaredTotals.wechat ?? tabState.wechat.total"
|
||||
layout="total, sizes, prev, pager, next, jumper"
|
||||
background
|
||||
@@ -591,7 +591,7 @@ onMounted(() => {
|
||||
<el-pagination
|
||||
:current-page="tabState.whatsapp.page"
|
||||
:page-size="tabState.whatsapp.pageSize"
|
||||
:page-sizes="[10, 20, 50, 100]"
|
||||
:page-sizes="[5, 10, 20, 50, 100]"
|
||||
:total="declaredTotals.whatsapp ?? tabState.whatsapp.total"
|
||||
layout="total, sizes, prev, pager, next, jumper"
|
||||
background
|
||||
|
||||
Reference in New Issue
Block a user