统一结果总览详情弹窗主区视觉

This commit is contained in:
wkc
2026-03-25 19:12:30 +08:00
parent 3fb02f1391
commit 1e3ea8d4c9
5 changed files with 73 additions and 15 deletions

View File

@@ -16,18 +16,27 @@ 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"',
"source-summary",
"project-analysis-overview",
].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)",
@@ -48,3 +57,13 @@ const abnormalTab = 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%)"),
"占位页签不应继续单独使用旧渐变底"
);