实现结果总览模型与明细区块

This commit is contained in:
wkc
2026-03-19 10:37:53 +08:00
parent 75dbb76e0c
commit e4706fb7e8
5 changed files with 453 additions and 24 deletions

View File

@@ -0,0 +1,25 @@
const assert = require("assert");
const fs = require("fs");
const path = require("path");
const model = fs.readFileSync(
path.resolve(
__dirname,
"../../src/views/ccdiProject/components/detail/RiskModelSection.vue"
),
"utf8"
);
const detail = fs.readFileSync(
path.resolve(
__dirname,
"../../src/views/ccdiProject/components/detail/RiskDetailSection.vue"
),
"utf8"
);
["模型预警次数统计", "命中模型涉及人员", "筛查模型", "预警类型"].forEach((token) =>
assert(model.includes(token), token)
);
["涉险交易明细", "异常账户人员信息", "查看详情"].forEach((token) =>
assert(detail.includes(token), token)
);