为风险明细列表添加分页选择器

This commit is contained in:
wkc
2026-06-26 15:16:30 +08:00
parent 999350265b
commit 87b2352001
5 changed files with 60 additions and 20 deletions

View File

@@ -19,4 +19,8 @@ const source = fs.readFileSync(
"abnormalAccountList",
"handleAbnormalAccountPageChange",
"loadAbnormalAccountPeople",
":page-sizes=\"riskDetailPageSizeOptions\"",
"layout=\"total, sizes, prev, pager, next, jumper\"",
"pageSize: this.abnormalAccountPageSize",
"this.abnormalAccountPageSize = pageInfo.limit || this.abnormalAccountPageSize",
].forEach((token) => assert(source.includes(token), token));

View File

@@ -19,4 +19,8 @@ const source = fs.readFileSync(
"loadEmployeeCreditNegative",
"handleEmployeeCreditNegativePageChange",
"getOverviewEmployeeCreditNegative",
":page-sizes=\"riskDetailPageSizeOptions\"",
"layout=\"total, sizes, prev, pager, next, jumper\"",
"pageSize: this.employeeCreditNegativePageSize",
"this.employeeCreditNegativePageSize = pageInfo.limit || this.employeeCreditNegativePageSize",
].forEach((token) => assert(source.includes(token), token));

View File

@@ -21,9 +21,11 @@ const source = fs.readFileSync(
"摘要 / 交易类型",
"异常标签",
"<pagination",
"pageSize: 5",
":page-sizes=\"[5]\"",
"layout=\"total, prev, pager, next, jumper\"",
"DEFAULT_RISK_DETAIL_PAGE_SIZE",
"RISK_DETAIL_PAGE_SIZE_OPTIONS = [5, 10, 20, 50]",
":page-sizes=\"riskDetailPageSizeOptions\"",
"layout=\"total, sizes, prev, pager, next, jumper\"",
"pageSize: this.suspiciousPageSize",
].forEach((token) => assert(source.includes(token), token));
[