调整征信维护为征信对象直接入库
This commit is contained in:
@@ -19,7 +19,7 @@ const source = fs.readFileSync(componentPath, "utf8");
|
||||
"handleDetail",
|
||||
"handleDelete",
|
||||
"deleteCreditInfo",
|
||||
"确认删除该员工当前已维护的征信信息吗?",
|
||||
"确认删除该征信对象当前已维护的征信信息吗?",
|
||||
].forEach((token) => {
|
||||
assert(source.includes(token), `详情或删除交互缺少关键结构: ${token}`);
|
||||
});
|
||||
|
||||
@@ -8,14 +8,13 @@ const componentPath = path.resolve(
|
||||
);
|
||||
const source = fs.readFileSync(componentPath, "utf8");
|
||||
|
||||
assert(
|
||||
source.includes('maintained: "1"'),
|
||||
"征信维护页面应默认只查询已维护数据"
|
||||
);
|
||||
assert(!source.includes("maintained:"), "征信维护页面不应再维护 maintained 查询参数");
|
||||
|
||||
assert(
|
||||
!source.includes('label="未维护"'),
|
||||
"征信维护页面不应再提供未维护筛选项"
|
||||
!source.includes('label="是否已维护"'),
|
||||
"征信维护页面不应再展示是否已维护筛选项"
|
||||
);
|
||||
|
||||
assert(!source.includes('value="1"'), "征信维护页面不应再内置已维护默认筛选");
|
||||
|
||||
console.log("credit-info-maintained-filter test passed");
|
||||
|
||||
@@ -13,6 +13,8 @@ const source = fs.readFileSync(componentPath, "utf8");
|
||||
|
||||
[
|
||||
"征信维护",
|
||||
"姓名",
|
||||
"身份证号",
|
||||
"批量上传征信HTML",
|
||||
"最近征信查询日期",
|
||||
"负债笔数",
|
||||
@@ -22,9 +24,11 @@ const source = fs.readFileSync(componentPath, "utf8");
|
||||
"行政处罚笔数",
|
||||
"详情",
|
||||
"删除",
|
||||
"@/api/ccdiCreditInfo",
|
||||
].forEach((token) => {
|
||||
assert(source.includes(token), `征信维护页面缺少关键结构: ${token}`);
|
||||
});
|
||||
|
||||
assert(!source.includes('label="柜员号"'), "征信维护页面不应再展示柜员号查询项");
|
||||
assert(!source.includes('prop="staffId"'), "征信维护列表不应再展示柜员号列");
|
||||
|
||||
console.log("credit-info-page-layout test passed");
|
||||
|
||||
Reference in New Issue
Block a user