|
|
@ -517,50 +517,50 @@ import Info from './Info.vue'; |
|
|
|
|
|
|
|
|
|
|
|
const emit = defineEmits(['getList']); |
|
|
|
const emit = defineEmits(['getList']); |
|
|
|
interface RuleForm { |
|
|
|
interface RuleForm { |
|
|
|
provideMaterialSelectedStatus?: number; |
|
|
|
provideMaterialSelectedStatus: number | string; |
|
|
|
accountMaterials?: number[]; |
|
|
|
accountMaterials?: number[]; |
|
|
|
approvalSignature?: number; |
|
|
|
approvalSignature: number | string; |
|
|
|
borrowerMaterialSelectedStatus?: number; |
|
|
|
borrowerMaterialSelectedStatus: number | string; |
|
|
|
borrowerMaterial?: number[]; |
|
|
|
borrowerMaterial?: number[]; |
|
|
|
businessMaterialsSelectedStatus?: number; |
|
|
|
businessMaterialsSelectedStatus: number | string; |
|
|
|
businessMaterials?: number[]; |
|
|
|
businessMaterials?: number[]; |
|
|
|
mortgagedPropertySelectedStatus?: number; |
|
|
|
mortgagedPropertySelectedStatus: number | string; |
|
|
|
collateral?: number[]; |
|
|
|
collateral?: number[]; |
|
|
|
contractSupplyMaterialsSelectedStatus?: number; |
|
|
|
contractSupplyMaterialsSelectedStatus: number | string; |
|
|
|
contractMaterials?: number; |
|
|
|
contractMaterials: number | string; |
|
|
|
corporateInterestRateModel?: number[]; |
|
|
|
corporateInterestRateModel?: number[]; |
|
|
|
dueDiligenceContent?: number[]; |
|
|
|
dueDiligenceContent?: number[]; |
|
|
|
dueDiligenceMode?: number[]; |
|
|
|
dueDiligenceMode?: number[]; |
|
|
|
enterpriseMaterialSelectedStatus?: number; |
|
|
|
enterpriseMaterialSelectedStatus: number | string; |
|
|
|
enterpriseMaterial?: number[]; |
|
|
|
enterpriseMaterial?: number[]; |
|
|
|
guaranteeContractSelectedStatus?: number; |
|
|
|
guaranteeContractSelectedStatus: number | string; |
|
|
|
guaranteeContract?: number; |
|
|
|
guaranteeContract: number | string; |
|
|
|
loanApplicationMethod?: number[]; |
|
|
|
loanApplicationMethod?: number[]; |
|
|
|
loanContractSelectedStatus?: number; |
|
|
|
loanContractSelectedStatus: number | string; |
|
|
|
loanContract?: number; |
|
|
|
loanContract: number | string; |
|
|
|
mateMaterialSelectedStatus?: number; |
|
|
|
mateMaterialSelectedStatus: number | string; |
|
|
|
mateMaterial?: number[]; |
|
|
|
mateMaterial?: number[]; |
|
|
|
materialsForLoanApproval?: number[]; |
|
|
|
materialsForLoanApproval?: number[]; |
|
|
|
mortgageContractSelectedStatus?: number; |
|
|
|
mortgageContractSelectedStatus: number | string; |
|
|
|
mortgageContract?: number; |
|
|
|
mortgageContract: number | string; |
|
|
|
pledgeContractSelectedStatus?: number; |
|
|
|
pledgeContractSelectedStatus: number | string; |
|
|
|
pledgeContract?: number; |
|
|
|
pledgeContract: number | string; |
|
|
|
reviewApproveContent?: number[]; |
|
|
|
reviewApproveContent?: number[]; |
|
|
|
reviewContent?: number[]; |
|
|
|
reviewContent?: number[]; |
|
|
|
reviewSignature?: number; |
|
|
|
reviewSignature: number | string; |
|
|
|
runBatchObjectSelectedStatus?: number; |
|
|
|
runBatchObjectSelectedStatus: number | string; |
|
|
|
runBatchObject?: number[]; |
|
|
|
runBatchObject?: number[]; |
|
|
|
issueAccountSelectStatus?: number; |
|
|
|
issueAccountSelectStatus: number | string; |
|
|
|
sendingAccount?: number[]; |
|
|
|
sendingAccount?: number[]; |
|
|
|
supplementMaterialSelectedStatus?: number; |
|
|
|
supplementMaterialSelectedStatus: number | string; |
|
|
|
supplementaryMaterials?: number[]; |
|
|
|
supplementaryMaterials?: number[]; |
|
|
|
bankRiskControlAllocationTacticsList: Record<string, any>[]; |
|
|
|
bankRiskControlAllocationTacticsList: Record<string, any>[]; |
|
|
|
creditScoringStrategyList: Record<string, any>[]; |
|
|
|
creditScoringStrategyList: Record<string, any>[]; |
|
|
|
interestRatePricingModelList: Record<string, any>[]; |
|
|
|
interestRatePricingModelList: Record<string, any>[]; |
|
|
|
postLoanSelectionStrategyList: Record<string, any>[]; |
|
|
|
postLoanSelectionStrategyList: Record<string, any>[]; |
|
|
|
enterpriseRiskDegreeStrategySelectedStatus?: number; |
|
|
|
enterpriseRiskDegreeStrategySelectedStatus: number | string; |
|
|
|
personalRiskDegreeStrategySelectedStatus?: number; |
|
|
|
personalRiskDegreeStrategySelectedStatus: number | string; |
|
|
|
enterpriseQuotaModelSelectedStatus?: number; |
|
|
|
enterpriseQuotaModelSelectedStatus: number | string; |
|
|
|
enterpriseQuotaModel?: number[]; |
|
|
|
enterpriseQuotaModel?: number[]; |
|
|
|
} |
|
|
|
} |
|
|
|
const router = useRouter(); |
|
|
|
const router = useRouter(); |
|
|
@ -697,8 +697,7 @@ const getAccess = async (i: number) => { |
|
|
|
if (i === 5) res = await accessStrategyAntiFraudStrategy(strategyParams); // 反欺诈 |
|
|
|
if (i === 5) res = await accessStrategyAntiFraudStrategy(strategyParams); // 反欺诈 |
|
|
|
if (i === 6) res = await accessStrategyNegativeIndustryStrategy(strategyParams); // 负面行业 |
|
|
|
if (i === 6) res = await accessStrategyNegativeIndustryStrategy(strategyParams); // 负面行业 |
|
|
|
if (res) list[i].blackList = res.page.records; |
|
|
|
if (res) list[i].blackList = res.page.records; |
|
|
|
} finally { |
|
|
|
} catch (e) {} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
}; |
|
|
|
}; |
|
|
|
// 信用评分策略 |
|
|
|
// 信用评分策略 |
|
|
@ -711,8 +710,7 @@ const getCredits = async (i: number) => { |
|
|
|
type: i, |
|
|
|
type: i, |
|
|
|
}); |
|
|
|
}); |
|
|
|
if (res) list[i].blackList = res.data.records; |
|
|
|
if (res) list[i].blackList = res.data.records; |
|
|
|
} finally { |
|
|
|
} catch (e) {} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
}; |
|
|
|
}; |
|
|
|
// 利率定价模型 |
|
|
|
// 利率定价模型 |
|
|
@ -873,8 +871,7 @@ const getDetail = async () => { |
|
|
|
form = Object.assign(form, e); |
|
|
|
form = Object.assign(form, e); |
|
|
|
} |
|
|
|
} |
|
|
|
getConfig(); |
|
|
|
getConfig(); |
|
|
|
} finally { |
|
|
|
} catch (e) {} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
}; |
|
|
|
}; |
|
|
|
watch( |
|
|
|
watch( |
|
|
@ -1284,6 +1281,7 @@ const submit = async (formEl: FormInstance | undefined) => { |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
// 新增策略 |
|
|
|
// 新增策略 |
|
|
|
const addStratety = (i: number) => { |
|
|
|
const addStratety = (i: number) => { |
|
|
|
ElMessageBox.confirm('<p class="text-danger whitespace-nowrap">即将跳转到可以新增策略的界面,当前界面数据会清空。</p><p>确定离开当前界面?</p>', '提示', { |
|
|
|
ElMessageBox.confirm('<p class="text-danger whitespace-nowrap">即将跳转到可以新增策略的界面,当前界面数据会清空。</p><p>确定离开当前界面?</p>', '提示', { |
|
|
@ -1299,6 +1297,7 @@ const addStratety = (i: number) => { |
|
|
|
}) |
|
|
|
}) |
|
|
|
.catch(() => {}); |
|
|
|
.catch(() => {}); |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
// 预览策略 |
|
|
|
// 预览策略 |
|
|
|
const preview = async (row: Record<string, any>, i: number) => { |
|
|
|
const preview = async (row: Record<string, any>, i: number) => { |
|
|
|
const { tacticsId } = form.bankRiskControlAllocationTacticsList[i]; |
|
|
|
const { tacticsId } = form.bankRiskControlAllocationTacticsList[i]; |
|
|
@ -1310,6 +1309,7 @@ const preview = async (row: Record<string, any>, i: number) => { |
|
|
|
curPreviewTitle.value = `查看${assessNames[i]}策略`; |
|
|
|
curPreviewTitle.value = `查看${assessNames[i]}策略`; |
|
|
|
visible.value = true; |
|
|
|
visible.value = true; |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
// 预览信用评分策略 |
|
|
|
// 预览信用评分策略 |
|
|
|
const previewCredits = async (row: Record<string, any>, i: number) => { |
|
|
|
const previewCredits = async (row: Record<string, any>, i: number) => { |
|
|
|
const { tacticsId } = form.creditScoringStrategyList[i]; |
|
|
|
const { tacticsId } = form.creditScoringStrategyList[i]; |
|
|
@ -1320,6 +1320,7 @@ const previewCredits = async (row: Record<string, any>, i: number) => { |
|
|
|
curPreviewTitle.value = `查看${i ? '企业' : '个人'}信用评分策略`; |
|
|
|
curPreviewTitle.value = `查看${i ? '企业' : '个人'}信用评分策略`; |
|
|
|
visible.value = true; |
|
|
|
visible.value = true; |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
// 预览利率模型 |
|
|
|
// 预览利率模型 |
|
|
|
const previewRate = async (row: Record<string, any>, i: number) => { |
|
|
|
const previewRate = async (row: Record<string, any>, i: number) => { |
|
|
|
const { tacticsId } = form.interestRatePricingModelList[i]; |
|
|
|
const { tacticsId } = form.interestRatePricingModelList[i]; |
|
|
@ -1331,6 +1332,7 @@ const previewRate = async (row: Record<string, any>, i: number) => { |
|
|
|
curPreviewTitle.value = `查看${interestNames[i]}`; |
|
|
|
curPreviewTitle.value = `查看${interestNames[i]}`; |
|
|
|
visible.value = true; |
|
|
|
visible.value = true; |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
// 预览贷后管理 |
|
|
|
// 预览贷后管理 |
|
|
|
const previewAfter = async (row: Record<string, any>, i: number) => { |
|
|
|
const previewAfter = async (row: Record<string, any>, i: number) => { |
|
|
|
const { tacticsId } = form.postLoanSelectionStrategyList[i]; |
|
|
|
const { tacticsId } = form.postLoanSelectionStrategyList[i]; |
|
|
|