重构家庭资产负债详情展示

This commit is contained in:
wkc
2026-03-25 19:28:54 +08:00
parent 17a6c389d1
commit 60f935da27
20 changed files with 691 additions and 565 deletions

View File

@@ -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%)"),
"占位页签不应继续单独使用旧渐变底"
);