实现结果总览详情弹窗前端接线

This commit is contained in:
wkc
2026-03-25 15:26:03 +08:00
parent a52fb35bd3
commit 78ae93330c
15 changed files with 506 additions and 78 deletions

View File

@@ -13,9 +13,11 @@ const entry = fs.readFileSync(
[
"currentProjectAnalysisPerson",
"projectAnalysisSource",
"projectAnalysisModelSummary",
"openProjectAnalysisDialog(source, person)",
'this.projectAnalysisSource = source || "riskPeople"',
"this.currentProjectAnalysisPerson = person || null",
"this.projectAnalysisModelSummary = this.buildProjectAnalysisModelSummary",
"this.projectAnalysisDialogVisible = true",
'this.openProjectAnalysisDialog("riskPeople", row)',
'this.openProjectAnalysisDialog("riskModelPeople", row)',
@@ -25,5 +27,11 @@ const entry = fs.readFileSync(
[
':person="currentProjectAnalysisPerson"',
':source="projectAnalysisSource"',
':model-summary="projectAnalysisModelSummary"',
"@close=\"handleProjectAnalysisDialogClose\"",
].forEach((token) => assert(entry.includes(token), token));
[
"buildProjectAnalysisModelSummary(source, person)",
"staffIdCard",
].forEach((token) => assert(entry.includes(token), token));