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