收口项目分析弹窗右侧主区节奏
This commit is contained in:
@@ -16,18 +16,28 @@ 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",
|
||||
'class="project-analysis-tabs"',
|
||||
].forEach((token) => assert(dialog.includes(token), token));
|
||||
|
||||
assert(!dialog.includes("project-analysis-layout__main-scroll"), "主区不应再有独立滚动容器");
|
||||
|
||||
[
|
||||
"detailData.groups",
|
||||
'group.groupType === "BANK_STATEMENT"',
|
||||
'group.groupType === "OBJECT"',
|
||||
"group.groupName",
|
||||
"abnormal-card__content",
|
||||
"statementPageSize: 5",
|
||||
"statementPageMap",
|
||||
"slice(startIndex, startIndex + this.statementPageSize)",
|
||||
@@ -48,3 +58,9 @@ const abnormalTab = fs.readFileSync(
|
||||
"extraFields",
|
||||
"grid-template-columns: minmax(0, 1fr)",
|
||||
].forEach((token) => assert(abnormalTab.includes(token), token));
|
||||
|
||||
[
|
||||
"placeholder-panel",
|
||||
"placeholder-panel__title",
|
||||
"placeholder-panel__text",
|
||||
].forEach((token) => assert(placeholderTab.includes(token), token));
|
||||
|
||||
Reference in New Issue
Block a user