调整专项核查详情展示并补充家庭资产负债测试数据

This commit is contained in:
wkc
2026-03-24 21:34:38 +08:00
parent eaea112831
commit adb6b00ed0
19 changed files with 816 additions and 34 deletions

View File

@@ -0,0 +1,31 @@
const fs = require("fs");
const path = require("path");
const componentPath = path.resolve(
__dirname,
"../../../ruoyi-ui/src/views/ccdiProject/components/detail/SpecialCheck.vue"
);
const componentContent = fs.readFileSync(componentPath, "utf8");
const requiredSnippets = [
'class="graph-placeholder-card"',
"图谱外链展示",
"用于后续接入外链图谱页面",
"待接入",
"min-height: 500px",
];
const missingSnippets = requiredSnippets.filter(
(snippet) => !componentContent.includes(snippet)
);
if (missingSnippets.length) {
console.error("专项核查图谱占位卡片校验失败,缺少以下内容:");
missingSnippets.forEach((snippet) => {
console.error(`- ${snippet}`);
});
process.exit(1);
}
console.log("专项核查图谱占位卡片校验通过");