补充项目详情风险人员导出能力

This commit is contained in:
wkc
2026-03-30 15:59:06 +08:00
parent b96161ecf4
commit 933214a495
16 changed files with 386 additions and 25 deletions

View File

@@ -0,0 +1,18 @@
const assert = require("assert");
const fs = require("fs");
const path = require("path");
const source = fs.readFileSync(
path.resolve(__dirname, "../../src/views/ccdiProject/components/detail/RiskPeopleSection.vue"),
"utf8"
);
[
"handleRiskPeopleExport",
"this.download(",
"ccdi/project/overview/risk-people/export",
"projectId: this.projectId",
"风险人员总览_",
].forEach((token) => assert(source.includes(token), token));
assert(source.includes('@click="handleRiskPeopleExport"'), "导出按钮必须绑定导出事件");