重构家庭资产负债详情展示
This commit is contained in:
@@ -16,27 +16,18 @@ const abnormalTab = fs.readFileSync(
|
||||
),
|
||||
"utf8"
|
||||
);
|
||||
const placeholderTab = fs.readFileSync(
|
||||
path.resolve(
|
||||
__dirname,
|
||||
"../../src/views/ccdiProject/components/detail/ProjectAnalysisPlaceholderTab.vue"
|
||||
),
|
||||
"utf8"
|
||||
);
|
||||
|
||||
[
|
||||
"<project-analysis-abnormal-tab",
|
||||
':detail-data="dialogData.abnormalDetail"',
|
||||
"project-analysis-overview",
|
||||
"source-summary",
|
||||
].forEach((token) => assert(dialog.includes(token), token));
|
||||
|
||||
[
|
||||
"analysis-panel",
|
||||
"detailData.groups",
|
||||
'group.groupType === "BANK_STATEMENT"',
|
||||
'group.groupType === "OBJECT"',
|
||||
"group.groupName",
|
||||
"abnormal-card__summary",
|
||||
"statementPageSize: 5",
|
||||
"statementPageMap",
|
||||
"slice(startIndex, startIndex + this.statementPageSize)",
|
||||
@@ -57,13 +48,3 @@ const placeholderTab = fs.readFileSync(
|
||||
"extraFields",
|
||||
"grid-template-columns: minmax(0, 1fr)",
|
||||
].forEach((token) => assert(abnormalTab.includes(token), token));
|
||||
|
||||
[
|
||||
"analysis-panel",
|
||||
"analysis-panel--placeholder",
|
||||
].forEach((token) => assert(placeholderTab.includes(token), token));
|
||||
|
||||
assert(
|
||||
!placeholderTab.includes("background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%)"),
|
||||
"占位页签不应继续单独使用旧渐变底"
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user