实现风险明细员工负面征信功能
This commit is contained in:
@@ -54,6 +54,7 @@ import {
|
||||
} from "./preliminaryCheck.mock";
|
||||
import {
|
||||
getOverviewDashboard,
|
||||
getOverviewEmployeeCreditNegative,
|
||||
getOverviewRiskPeople,
|
||||
getOverviewRiskModelCards,
|
||||
getOverviewSuspiciousTransactions,
|
||||
@@ -198,7 +199,7 @@ export default {
|
||||
this.selectedModelCodes = [];
|
||||
this.resetProjectAnalysisDialog();
|
||||
try {
|
||||
const [dashboardRes, riskPeopleRes, riskModelCardsRes, suspiciousRes] = await Promise.all([
|
||||
const [dashboardRes, riskPeopleRes, riskModelCardsRes, suspiciousRes, creditNegativeRes] = await Promise.all([
|
||||
getOverviewDashboard(this.projectId),
|
||||
getOverviewRiskPeople(this.projectId),
|
||||
getOverviewRiskModelCards(this.projectId),
|
||||
@@ -208,11 +209,17 @@ export default {
|
||||
pageNum: 1,
|
||||
pageSize: 5,
|
||||
}),
|
||||
getOverviewEmployeeCreditNegative({
|
||||
projectId: this.projectId,
|
||||
pageNum: 1,
|
||||
pageSize: 5,
|
||||
}),
|
||||
]);
|
||||
const dashboardData = (dashboardRes && dashboardRes.data) || {};
|
||||
const riskPeopleData = (riskPeopleRes && riskPeopleRes.data) || {};
|
||||
const riskModelCardsData = (riskModelCardsRes && riskModelCardsRes.data) || {};
|
||||
const suspiciousData = (suspiciousRes && suspiciousRes.data) || {};
|
||||
const creditNegativeData = (creditNegativeRes && creditNegativeRes.data) || {};
|
||||
|
||||
this.realData = createOverviewLoadedData({
|
||||
projectId: this.projectId,
|
||||
@@ -220,6 +227,7 @@ export default {
|
||||
riskPeopleData,
|
||||
riskModelCardsData,
|
||||
suspiciousData,
|
||||
creditNegativeData,
|
||||
});
|
||||
|
||||
const hasOverviewData = Boolean(
|
||||
|
||||
Reference in New Issue
Block a user