From f0a342b4706e6205f9194fc0a573e6a238e60cca Mon Sep 17 00:00:00 2001
From: yujialong <479214531@qq.com>
Date: Tue, 7 May 2024 14:33:31 +0800
Subject: [PATCH] fix
---
src/api/model.ts | 127 ++++++++++++++---------------
src/views/product/bank/Approve.vue | 2 +-
src/views/product/bank/Config.vue | 43 +++++++---
src/views/product/bank/Info.vue | 127 ++++++++++++++++++++++-------
4 files changed, 191 insertions(+), 108 deletions(-)
diff --git a/src/api/model.ts b/src/api/model.ts
index dc4467a..aa91d69 100644
--- a/src/api/model.ts
+++ b/src/api/model.ts
@@ -5,21 +5,21 @@ const host = `http://192.168.31.51:9000`;
export const accessStrategyGovernmentBlacklistList = async (data: Record): Promise =>
(
- await axios.post(`${host}/product/accessStrategyGovernmentBlacklist/list`, {
+ await axios.post(`/product/accessStrategyGovernmentBlacklist/list`, {
...getIds(),
...data,
})
).data;
export const accessStrategyGovernmentBlacklistFind = async (params: Record): Promise =>
- (await axios.post(`${host}/product/accessStrategyGovernmentBlacklist/details`, {}, { params })).data;
+ (await axios.post(`/product/accessStrategyGovernmentBlacklist/details`, {}, { params })).data;
export const accessStrategyGovernmentBlacklistSave = async (data: Record): Promise =>
- (await axios.post(`${host}/product/accessStrategyGovernmentBlacklist/saveOrUpdate`, data)).data;
+ (await axios.post(`/product/accessStrategyGovernmentBlacklist/saveOrUpdate`, data)).data;
export const accessStrategyGovernmentBlacklistDel = async (data: Record): Promise =>
- (await axios.post(`${host}/product/accessStrategyGovernmentBlacklist/delete`, data)).data;
+ (await axios.post(`/product/accessStrategyGovernmentBlacklist/delete`, data)).data;
export const accessStrategyEnterpriseBlacklist = async (data: Record): Promise =>
(
- await axios.post(`${host}/product/accessStrategyEnterpriseBlacklist/list`, {
+ await axios.post(`/product/accessStrategyEnterpriseBlacklist/list`, {
...getIds(),
...data,
})
@@ -29,11 +29,11 @@ export const accessStrategyEnterpriseBlacklistFind = async (params: Record): Promise =>
(await axios.post(`/product/accessStrategyEnterpriseBlacklist/saveOrUpdate`, data)).data;
export const accessStrategyEnterpriseBlacklistDel = async (data: Record): Promise =>
- (await axios.post(`${host}/product/accessStrategyEnterpriseBlacklist/delete`, data)).data;
+ (await axios.post(`/product/accessStrategyEnterpriseBlacklist/delete`, data)).data;
export const accessStrategyAntiFraudStrategy = async (data: Record): Promise =>
(
- await axios.post(`${host}/product/accessStrategyAntiFraudStrategy/list`, {
+ await axios.post(`/product/accessStrategyAntiFraudStrategy/list`, {
...getIds(),
...data,
})
@@ -43,39 +43,38 @@ export const accessStrategyAntiFraudStrategyFind = async (params: Record): Promise =>
(await axios.post(`/product/accessStrategyAntiFraudStrategy/saveOrUpdate`, data)).data;
export const accessStrategyAntiFraudStrategyDel = async (data: Record): Promise =>
- (await axios.post(`${host}/product/accessStrategyAntiFraudStrategy/delete`, data)).data;
+ (await axios.post(`/product/accessStrategyAntiFraudStrategy/delete`, data)).data;
export const accessStrategyBusinessBlacklist = async (data: Record): Promise =>
(
- await axios.post(`${host}/product/accessStrategyBusinessBlacklist/list`, {
+ await axios.post(`/product/accessStrategyBusinessBlacklist/list`, {
...getIds(),
...data,
})
).data;
export const accessStrategyBusinessBlacklistFind = async (params: Record): Promise =>
- (await axios.post(`${host}/product/accessStrategyBusinessBlacklist/details`, {}, { params })).data;
+ (await axios.post(`/product/accessStrategyBusinessBlacklist/details`, {}, { params })).data;
export const accessStrategyBusinessBlacklistSave = async (data: Record): Promise =>
- (await axios.post(`${host}/product/accessStrategyBusinessBlacklist/saveOrUpdate`, data)).data;
+ (await axios.post(`/product/accessStrategyBusinessBlacklist/saveOrUpdate`, data)).data;
export const accessStrategyBusinessBlacklistDel = async (data: Record): Promise =>
- (await axios.post(`${host}/product/accessStrategyBusinessBlacklist/delete`, data)).data;
+ (await axios.post(`/product/accessStrategyBusinessBlacklist/delete`, data)).data;
export const accessStrategyCreditBlacklist = async (data: Record): Promise =>
(
- await axios.post(`${host}/product/accessStrategyCreditBlacklist/list`, {
+ await axios.post(`/product/accessStrategyCreditBlacklist/list`, {
...getIds(),
...data,
})
).data;
export const accessStrategyCreditBlacklistFind = async (params: Record): Promise =>
- (await axios.post(`${host}/product/accessStrategyCreditBlacklist/details`, {}, { params })).data;
+ (await axios.post(`/product/accessStrategyCreditBlacklist/details`, {}, { params })).data;
export const accessStrategyCreditBlacklistSave = async (data: Record): Promise =>
- (await axios.post(`${host}/product/accessStrategyCreditBlacklist/saveOrUpdate`, data)).data;
-export const accessStrategyCreditBlacklistDel = async (data: Record): Promise =>
- (await axios.post(`${host}/product/accessStrategyCreditBlacklist/delete`, data)).data;
+ (await axios.post(`/product/accessStrategyCreditBlacklist/saveOrUpdate`, data)).data;
+export const accessStrategyCreditBlacklistDel = async (data: Record): Promise => (await axios.post(`/product/accessStrategyCreditBlacklist/delete`, data)).data;
export const accessStrategyInlineBlacklist = async (data: Record): Promise =>
(
- await axios.post(`${host}/product/accessStrategyInlineBlacklist/list`, {
+ await axios.post(`/product/accessStrategyInlineBlacklist/list`, {
...getIds(),
...data,
})
@@ -84,132 +83,128 @@ export const accessStrategyInlineBlacklistFind = async (params: Record): Promise =>
(await axios.post(`/product/accessStrategyInlineBlacklist/saveOrUpdate`, data)).data;
-export const accessStrategyInlineBlacklistDel = async (data: Record): Promise =>
- (await axios.post(`${host}/product/accessStrategyInlineBlacklist/delete`, data)).data;
+export const accessStrategyInlineBlacklistDel = async (data: Record): Promise => (await axios.post(`/product/accessStrategyInlineBlacklist/delete`, data)).data;
export const accessStrategyNegativeIndustryStrategy = async (data: Record): Promise =>
(
- await axios.post(`${host}/product/accessStrategyNegativeIndustryStrategy/list`, {
+ await axios.post(`/product/accessStrategyNegativeIndustryStrategy/list`, {
...getIds(),
...data,
})
).data;
export const accessStrategyNegativeIndustryStrategyFind = async (params: Record): Promise =>
- (await axios.post(`${host}/product/accessStrategyNegativeIndustryStrategy/details`, {}, { params })).data;
+ (await axios.post(`/product/accessStrategyNegativeIndustryStrategy/details`, {}, { params })).data;
export const accessStrategyNegativeIndustryStrategySave = async (data: Record): Promise =>
- (await axios.post(`${host}/product/accessStrategyNegativeIndustryStrategy/saveOrUpdate`, data)).data;
+ (await axios.post(`/product/accessStrategyNegativeIndustryStrategy/saveOrUpdate`, data)).data;
export const accessStrategyNegativeIndustryStrategyDel = async (data: Record): Promise =>
- (await axios.post(`${host}/product/accessStrategyNegativeIndustryStrategy/delete`, data)).data;
+ (await axios.post(`/product/accessStrategyNegativeIndustryStrategy/delete`, data)).data;
-export const delCredit = async (data: Record): Promise => (await axios.post(`${host}/product/creditScoringStrategy/delete`, data)).data;
-export const findCredit = async (id: number): Promise => (await axios.post(`${host}/product/creditScoringStrategy/details?strategyId=${id}`)).data;
+export const delCredit = async (data: Record): Promise => (await axios.post(`/product/creditScoringStrategy/delete`, data)).data;
+export const findCredit = async (id: number): Promise => (await axios.post(`/product/creditScoringStrategy/details?strategyId=${id}`)).data;
export const listCredit = async (data: Record): Promise =>
(
- await axios.post(`${host}/product/creditScoringStrategy/list`, {
+ await axios.post(`/product/creditScoringStrategy/list`, {
...data,
...getIds(),
})
).data;
-export const saveCredit = async (data: Record): Promise => (await axios.post(`${host}/product/creditScoringStrategy/saveOrUpdate`, data)).data;
+export const saveCredit = async (data: Record): Promise => (await axios.post(`/product/creditScoringStrategy/saveOrUpdate`, data)).data;
export const detailRick = async (type: number): Promise =>
(
- await axios.post(`${host}/product/riskDegreeStrategy/details`, {
+ await axios.post(`/product/riskDegreeStrategy/details`, {
...getIds(),
type,
})
).data;
-export const saveRick = async (data: Record): Promise => (await axios.post(`${host}/product/riskDegreeStrategy/saveOrUpdate`, data)).data;
+export const saveRick = async (data: Record): Promise => (await axios.post(`/product/riskDegreeStrategy/saveOrUpdate`, data)).data;
export const interestRateModelList = async (data: Record): Promise =>
(
- await axios.post(`${host}/product/interestRateModel/list`, {
+ await axios.post(`/product/interestRateModel/list`, {
...getIds(),
...data,
})
).data;
export const businessInterestRateDetails = async (params: Record): Promise =>
- (await axios.post(`${host}/product/interestRateModel/businessInterestRateDetails`, {}, { params })).data;
+ (await axios.post(`/product/interestRateModel/businessInterestRateDetails`, {}, { params })).data;
export const businessInterestRateSaveOrUpdate = async (data: Record): Promise =>
- (await axios.post(`${host}/product/interestRateModel/businessInterestRateSaveOrUpdate`, data)).data;
+ (await axios.post(`/product/interestRateModel/businessInterestRateSaveOrUpdate`, data)).data;
export const personalInterestRateDetails = async (params: Record): Promise =>
- (await axios.post(`${host}/product/interestRateModel/personalInterestRateDetails`, {}, { params })).data;
+ (await axios.post(`/product/interestRateModel/personalInterestRateDetails`, {}, { params })).data;
export const personalInterestRateSaveOrUpdate = async (data: Record): Promise =>
- (await axios.post(`${host}/product/interestRateModel/personalInterestRateSaveOrUpdate`, data)).data;
-export const deleteBusinessInterestRate = async (data: Record): Promise =>
- (await axios.post(`${host}/product/interestRateModel/deleteBusinessInterestRate`, data)).data;
-export const deletePersonalInterestRate = async (data: Record): Promise =>
- (await axios.post(`${host}/product/interestRateModel/deletePersonalInterestRate`, data)).data;
+ (await axios.post(`/product/interestRateModel/personalInterestRateSaveOrUpdate`, data)).data;
+export const deleteBusinessInterestRate = async (data: Record): Promise => (await axios.post(`/product/interestRateModel/deleteBusinessInterestRate`, data)).data;
+export const deletePersonalInterestRate = async (data: Record): Promise => (await axios.post(`/product/interestRateModel/deletePersonalInterestRate`, data)).data;
export const quotaModelList = async (data: Record): Promise =>
(
- await axios.post(`${host}/product/quotaModel/list`, {
+ await axios.post(`/product/quotaModel/list`, {
...getIds(),
...data,
})
).data;
-export const quotaModelDel = async (data: Record): Promise => (await axios.post(`${host}/product/quotaModel/delete`, data)).data;
-export const businessQuotaModelDetails = async (): Promise => (await axios.post(`${host}/product/quotaModel/businessQuotaModelDetails`, getIds())).data;
+export const quotaModelDel = async (data: Record): Promise => (await axios.post(`/product/quotaModel/delete`, data)).data;
+export const businessQuotaModelDetails = async (): Promise => (await axios.post(`/product/quotaModel/businessQuotaModelDetails`, getIds())).data;
export const businessQuotaModelSaveOrUpdate = async (data: Record): Promise =>
- (await axios.post(`${host}/product/quotaModel/businessQuotaModelSaveOrUpdate`, data)).data;
+ (await axios.post(`/product/quotaModel/businessQuotaModelSaveOrUpdate`, data)).data;
export const personalCreditModelDetails = async (params: Record): Promise =>
- (await axios.post(`${host}/product/quotaModel/personalCreditModelDetails`, {}, { params })).data;
+ (await axios.post(`/product/quotaModel/personalCreditModelDetails`, {}, { params })).data;
export const personalCreditModelSaveOrUpdate = async (data: Record): Promise =>
- (await axios.post(`${host}/product/quotaModel/personalCreditModelSaveOrUpdate`, data)).data;
+ (await axios.post(`/product/quotaModel/personalCreditModelSaveOrUpdate`, data)).data;
export const fiveLevelClassification = async (data: Record): Promise =>
(
- await axios.post(`${host}/product/fiveLevelClassification/list`, {
+ await axios.post(`/product/fiveLevelClassification/list`, {
...getIds(),
...data,
})
).data;
export const fiveLevelClassificationDetails = async (params: Record): Promise =>
- (await axios.post(`${host}/product/fiveLevelClassification/details`, {}, { params })).data;
-export const fiveLevelClassificationSave = async (data: Record): Promise => (await axios.post(`${host}/product/fiveLevelClassification/saveOrUpdate`, data)).data;
-export const fiveLevelClassificationDel = async (data: Record): Promise => (await axios.post(`${host}/product/fiveLevelClassification/delete`, data)).data;
+ (await axios.post(`/product/fiveLevelClassification/details`, {}, { params })).data;
+export const fiveLevelClassificationSave = async (data: Record): Promise => (await axios.post(`/product/fiveLevelClassification/saveOrUpdate`, data)).data;
+export const fiveLevelClassificationDel = async (data: Record): Promise => (await axios.post(`/product/fiveLevelClassification/delete`, data)).data;
export const postLoanInspection = async (data: Record): Promise =>
(
- await axios.post(`${host}/product/postLoanInspection/list`, {
+ await axios.post(`/product/postLoanInspection/list`, {
...getIds(),
...data,
})
).data;
-export const postLoanInspectionDetails = async (params: Record): Promise => (await axios.post(`${host}/product/postLoanInspection/details`, {}, { params })).data;
-export const postLoanInspectionSave = async (data: Record): Promise => (await axios.post(`${host}/product/postLoanInspection/saveOrUpdate`, data)).data;
-export const postLoanInspectionDel = async (data: Record): Promise => (await axios.post(`${host}/product/postLoanInspection/delete`, data)).data;
+export const postLoanInspectionDetails = async (params: Record): Promise => (await axios.post(`/product/postLoanInspection/details`, {}, { params })).data;
+export const postLoanInspectionSave = async (data: Record): Promise => (await axios.post(`/product/postLoanInspection/saveOrUpdate`, data)).data;
+export const postLoanInspectionDel = async (data: Record): Promise => (await axios.post(`/product/postLoanInspection/delete`, data)).data;
export const postCreditScore = async (data: Record): Promise =>
(
- await axios.post(`${host}/product/postCreditScore/list`, {
+ await axios.post(`/product/postCreditScore/list`, {
...getIds(),
...data,
})
).data;
-export const postCreditScoreDetails = async (params: Record): Promise => (await axios.post(`${host}/product/postCreditScore/details`, {}, { params })).data;
-export const postCreditScoreSave = async (data: Record): Promise => (await axios.post(`${host}/product/postCreditScore/saveOrUpdate`, data)).data;
-export const postCreditScoreDel = async (data: Record): Promise => (await axios.post(`${host}/product/postCreditScore/delete`, data)).data;
+export const postCreditScoreDetails = async (params: Record): Promise => (await axios.post(`/product/postCreditScore/details`, {}, { params })).data;
+export const postCreditScoreSave = async (data: Record): Promise => (await axios.post(`/product/postCreditScore/saveOrUpdate`, data)).data;
+export const postCreditScoreDel = async (data: Record): Promise => (await axios.post(`/product/postCreditScore/delete`, data)).data;
export const postLoanWarning = async (data: Record): Promise =>
(
- await axios.post(`${host}/product/postLoanWarning/list`, {
+ await axios.post(`/product/postLoanWarning/list`, {
...getIds(),
...data,
})
).data;
-export const postLoanWarningDetails = async (params: Record): Promise => (await axios.post(`${host}/product/postLoanWarning/details`, {}, { params })).data;
-export const postLoanWarningSave = async (data: Record): Promise => (await axios.post(`${host}/product/postLoanWarning/saveOrUpdate`, data)).data;
-export const postLoanWarningDel = async (data: Record): Promise => (await axios.post(`${host}/product/postLoanWarning/delete`, data)).data;
+export const postLoanWarningDetails = async (params: Record): Promise => (await axios.post(`/product/postLoanWarning/details`, {}, { params })).data;
+export const postLoanWarningSave = async (data: Record): Promise => (await axios.post(`/product/postLoanWarning/saveOrUpdate`, data)).data;
+export const postLoanWarningDel = async (data: Record): Promise => (await axios.post(`/product/postLoanWarning/delete`, data)).data;
export const collectionAfterLoan = async (data: Record): Promise =>
(
- await axios.post(`${host}/product/collectionAfterLoan/list`, {
+ await axios.post(`/product/collectionAfterLoan/list`, {
...getIds(),
...data,
})
).data;
-export const collectionAfterLoanDetails = async (params: Record): Promise =>
- (await axios.post(`${host}/product/collectionAfterLoan/details`, {}, { params })).data;
-export const collectionAfterLoanSave = async (data: Record): Promise => (await axios.post(`${host}/product/collectionAfterLoan/saveOrUpdate`, data)).data;
-export const collectionAfterLoanDel = async (data: Record): Promise => (await axios.post(`${host}/product/collectionAfterLoan/delete`, data)).data;
+export const collectionAfterLoanDetails = async (params: Record): Promise => (await axios.post(`/product/collectionAfterLoan/details`, {}, { params })).data;
+export const collectionAfterLoanSave = async (data: Record): Promise => (await axios.post(`/product/collectionAfterLoan/saveOrUpdate`, data)).data;
+export const collectionAfterLoanDel = async (data: Record): Promise => (await axios.post(`/product/collectionAfterLoan/delete`, data)).data;
diff --git a/src/views/product/bank/Approve.vue b/src/views/product/bank/Approve.vue
index 90c1bbc..6e1ade4 100644
--- a/src/views/product/bank/Approve.vue
+++ b/src/views/product/bank/Approve.vue
@@ -116,7 +116,7 @@ const sign = async () => {
};
// 新增判分记录
const addRecord = async (data: Record) => {
- const approved = !!infoRef.value.info.approvalTime; // 有审批时间则表示审批过了,判分点要用第二次审批的id
+ const approved = data.status !== 299; // 选择的是审批打回,则取倒数第二次的判分id,否则取最后一次的
const preIds = `1,${levelId},43,${approved ? 1219 : 1218}`; // 1,关卡id,角色(这个页面是专家委员会审批)
const lcRule = [
handleId(approved ? 1215 : 145, 69, data.status, `${preIds},${approved ? '1215' : '145'}`, 1),
diff --git a/src/views/product/bank/Config.vue b/src/views/product/bank/Config.vue
index 942b639..9109286 100644
--- a/src/views/product/bank/Config.vue
+++ b/src/views/product/bank/Config.vue
@@ -859,12 +859,12 @@ const getRate = async (i: number) => {
try {
let res;
if (!i) {
- res = await quotaModelList({
+ res = await interestRateModelList({
...strategyParams,
type: 1,
}); // 个人利率模型
} else if (i === 1) {
- res = await interestRateModelList({
+ res = await quotaModelList({
...strategyParams,
type: 1,
}); // 个人额度模型
@@ -906,13 +906,19 @@ const getConfig = async () => {
process[2].recordChildren[1].recordChildren.map((e) => {
form.bankRiskControlAllocationTacticsList.push({
type: 1,
- bankId: '',
+ bankId: id.value,
id: '',
tacticsId: '',
tacticsPointId: e.id,
tacticsSelectedStatus: '',
});
});
+ } else {
+ // 查询对应策略列表
+ form.bankRiskControlAllocationTacticsList.map((e, i) => {
+ if (!e.tacticsId) e.tacticsId = '';
+ e.tacticsSelectedStatus === 803 && getAccess(i);
+ });
}
// 信用评分策略
@@ -920,13 +926,19 @@ const getConfig = async () => {
process[2].recordChildren[2].recordChildren.map((e) => {
form.creditScoringStrategyList.push({
type: 2,
- bankId: '',
+ bankId: id.value,
id: '',
tacticsId: '',
tacticsPointId: e.id,
tacticsSelectedStatus: '',
});
});
+ } else {
+ // 查询对应策略列表
+ form.creditScoringStrategyList.map((e, i) => {
+ if (!e.tacticsId) e.tacticsId = '';
+ e.tacticsSelectedStatus === 803 && getCredits(i);
+ });
}
// 利率定价模型
@@ -935,13 +947,19 @@ const getConfig = async () => {
i !== 2 &&
form.interestRatePricingModelList.push({
type: 3,
- bankId: '',
+ bankId: id.value,
id: '',
tacticsId: '',
tacticsPointId: e.id,
tacticsSelectedStatus: '',
});
});
+ } else {
+ // 查询对应策略列表
+ form.interestRatePricingModelList.map((e, i) => {
+ if (!e.tacticsId) e.tacticsId = '';
+ e.tacticsSelectedStatus === 803 && getRate(i);
+ });
}
// 贷后选择
@@ -949,21 +967,18 @@ const getConfig = async () => {
process[7].recordChildren.map((e) => {
form.postLoanSelectionStrategyList.push({
type: 4,
- bankId: '',
+ bankId: id.value,
id: '',
tacticsId: '',
tacticsPointId: e.id,
tacticsSelectedStatus: '',
});
});
- }
-
- // 准入策略选择了需要跑批则查询对应策略列表
- const risk = form.bankRiskControlAllocationTacticsList;
- if (risk) {
- risk.map((e, i) => {
+ } else {
+ // 查询对应策略列表
+ form.postLoanSelectionStrategyList.map((e, i) => {
if (!e.tacticsId) e.tacticsId = '';
- e.tacticsSelectedStatus === 803 && getAccess(i);
+ e.tacticsSelectedStatus === 803 && getAfter(i);
});
}
};
@@ -980,6 +995,8 @@ const getDetail = async () => {
const res = await riskControlDetailsAreDisplayed(id.value);
const e = res.data;
if (e) {
+ if (e.personalRiskDegreeStrategySelectedStatus) e.personalRiskDegreeStrategySelectedStatus = +e.personalRiskDegreeStrategySelectedStatus;
+ if (e.enterpriseRiskDegreeStrategySelectedStatus) e.enterpriseRiskDegreeStrategySelectedStatus = +e.enterpriseRiskDegreeStrategySelectedStatus;
e.enterpriseQuotaModel = e?.enterpriseQuotaModel?.split(',').map((e) => +e);
e.reviewSignature = e?.reviewSignature?.length ? e.reviewSignature[0] : '';
e.approvalSignature = e?.approvalSignature?.length ? e.approvalSignature[0] : '';
diff --git a/src/views/product/bank/Info.vue b/src/views/product/bank/Info.vue
index 246c438..c7deaf8 100644
--- a/src/views/product/bank/Info.vue
+++ b/src/views/product/bank/Info.vue
@@ -70,27 +70,61 @@
class="text">系统跑批准入风控策略-跑批对象:{{ riskInfo?.runBatchObject }}
-
- 系统跑批{{ item.pointName }}:{{ item.tacticsName }}
+
+
+ 系统跑批{{ item.pointName }}:{{ item.tacticsName || '无需跑批' }}
-
-
+
+
+
+
+
+
+
+
+ 系统跑批{{ item.pointName }}:{{ item.tacticsName || '无需跑批' }}
+
+
+
+
+ 系统跑批风险度策略:
+ {{ info?.personalRiskDegreeStrategySelectedStatus === 803 ? '个人风险度策略' : '' }}
+ {{ info?.personalRiskDegreeStrategySelectedStatus === 803 && info?.enterpriseRiskDegreeStrategySelectedStatus === 803 ? ',' : '' }}
+ {{ info?.enterpriseRiskDegreeStrategySelectedStatus === 803 ? '企业风险度策略' : '' }}
+
+
+
+
+ 系统跑批{{ item.pointName }}:{{ item.tacticsName || '无需跑批' }}
+
+
+
+
+
+
+ 系统跑批企业额度模型:{{ info?.enterpriseQuotaModelStr }}
- 系统跑批准入风控策略-信用评分策略:{{ riskInfo?.personalCreditScoringStrategies }}
- 系统跑批准入风控策略-风险度策略:{{ riskInfo?.riskDegreeStrategy }}
- 系统跑批准入风控策略-利率定价模型-{{ info.productType ? '企业' : '个人' }}额度模型:{{ riskInfo?.interestRatePricingModel }}
- 系统跑批准入风控策略-利率定价模型-{{ info.productType ? '企业' : '个人' }}利率模型
尽职调查-尽调方式:{{ riskInfo?.dueDiligenceMode }}
签订合同-提供的材料:{{ riskInfo?.contractMaterials }}
签订合同-合同模板-借贷合同:{{ riskInfo?.loanContract }}
+ class="text">需要签订借贷合同:{{ riskInfo?.loanContract }}
签订合同-合同模板-抵押合同:{{ riskInfo?.mortgageContract }}
+ class="text">需要签订抵押合同:{{ riskInfo?.mortgageContract }}
签订合同-合同模板-质押合同:{{ riskInfo?.pledgeContract }}
+ class="text">需要签订质押合同:{{ riskInfo?.pledgeContract }}
签订合同-合同模板-担保合同:{{ riskInfo?.guaranteeContract }}
- 贷后管理-选择策略:{{ riskInfo?.selectionStrategy }}
+ class="text">需要签订担保合同:{{ riskInfo?.guaranteeContract }}
+
+
+
+
+ 系统跑批{{ item.pointName }}:{{ item.tacticsName || '无需跑批' }}
+
+
+
+
+
{{ route.params.action !== 'add' ? '四、' : '' }}业务流程
1、贷款人APP向智信银行公司业务部门提交借款申请,同时提交贷款用途证明文件以及有关资料;
@@ -181,6 +229,7 @@ const curRow = ref>();
const curPreview = ref('150');
const curPreviewTitle = ref();
const assessNames = ['政务黑名单', '征信黑名单', '商采黑名单', '行内黑名单', '企业黑名单', '反欺诈策略', '负面行业黑名单策略'];
+const afterNames = ['五级分类策略', '贷后检查策略', '贷后评分卡', '贷后预警策略', '贷后催收策略'];
const dynamicComponentMap = {
'150': defineAsyncComponent(() => import('../strategy/150/Detail.vue')),
'151': defineAsyncComponent(() => import('../strategy/151/Detail.vue')),
@@ -189,10 +238,13 @@ const dynamicComponentMap = {
'154': defineAsyncComponent(() => import('../strategy/154/Detail.vue')),
'155': defineAsyncComponent(() => import('../strategy/155/Detail.vue')),
'156': defineAsyncComponent(() => import('../strategy/156/Detail.vue')),
- // '148': defineAsyncComponent(() => import('./Credit.vue')),
- // '702': defineAsyncComponent(() => import('./Risk1.vue')),
- // '703': defineAsyncComponent(() => import('./Risk2.vue')),
- // '704': defineAsyncComponent(() => import('./Risk3.vue')),
+ '512': defineAsyncComponent(() => import('../strategy/512/Detail.vue')),
+ '513': defineAsyncComponent(() => import('../strategy/513/Detail.vue')),
+ '1029': defineAsyncComponent(() => import('../afterLoan/1029/Detail.vue')),
+ '1030': defineAsyncComponent(() => import('../afterLoan/1030/Detail.vue')),
+ '1031': defineAsyncComponent(() => import('../afterLoan/1031/Detail.vue')),
+ '1032': defineAsyncComponent(() => import('../afterLoan/1032/Detail.vue')),
+ '1033': defineAsyncComponent(() => import('../afterLoan/1033/Detail.vue')),
};
const app = getCurrentInstance().appContext.app;
for (const [name, asyncComponent] of Object.entries(dynamicComponentMap)) {
@@ -238,6 +290,25 @@ const preview = (row: Record, i: number) => {
curPreviewTitle.value = `查看${assessNames[i]}策略`;
visible.value = true;
};
+// 预览信用评分策略
+const previewCredits = (row: Record, i: number) => {
+ curRow.value = {
+ id: row.tacticsId,
+ };
+ curPreview.value = i ? '513' : '512';
+ curPreviewTitle.value = `查看${i ? '企业' : '个人'}信用评分策略`;
+ visible.value = true;
+};
+// 预览贷后管理
+const previewAfter = (row: Record, i: number) => {
+ curRow.value = {
+ strategyId: row.tacticsId,
+ strategyName: row.tacticsName,
+ };
+ curPreview.value = Object.keys(dynamicComponentMap)[i + 9];
+ curPreviewTitle.value = `查看${afterNames[i]}策略`;
+ visible.value = true;
+};
defineExpose({
info,