实现结果总览详情资产和征信页签
This commit is contained in:
@@ -27,26 +27,33 @@ const mockSource = fs.readFileSync(
|
||||
'name="abnormalDetail"',
|
||||
'label="异常明细"',
|
||||
'label="资产分析"',
|
||||
'label="征信摘要"',
|
||||
'label="征信详情"',
|
||||
'label="关系图谱"',
|
||||
'label="资金流向"',
|
||||
"<family-asset-liability-detail",
|
||||
"<credit-info-detail",
|
||||
"fetchAssetDetailData()",
|
||||
"fetchCreditDetailData()",
|
||||
"getFamilyAssetLiabilityDetail",
|
||||
"getCreditInfoDetail",
|
||||
"fetchDetailData()",
|
||||
"detailLoading",
|
||||
"detailError",
|
||||
"handleRetryDetail()",
|
||||
"background: #f5f7fb",
|
||||
"border: 1px solid #dbe4ef",
|
||||
"border-radius: 8px",
|
||||
"assetLoaded",
|
||||
"creditLoaded",
|
||||
"缺少项目或人员身份证号,无法加载资产详情",
|
||||
"缺少人员身份证号,无法加载征信详情",
|
||||
].forEach((token) => assert(dialog.includes(token), token));
|
||||
|
||||
[
|
||||
'width="92%"',
|
||||
'width="88%"',
|
||||
'top="2vh"',
|
||||
"project-analysis-header__main",
|
||||
"project-analysis-header__meta",
|
||||
"project-analysis-layout__main",
|
||||
"flex: 0 0 320px",
|
||||
"border-radius: 6px",
|
||||
"flex: 0 0 34%",
|
||||
"border-radius: 2px",
|
||||
].forEach((token) => assert(dialog.includes(token), token));
|
||||
|
||||
[
|
||||
@@ -65,7 +72,14 @@ const mockSource = fs.readFileSync(
|
||||
"projectAnalysisTabs",
|
||||
'key: "abnormalDetail"',
|
||||
'key: "assetAnalysis"',
|
||||
'key: "creditSummary"',
|
||||
'key: "creditDetail"',
|
||||
'label: "征信详情"',
|
||||
'key: "relationshipGraph"',
|
||||
'key: "fundFlow"',
|
||||
].forEach((token) => assert(mockSource.includes(token), token));
|
||||
|
||||
[
|
||||
'label="征信摘要"',
|
||||
'key: "creditSummary"',
|
||||
"静态承载征信摘要页签内容,本轮不接入新接口。",
|
||||
].forEach((token) => assert(!dialog.includes(token) && !mockSource.includes(token), token));
|
||||
|
||||
Reference in New Issue
Block a user