实现风险明细员工负面征信功能

This commit is contained in:
wkc
2026-03-28 16:13:24 +08:00
parent 559572da8c
commit 2cb4481c3b
23 changed files with 672 additions and 5 deletions

View File

@@ -0,0 +1,24 @@
const assert = require("assert");
const fs = require("fs");
const path = require("path");
const source = fs.readFileSync(
path.resolve(__dirname, "../../src/views/ccdiProject/components/detail/PreliminaryCheck.vue"),
"utf8"
);
const mockSource = fs.readFileSync(
path.resolve(__dirname, "../../src/views/ccdiProject/components/detail/preliminaryCheck.mock.js"),
"utf8"
);
[
"getOverviewEmployeeCreditNegative",
"creditNegativeRes",
"creditNegativeData",
].forEach((token) => assert(source.includes(token), token));
[
"normalizeEmployeeCreditNegativeRows",
"employeeCreditNegativeList",
"employeeCreditNegativeTotal",
].forEach((token) => assert(mockSource.includes(token), token));