调整上传数据页头部按钮与导入卡片布局
This commit is contained in:
@@ -16,13 +16,22 @@ assert(
|
||||
);
|
||||
|
||||
assert(
|
||||
/key:\s*"credit"[\s\S]*?disabled:\s*true/.test(source),
|
||||
"征信导入卡片应配置为禁用"
|
||||
/uploadCards:\s*\[[\s\S]*?key:\s*"transaction"[\s\S]*?btnText:\s*"上传流水"[\s\S]*?disabled:\s*false[\s\S]*?\],/.test(
|
||||
source
|
||||
),
|
||||
"上传卡片区应只保留一张默认可用的流水导入卡片"
|
||||
);
|
||||
|
||||
assert(
|
||||
/key:\s*"namelist"[\s\S]*?disabled:\s*true/.test(source),
|
||||
"名单库选择卡片应配置为禁用"
|
||||
/syncUploadCardDisabledState\(\)\s*\{[\s\S]*?card\.key === "transaction"[\s\S]*?disabled:\s*this\.isProjectTagging/.test(
|
||||
source
|
||||
),
|
||||
"流水导入卡片应在项目打标中时同步置灰"
|
||||
);
|
||||
|
||||
assert(
|
||||
!/key:\s*"credit"/.test(source) && !/key:\s*"namelist"/.test(source),
|
||||
"上传卡片区不应再保留征信导入或名单库选择卡片配置"
|
||||
);
|
||||
|
||||
assert(
|
||||
|
||||
Reference in New Issue
Block a user