搭建结果总览页面骨架

This commit is contained in:
wkc
2026-03-19 10:35:40 +08:00
parent 4f945a6ed3
commit 01ba288581
3 changed files with 104 additions and 16 deletions

View File

@@ -0,0 +1,20 @@
const assert = require("assert");
const fs = require("fs");
const path = require("path");
const componentPath = path.resolve(
__dirname,
"../../src/views/ccdiProject/components/detail/PreliminaryCheck.vue"
);
const source = fs.readFileSync(componentPath, "utf8");
[
"OverviewStats",
"RiskPeopleSection",
"RiskModelSection",
"RiskDetailSection",
"pageState",
"mockOverviewData",
].forEach((token) => {
assert(source.includes(token), `结果总览入口缺少结构: ${token}`);
});