|
|
|
@ -26,7 +26,7 @@ |
|
|
|
|
<p class="tips">选择需要提供的申请人材料(至少选一样)</p> |
|
|
|
|
<el-checkbox-group v-if="config.length" |
|
|
|
|
v-model="form.accountMaterials"> |
|
|
|
|
<el-checkbox v-for="(item, i) in config[0]?.recordChildren[0]?.subject?.itemList" |
|
|
|
|
<el-checkbox v-for="(item, i) in config[0]?.recordChildren[0]?.recordChildren[1]?.subject?.itemList" |
|
|
|
|
:key="i" |
|
|
|
|
:label="item.itemId">{{ item.options }}</el-checkbox> |
|
|
|
|
</el-checkbox-group> |
|
|
|
@ -39,14 +39,14 @@ |
|
|
|
|
<div class="radio-wrap flex-col items-start"> |
|
|
|
|
<el-radio-group v-if="config.length" |
|
|
|
|
v-model="form.sendingAccountCheck"> |
|
|
|
|
<el-radio v-for="(item, i) in config[0]?.recordChildren[1]?.recordChildren[0]?.subject?.itemList" |
|
|
|
|
<el-radio v-for="(item, i) in config[0]?.recordChildren[1]?.recordChildren[1]?.subject?.itemList" |
|
|
|
|
:key="i" |
|
|
|
|
:label="item.itemId">{{ item.options }}</el-radio> |
|
|
|
|
</el-radio-group> |
|
|
|
|
</div> |
|
|
|
|
<template v-if="form.sendingAccountCheck === 801 && config.length"> |
|
|
|
|
<p class="tips">选择需要发放的账户(至少选一样)</p> |
|
|
|
|
<el-radio v-for="(item, i) in config[0]?.recordChildren[1]?.subject?.itemList" |
|
|
|
|
<el-radio v-for="(item, i) in config[0]?.recordChildren[1]?.recordChildren[0]?.subject?.itemList" |
|
|
|
|
:key="i" |
|
|
|
|
v-model="form.sendingAccount" |
|
|
|
|
:label="item.itemId">{{ item.options }}</el-radio> |
|
|
|
@ -80,16 +80,7 @@ |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div v-if="form.borrowerMaterialCheck === 797"> |
|
|
|
|
<p class="text-xs text-[#666]">选择需要提供的借款人材料(至少选一样)</p> |
|
|
|
|
<el-select v-if="config.length" |
|
|
|
|
class="my-2" |
|
|
|
|
v-model="form.borrowerMaterialSelect" |
|
|
|
|
placeholder="请选择"> |
|
|
|
|
<el-option v-for="item in config[1]?.recordChildren[1]?.recordChildren[1]?.subject?.itemList" |
|
|
|
|
:key="item.itemId" |
|
|
|
|
:label="item.options" |
|
|
|
|
:value="item.itemId" /> |
|
|
|
|
</el-select> |
|
|
|
|
<p class="my-2 text-xs text-[#666]">选择需要提供的借款人材料(至少选一样)</p> |
|
|
|
|
<el-checkbox-group v-if="config.length" |
|
|
|
|
v-model="form.borrowerMaterial" |
|
|
|
|
@change="denyAll('borrowerMaterial', 770)"> |
|
|
|
@ -218,16 +209,16 @@ |
|
|
|
|
<div class="radio-wrap flex-col items-start mb-2"> |
|
|
|
|
<el-radio-group v-if="config.length" |
|
|
|
|
v-model="form.runBatchObjectCheck"> |
|
|
|
|
<el-radio v-for="(item, i) in config[2]?.recordChildren[0]?.recordChildren[0]?.subject?.itemList" |
|
|
|
|
<el-radio v-for="(item, i) in config[2]?.recordChildren[0]?.recordChildren[1]?.subject?.itemList" |
|
|
|
|
:key="i" |
|
|
|
|
:label="item.itemId">{{ item.options }}</el-radio> |
|
|
|
|
</el-radio-group> |
|
|
|
|
</div> |
|
|
|
|
<template v-if="form.runBatchObjectCheck === 797"> |
|
|
|
|
<template v-if="form.runBatchObjectCheck === 803"> |
|
|
|
|
<p class="tips">选择需要跑批的对象(至少选一样)</p> |
|
|
|
|
<el-checkbox-group v-if="config.length" |
|
|
|
|
v-model="form.runBatchObject"> |
|
|
|
|
<el-checkbox v-for="(item, i) in config[2]?.recordChildren[0]?.subject?.itemList" |
|
|
|
|
<el-checkbox v-for="(item, i) in config[2]?.recordChildren[0]?.recordChildren[0]?.subject?.itemList" |
|
|
|
|
:key="i" |
|
|
|
|
:label="item.itemId">{{ item.options }}</el-checkbox> |
|
|
|
|
</el-checkbox-group> |
|
|
|
@ -240,16 +231,16 @@ |
|
|
|
|
<div class="radio-wrap flex-col items-start mb-2"> |
|
|
|
|
<el-radio-group v-if="config.length" |
|
|
|
|
v-model="form.accessStrategyCheck"> |
|
|
|
|
<el-radio v-for="(item, i) in config[2]?.recordChildren[1]?.recordChildren[0]?.subject?.itemList" |
|
|
|
|
<el-radio v-for="(item, i) in config[2]?.recordChildren[1]?.recordChildren[1]?.subject?.itemList" |
|
|
|
|
:key="i" |
|
|
|
|
:label="item.itemId">{{ item.options }}</el-radio> |
|
|
|
|
</el-radio-group> |
|
|
|
|
</div> |
|
|
|
|
<template v-if="form.accessStrategyCheck === 797"> |
|
|
|
|
<template v-if="form.accessStrategyCheck === 803"> |
|
|
|
|
<p class="tips">选择需要跑批的准入策略(至少选一样)</p> |
|
|
|
|
<el-checkbox-group v-if="config.length" |
|
|
|
|
v-model="form.accessStrategy"> |
|
|
|
|
<el-checkbox v-for="(item, i) in config[2]?.recordChildren[1]?.subject?.itemList" |
|
|
|
|
<el-checkbox v-for="(item, i) in config[2]?.recordChildren[1]?.recordChildren[0]?.subject?.itemList" |
|
|
|
|
:key="i" |
|
|
|
|
:label="item.itemId">{{ item.options }}</el-checkbox> |
|
|
|
|
</el-checkbox-group> |
|
|
|
@ -306,7 +297,7 @@ |
|
|
|
|
<div class="radio-wrap"> |
|
|
|
|
<el-radio-group v-if="config.length" |
|
|
|
|
v-model="form.riskDegreeStrategyCheck"> |
|
|
|
|
<el-radio v-for="(item, i) in config[2]?.recordChildren[3]?.recordChildren[0]?.subject?.itemList" |
|
|
|
|
<el-radio v-for="(item, i) in config[2]?.recordChildren[3]?.recordChildren[1]?.subject?.itemList" |
|
|
|
|
:key="i" |
|
|
|
|
:label="item.itemId">{{ item.options }}</el-radio> |
|
|
|
|
</el-radio-group> |
|
|
|
@ -330,7 +321,7 @@ |
|
|
|
|
<span class="label">{{ (info.productType ? '企业' : '个人') + '额度模型' }}</span> |
|
|
|
|
<el-radio-group v-if="config.length" |
|
|
|
|
v-model="form.interestRatePricingModelCheck"> |
|
|
|
|
<el-radio v-for="(item, i) in config[2]?.recordChildren[3]?.recordChildren[0]?.subject?.itemList" |
|
|
|
|
<el-radio v-for="(item, i) in config[2]?.recordChildren[3]?.recordChildren[1]?.subject?.itemList" |
|
|
|
|
:key="i" |
|
|
|
|
:label="item.itemId">{{ item.options }}</el-radio> |
|
|
|
|
</el-radio-group> |
|
|
|
@ -339,7 +330,7 @@ |
|
|
|
|
class="ml-5" |
|
|
|
|
v-model="form.interestRatePricingModel" |
|
|
|
|
placeholder="请选择"> |
|
|
|
|
<el-option v-for="item in config[2]?.recordChildren[4]?.recordChildren[1]?.subject?.itemList" |
|
|
|
|
<el-option v-for="item in config[2]?.recordChildren[4]?.recordChildren[1]?.recordChildren[1]?.subject?.itemList" |
|
|
|
|
:key="item.itemId" |
|
|
|
|
:label="item.options" |
|
|
|
|
:value="item.itemId" /> |
|
|
|
@ -350,7 +341,7 @@ |
|
|
|
|
<span class="label">{{ (info.productType ? '企业' : '个人') + '利率模型' }}</span> |
|
|
|
|
<el-radio-group v-if="config.length" |
|
|
|
|
v-model="form.individualInterestRateModel"> |
|
|
|
|
<el-radio v-for="(item, i) in config[2]?.recordChildren[4]?.recordChildren[0]?.recordChildren[0]?.subject?.itemList" |
|
|
|
|
<el-radio v-for="(item, i) in config[2]?.recordChildren[4]?.recordChildren[0]?.subject?.itemList" |
|
|
|
|
:key="i" |
|
|
|
|
:label="item.itemId">{{ item.options }}</el-radio> |
|
|
|
|
</el-radio-group> |
|
|
|
@ -391,8 +382,15 @@ |
|
|
|
|
prop="reviewContent"> |
|
|
|
|
<div> |
|
|
|
|
<p class="tips leading-[32px]">选择审查材料(至少选一样)</p> |
|
|
|
|
<el-radio v-model="form.reviewContent" |
|
|
|
|
:label="info.productType ? 261 : 114">{{ info.productType ? '所有基本信息' : '所有基本材料' }}</el-radio> |
|
|
|
|
<el-radio-group v-if="config.length" |
|
|
|
|
v-model="form.reviewContent"> |
|
|
|
|
<el-radio v-for="(item, i) in config[4]?.recordChildren[0]?.subject?.itemList" |
|
|
|
|
:key="i" |
|
|
|
|
:label="item.itemId">{{ item.options }}</el-radio> |
|
|
|
|
</el-radio-group> |
|
|
|
|
|
|
|
|
|
<!-- <el-radio v-model="form.reviewContent" |
|
|
|
|
:label="info.productType ? 261 : 114">{{ info.productType ? '所有基本信息' : '所有基本材料' }}</el-radio> --> |
|
|
|
|
</div> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="审查签字" |
|
|
|
@ -410,8 +408,15 @@ |
|
|
|
|
prop="reviewApproveContent"> |
|
|
|
|
<div> |
|
|
|
|
<p class="tips leading-[32px]">选择审批材料(至少选一样)</p> |
|
|
|
|
<el-radio v-model="form.reviewApproveContent" |
|
|
|
|
:label="info.productType ? 263 : 116">以上所有材料</el-radio> |
|
|
|
|
<el-radio-group v-if="config.length" |
|
|
|
|
v-model="form.reviewApproveContent"> |
|
|
|
|
<el-radio v-for="(item, i) in config[5]?.recordChildren[0]?.subject?.itemList" |
|
|
|
|
:key="i" |
|
|
|
|
:label="item.itemId">{{ item.options }}</el-radio> |
|
|
|
|
</el-radio-group> |
|
|
|
|
|
|
|
|
|
<!-- <el-radio v-model="form.reviewApproveContent" |
|
|
|
|
:label="info.productType ? 263 : 116">以上所有材料</el-radio> --> |
|
|
|
|
</div> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="审批签字" |
|
|
|
@ -456,7 +461,7 @@ |
|
|
|
|
class="ml-5" |
|
|
|
|
v-model="form.loanContract" |
|
|
|
|
placeholder="请选择"> |
|
|
|
|
<el-option v-for="item in config[6]?.recordChildren[1]?.recordChildren[0]?.subject?.itemList" |
|
|
|
|
<el-option v-for="item in config[6]?.recordChildren[1]?.recordChildren[0]?.recordChildren[0]?.subject?.itemList" |
|
|
|
|
:key="item.itemId" |
|
|
|
|
:label="item.options" |
|
|
|
|
:value="item.itemId" /> |
|
|
|
@ -476,7 +481,7 @@ |
|
|
|
|
class="ml-5" |
|
|
|
|
v-model="form.mortgageContract" |
|
|
|
|
placeholder="请选择"> |
|
|
|
|
<el-option v-for="item in config[6]?.recordChildren[1]?.recordChildren[1]?.subject?.itemList" |
|
|
|
|
<el-option v-for="item in config[6]?.recordChildren[1]?.recordChildren[1]?.recordChildren[0]?.subject?.itemList" |
|
|
|
|
:key="item.itemId" |
|
|
|
|
:label="item.options" |
|
|
|
|
:value="item.itemId" /> |
|
|
|
@ -495,7 +500,7 @@ |
|
|
|
|
class="ml-5" |
|
|
|
|
v-model="form.pledgeContract" |
|
|
|
|
placeholder="请选择"> |
|
|
|
|
<el-option v-for="item in config[6]?.recordChildren[1]?.recordChildren[2]?.subject?.itemList" |
|
|
|
|
<el-option v-for="item in config[6]?.recordChildren[1]?.recordChildren[2]?.recordChildren[0]?.subject?.itemList" |
|
|
|
|
:key="item.itemId" |
|
|
|
|
:label="item.options" |
|
|
|
|
:value="item.itemId" /> |
|
|
|
@ -514,7 +519,7 @@ |
|
|
|
|
class="ml-5" |
|
|
|
|
v-model="form.guaranteeContract" |
|
|
|
|
placeholder="请选择"> |
|
|
|
|
<el-option v-for="item in config[6]?.recordChildren[1]?.recordChildren[3]?.subject?.itemList" |
|
|
|
|
<el-option v-for="item in config[6]?.recordChildren[1]?.recordChildren[3]?.recordChildren[0]?.subject?.itemList" |
|
|
|
|
:key="item.itemId" |
|
|
|
|
:label="item.options" |
|
|
|
|
:value="item.itemId" /> |
|
|
|
@ -531,16 +536,16 @@ |
|
|
|
|
<div class="radio-wrap flex-col items-start mb-1"> |
|
|
|
|
<el-radio-group v-if="config.length" |
|
|
|
|
v-model="form.selectionStrategyCheck"> |
|
|
|
|
<el-radio v-for="(item, i) in config[2]?.recordChildren[0]?.recordChildren[0]?.subject?.itemList" |
|
|
|
|
<el-radio v-for="(item, i) in config[2]?.recordChildren[0]?.recordChildren[1]?.subject?.itemList" |
|
|
|
|
:key="i" |
|
|
|
|
:label="item.itemId">{{ item.options }}</el-radio> |
|
|
|
|
</el-radio-group> |
|
|
|
|
</div> |
|
|
|
|
<template v-if="form.selectionStrategyCheck === 803"> |
|
|
|
|
<p class="tips">选择策略(至少选一样)</p> |
|
|
|
|
<el-checkbox-group v-if="(info.productType && config.length && config[7]?.recordChildren) || (!info.productType && config.length && config[7]?.subject)" |
|
|
|
|
<el-checkbox-group v-if="(info.productType && config.length && config[7]?.recordChildren) || (!info.productType && config.length && config[7]?.recordChildren)" |
|
|
|
|
v-model="form.selectionStrategy"> |
|
|
|
|
<el-checkbox v-for="(item, i) in info.productType ? config[7]?.recordChildren[0]?.subject?.itemList : config[7]?.subject?.itemList" |
|
|
|
|
<el-checkbox v-for="(item, i) in info.productType ? config[7]?.recordChildren[0]?.recordChildren[1]?.subject?.itemList : config[7]?.recordChildren[0]?.subject?.itemList" |
|
|
|
|
:key="i" |
|
|
|
|
:label="item.itemId">{{ item.options }}</el-checkbox> |
|
|
|
|
</el-checkbox-group> |
|
|
|
@ -586,7 +591,6 @@ interface RuleForm { |
|
|
|
|
bankProductsId: any; |
|
|
|
|
borrowerMaterialCheck?: number; |
|
|
|
|
borrowerMaterial: any; |
|
|
|
|
borrowerMaterialSelect: any; |
|
|
|
|
businessMaterialsCheck?: number; |
|
|
|
|
businessMaterials: any; |
|
|
|
|
collateralCheck?: number; |
|
|
|
@ -663,7 +667,6 @@ const form = reactive<RuleForm>({ |
|
|
|
|
bankProductsId: computed(() => +route.query.id), |
|
|
|
|
borrowerMaterialCheck: '', |
|
|
|
|
borrowerMaterial: [], |
|
|
|
|
borrowerMaterialSelect: '', |
|
|
|
|
businessMaterialsCheck: '', |
|
|
|
|
businessMaterials: [], |
|
|
|
|
collateralCheck: '', |
|
|
|
@ -763,7 +766,7 @@ const submit = async (formEl: FormInstance | undefined) => { |
|
|
|
|
if (param.accountMaterialsCheck === 797 && !param.accountMaterials.length) return ElMessage.error('请选择需要提供的申请人材料'); |
|
|
|
|
if (param.sendingAccountCheck === 801 && !param.sendingAccount) return ElMessage.error('请选择需要发放的账户'); |
|
|
|
|
if (!param.loanApplicationMethod.length) return ElMessage.error('请选择申请方式'); |
|
|
|
|
if (param.borrowerMaterialCheck === 797 && !param.borrowerMaterialSelect && !param.borrowerMaterial.length) return ElMessage.error('请选择需要提供的借款人材料'); |
|
|
|
|
if (param.borrowerMaterialCheck === 797 && !param.borrowerMaterial.length) return ElMessage.error('请选择借款人材料'); |
|
|
|
|
|
|
|
|
|
if (isEnterprise) { |
|
|
|
|
// 企业 |
|
|
|
@ -787,7 +790,6 @@ const submit = async (formEl: FormInstance | undefined) => { |
|
|
|
|
if (param.selectionStrategyCheck === 803 && !param.selectionStrategy.length) return ElMessage.error('请选择策略'); |
|
|
|
|
|
|
|
|
|
param.accessStrategy = param.accessStrategyCheck === 797 ? param.accessStrategy.join() : ''; |
|
|
|
|
if (param.borrowerMaterialCheck === 797) param.borrowerMaterial.unshift(param.borrowerMaterialSelect); |
|
|
|
|
param.borrowerMaterial = param.borrowerMaterial.join(); |
|
|
|
|
param.accountMaterials = param.accountMaterialsCheck === 797 ? param.accountMaterials.join() : ''; |
|
|
|
|
if (param.sendingAccountCheck === 802) param.sendingAccount = ''; |
|
|
|
@ -842,43 +844,45 @@ const addRecord = async (data: Record<string, any>) => { |
|
|
|
|
|
|
|
|
|
// 企业 |
|
|
|
|
if (isEnterprise) { |
|
|
|
|
data.accountMaterialsCheck && lcRule.push(handleId(1268, 325, data.accountMaterialsCheck, preIds + ',112,120,1268', 1)); |
|
|
|
|
data.accountMaterials && lcRule.push(handleId(120, 44, data.accountMaterials, preIds + ',112,120', 1)); |
|
|
|
|
data.sendingAccountCheck && lcRule.push(handleId(1269, 326, data.sendingAccountCheck, preIds + ',112,121,1269', 1)); |
|
|
|
|
data.sendingAccount && lcRule.push(handleId(121, 45, data.sendingAccount, preIds + ',112,121', 1)); |
|
|
|
|
data.accountMaterialsCheck && lcRule.push(handleId(1246, 325, data.accountMaterialsCheck, preIds + ',112,120,1246', 1)); |
|
|
|
|
data.accountMaterials && lcRule.push(handleId(1254, 44, data.accountMaterials, preIds + ',112,120,1254', 1)); |
|
|
|
|
data.sendingAccountCheck && lcRule.push(handleId(1257, 326, data.sendingAccountCheck, preIds + ',112,121,1257', 1)); |
|
|
|
|
data.sendingAccount && lcRule.push(handleId(1255, 45, data.sendingAccount, preIds + ',112,121,1255', 1)); |
|
|
|
|
data.loanApplicationMethod && lcRule.push(handleId(122, 46, data.loanApplicationMethod, preIds + ',113,122', 1)); |
|
|
|
|
|
|
|
|
|
data.enterpriseMaterialCheck && lcRule.push(handleId(1272, 325, data.enterpriseMaterialCheck, preIds + ',113,124,1272', 1)); |
|
|
|
|
data.enterpriseMaterial && lcRule.push(handleId(124, 48, data.enterpriseMaterial, preIds + ',113,124', 1)); |
|
|
|
|
data.enterpriseMaterialCheck && lcRule.push(handleId(1294, 325, data.enterpriseMaterialCheck, preIds + ',113,124,1294', 1)); |
|
|
|
|
data.enterpriseMaterial && lcRule.push(handleId(1258, 48, data.enterpriseMaterial, preIds + ',113,124,1258', 1)); |
|
|
|
|
|
|
|
|
|
form.borrowerMaterialCheck && lcRule.push(handleId(1270, 325, form.borrowerMaterialCheck, preIds + ',113,123,316,1270', 1)); |
|
|
|
|
form.borrowerMaterialCheck && lcRule.push(handleId(1294, 325, form.borrowerMaterialCheck, preIds + ',113,123,1294', 1)); |
|
|
|
|
const borrowerMaterial = []; |
|
|
|
|
form.borrowerMaterial.forEach((e) => { |
|
|
|
|
borrowerMaterial.push(e); |
|
|
|
|
}); |
|
|
|
|
borrowerMaterial.length && lcRule.push(handleId(316, 47, borrowerMaterial.join(), preIds + ',113,123,316', 1)); |
|
|
|
|
data.borrowerMaterialSelect && lcRule.push(handleId(317, 149, data.borrowerMaterialSelect, preIds + ',113,123,317', 1)); |
|
|
|
|
|
|
|
|
|
data.collateralCheck && lcRule.push(handleId(1273, 325, data.collateralCheck, preIds + ',113,125,1273', 1)); |
|
|
|
|
data.collateral && lcRule.push(handleId(125, 49, data.collateral, preIds + ',113,125', 1)); |
|
|
|
|
data.collateralCheck && lcRule.push(handleId(1294, 325, data.collateralCheck, preIds + ',113,125,1294', 1)); |
|
|
|
|
data.collateral && lcRule.push(handleId(1259, 49, data.collateral, preIds + ',113,125,1259', 1)); |
|
|
|
|
|
|
|
|
|
data.supplementaryMaterialsCheck && lcRule.push(handleId(1294, 325, data.supplementaryMaterialsCheck, preIds + ',113,126,1294', 1)); |
|
|
|
|
data.supplementaryMaterials && lcRule.push(handleId(1260, 50, data.supplementaryMaterials, preIds + ',113,126,1260', 1)); |
|
|
|
|
|
|
|
|
|
data.supplementaryMaterialsCheck && lcRule.push(handleId(1274, 325, data.supplementaryMaterialsCheck, preIds + ',113,126,1274', 1)); |
|
|
|
|
data.supplementaryMaterials && lcRule.push(handleId(126, 50, data.supplementaryMaterials, preIds + ',113,126', 1)); |
|
|
|
|
data.runBatchObjectCheck && lcRule.push(handleId(1302, 327, data.runBatchObjectCheck, preIds + ',114,127,1302', 1)); |
|
|
|
|
data.runBatchObject && lcRule.push(handleId(1261, 51, data.runBatchObject, preIds + ',114,127,1261', 1)); |
|
|
|
|
|
|
|
|
|
data.runBatchObjectCheck && lcRule.push(handleId(1275, 327, data.runBatchObjectCheck, preIds + ',114,127,1275', 1)); |
|
|
|
|
data.runBatchObject && lcRule.push(handleId(127, 51, data.runBatchObject, preIds + ',114,127', 1)); |
|
|
|
|
data.accessStrategyCheck && lcRule.push(handleId(1302, 327, data.accessStrategyCheck, preIds + ',114,128,1302', 1)); |
|
|
|
|
data.accessStrategy && lcRule.push(handleId(1262, 52, data.accessStrategy, preIds + ',114,128,1262', 1)); |
|
|
|
|
|
|
|
|
|
data.accessStrategyCheck && lcRule.push(handleId(1276, 327, data.accessStrategyCheck, preIds + ',114,128,1276', 1)); |
|
|
|
|
data.accessStrategy && lcRule.push(handleId(128, 52, data.accessStrategy, preIds + ',114,128', 1)); |
|
|
|
|
data.personalCreditScoringStrategiesCheck && lcRule.push(handleId(1306, 325, data.personalCreditScoringStrategiesCheck, preIds + ',114,129,1046,1306', 1)); |
|
|
|
|
data.personalCreditScoringStrategies && lcRule.push(handleId(1307, 329, data.personalCreditScoringStrategiesCheck, preIds + ',114,129,1046,1307', 3)); |
|
|
|
|
data.corporateCreditScoringStrategiesCheck && lcRule.push(handleId(1306, 325, data.corporateCreditScoringStrategiesCheck, preIds + ',114,129,1047,1306', 1)); |
|
|
|
|
data.corporateCreditScoringStrategies && lcRule.push(handleId(1307, 329, data.corporateCreditScoringStrategies, preIds + ',114,129,1047,1307', 3)); |
|
|
|
|
|
|
|
|
|
data.personalCreditScoringStrategiesCheck && lcRule.push(handleId(1256, 327, data.personalCreditScoringStrategiesCheck, preIds + ',114,129,1046,1256', 1)); |
|
|
|
|
data.corporateCreditScoringStrategiesCheck && lcRule.push(handleId(1257, 327, data.corporateCreditScoringStrategiesCheck, preIds + ',114,129,1047,1257', 1)); |
|
|
|
|
data.riskDegreeStrategyCheck && lcRule.push(handleId(1302, 327, data.riskDegreeStrategyCheck, preIds + ',114,130,1302', 1)); |
|
|
|
|
data.riskDegreeStrategy && lcRule.push(handleId(1301, 54, data.riskDegreeStrategy, preIds + ',114,130,1301', 1)); |
|
|
|
|
|
|
|
|
|
data.riskDegreeStrategyCheck && lcRule.push(handleId(1277, 327, data.riskDegreeStrategyCheck, preIds + ',114,130,1277', 1)); |
|
|
|
|
data.riskDegreeStrategy && lcRule.push(handleId(130, 54, data.riskDegreeStrategy, preIds + ',114,130', 1)); |
|
|
|
|
data.interestRatePricingModelCheck && lcRule.push(handleId(1279, 327, data.interestRatePricingModelCheck, preIds + ',114,131,305,1279', 1)); |
|
|
|
|
data.interestRatePricingModel && lcRule.push(handleId(305, 55, data.interestRatePricingModel, preIds + ',114,131,305', 1)); |
|
|
|
|
data.individualInterestRateModel && lcRule.push(handleId(1278, 327, data.individualInterestRateModel, preIds + ',114,131,304,1278', 1)); |
|
|
|
|
data.interestRatePricingModelCheck && lcRule.push(handleId(1302, 327, data.interestRatePricingModelCheck, preIds + ',114,131,305,1302', 1)); |
|
|
|
|
data.interestRatePricingModel && lcRule.push(handleId(1314, 55, data.interestRatePricingModel, preIds + ',114,131,305,1314', 1)); |
|
|
|
|
data.individualInterestRateModel && lcRule.push(handleId(304, 327, data.individualInterestRateModel, preIds + ',114,131,304', 1)); |
|
|
|
|
|
|
|
|
|
data.dueDiligenceMode && lcRule.push(handleId(132, 56, data.dueDiligenceMode, preIds + ',115,132', 1)); |
|
|
|
|
data.dueDiligenceContent && lcRule.push(handleId(133, 57, data.dueDiligenceContent, preIds + ',115,133', 1)); |
|
|
|
@ -887,60 +891,62 @@ const addRecord = async (data: Record<string, any>) => { |
|
|
|
|
data.reviewApproveContent && lcRule.push(handleId(136, 60, data.reviewApproveContent, preIds + ',117,136', 1)); |
|
|
|
|
data.approvalSignature && lcRule.push(handleId(137, 61, data.approvalSignature, preIds + ',117,137', 1)); |
|
|
|
|
|
|
|
|
|
data.contractMaterialsCheck && lcRule.push(handleId(1280, 325, data.contractMaterialsCheck, preIds + ',118,138,1280', 1)); |
|
|
|
|
data.contractMaterials && lcRule.push(handleId(138, 62, data.contractMaterials, preIds + ',118,138', 1)); |
|
|
|
|
data.contractMaterialsCheck && lcRule.push(handleId(1264, 325, data.contractMaterialsCheck, preIds + ',118,138,1264', 1)); |
|
|
|
|
data.contractMaterials && lcRule.push(handleId(1263, 62, data.contractMaterials, preIds + ',118,138,1263', 1)); |
|
|
|
|
|
|
|
|
|
data.loanContractCheck && lcRule.push(handleId(1281, 325, data.loanContractCheck, preIds + ',118,139,306,1281', 1)); |
|
|
|
|
data.loanContract && lcRule.push(handleId(306, 63, data.loanContract, preIds + ',118,139,306', 1)); |
|
|
|
|
data.loanContractCheck && lcRule.push(handleId(1273, 325, data.loanContractCheck, preIds + ',118,139,306,1273', 1)); |
|
|
|
|
data.loanContract && lcRule.push(handleId(1269, 63, data.loanContract, preIds + ',118,139,306,1269', 1)); |
|
|
|
|
|
|
|
|
|
data.mortgageContractCheck && lcRule.push(handleId(1282, 325, data.mortgageContractCheck, preIds + ',118,139,307,1282', 1)); |
|
|
|
|
data.mortgageContract && lcRule.push(handleId(307, 142, data.mortgageContract, preIds + ',118,139,307', 1)); |
|
|
|
|
data.mortgageContractCheck && lcRule.push(handleId(1273, 325, data.mortgageContractCheck, preIds + ',118,139,307,1273', 1)); |
|
|
|
|
data.mortgageContract && lcRule.push(handleId(1270, 142, data.mortgageContract, preIds + ',118,139,307,1270', 1)); |
|
|
|
|
|
|
|
|
|
data.pledgeContractCheck && lcRule.push(handleId(1283, 325, data.pledgeContractCheck, preIds + ',118,139,308,1283', 1)); |
|
|
|
|
data.pledgeContract && lcRule.push(handleId(308, 143, data.pledgeContract, preIds + ',118,139,308', 1)); |
|
|
|
|
data.pledgeContractCheck && lcRule.push(handleId(1273, 325, data.pledgeContractCheck, preIds + ',118,139,308,1273', 1)); |
|
|
|
|
data.pledgeContract && lcRule.push(handleId(1271, 143, data.pledgeContract, preIds + ',118,139,308,1271', 1)); |
|
|
|
|
|
|
|
|
|
data.guaranteeContractCheck && lcRule.push(handleId(1284, 325, data.guaranteeContractCheck, preIds + ',118,139,309,1284', 1)); |
|
|
|
|
data.guaranteeContract && lcRule.push(handleId(309, 144, data.guaranteeContract, preIds + ',118,139,309', 1)); |
|
|
|
|
data.guaranteeContractCheck && lcRule.push(handleId(1273, 325, data.guaranteeContractCheck, preIds + ',118,139,309,1273', 1)); |
|
|
|
|
data.guaranteeContract && lcRule.push(handleId(1272, 144, data.guaranteeContract, preIds + ',118,139,309,1272', 1)); |
|
|
|
|
|
|
|
|
|
data.selectionStrategyCheck && lcRule.push(handleId(1285, 327, data.selectionStrategyCheck, preIds + ',119,140,1285', 1)); |
|
|
|
|
data.selectionStrategy && lcRule.push(handleId(140, 64, data.selectionStrategy, preIds + ',119,140', 1)); |
|
|
|
|
data.selectionStrategyCheck && lcRule.push(handleId(1302, 327, data.selectionStrategyCheck, preIds + ',119,140,1302', 1)); |
|
|
|
|
data.selectionStrategy && lcRule.push(handleId(1315, 64, data.selectionStrategy, preIds + ',119,140,1315', 1)); |
|
|
|
|
} else { |
|
|
|
|
data.accountMaterialsCheck && lcRule.push(handleId(1246, 325, data.accountMaterialsCheck, preIds + ',72,75,1246', 1)); |
|
|
|
|
data.accountMaterials && lcRule.push(handleId(75, 20, data.accountMaterials, preIds + ',72,75', 1)); |
|
|
|
|
data.sendingAccountCheck && lcRule.push(handleId(1247, 326, data.sendingAccountCheck, preIds + ',72,76,1247', 1)); |
|
|
|
|
data.sendingAccount && lcRule.push(handleId(76, 21, data.sendingAccount, preIds + ',72,76', 1)); |
|
|
|
|
data.loanApplicationMethod && lcRule.push(handleId(77, 22, data.loanApplicationMethod, preIds + ',73,77', 1)); |
|
|
|
|
data.accountMaterialsCheck && lcRule.push(handleId(1294, 325, data.accountMaterialsCheck, preIds + ',72,75,1294', 1)); |
|
|
|
|
data.accountMaterials && lcRule.push(handleId(1296, 20, data.accountMaterials, preIds + ',72,75,1295', 1)); |
|
|
|
|
|
|
|
|
|
form.borrowerMaterialCheck && lcRule.push(handleId(1249, 325, form.borrowerMaterialCheck, preIds + ',73,78,314,1249', 1)); |
|
|
|
|
data.sendingAccountCheck && lcRule.push(handleId(1312, 326, data.sendingAccountCheck, preIds + ',72,76,1312', 1)); |
|
|
|
|
data.sendingAccount && lcRule.push(handleId(1296, 21, data.sendingAccount, preIds + ',72,76,1296', 1)); |
|
|
|
|
data.loanApplicationMethod && lcRule.push(handleId(1289, 22, data.loanApplicationMethod, preIds + ',73,77,1289', 1)); |
|
|
|
|
|
|
|
|
|
form.borrowerMaterialCheck && lcRule.push(handleId(1294, 325, form.borrowerMaterialCheck, preIds + ',73,78,1294', 1)); |
|
|
|
|
const borrowerMaterial = []; |
|
|
|
|
form.borrowerMaterial.forEach((e) => { |
|
|
|
|
borrowerMaterial.push(e); |
|
|
|
|
}); |
|
|
|
|
borrowerMaterial.length && lcRule.push(handleId(314, 23, borrowerMaterial.join(), preIds + ',73,78,314', 1)); |
|
|
|
|
data.borrowerMaterialSelect && lcRule.push(handleId(315, 148, data.borrowerMaterialSelect, preIds + ',73,78,315', 1)); |
|
|
|
|
data.mateMaterialCheck && lcRule.push(handleId(1251, 325, data.mateMaterialCheck, preIds + ',73,79,1251', 1)); |
|
|
|
|
data.mateMaterial && lcRule.push(handleId(79, 24, data.mateMaterial, preIds + ',73,79', 1)); |
|
|
|
|
data.businessMaterialsCheck && lcRule.push(handleId(1252, 325, data.businessMaterialsCheck, preIds + ',73,80,1252', 1)); |
|
|
|
|
data.businessMaterials && lcRule.push(handleId(80, 25, data.businessMaterials, preIds + ',73,80', 1)); |
|
|
|
|
|
|
|
|
|
data.supplementaryMaterialsCheck && lcRule.push(handleId(1253, 325, data.supplementaryMaterialsCheck, preIds + ',73,81,1253', 1)); |
|
|
|
|
data.supplementaryMaterials && lcRule.push(handleId(81, 26, data.supplementaryMaterials, preIds + ',73,81', 1)); |
|
|
|
|
data.mateMaterialCheck && lcRule.push(handleId(1294, 325, data.mateMaterialCheck, preIds + ',73,79,1294', 1)); |
|
|
|
|
data.mateMaterial && lcRule.push(handleId(1291, 24, data.mateMaterial, preIds + ',73,79,1291', 1)); |
|
|
|
|
|
|
|
|
|
data.businessMaterialsCheck && lcRule.push(handleId(1294, 325, data.businessMaterialsCheck, preIds + ',73,80,1294', 1)); |
|
|
|
|
data.businessMaterials && lcRule.push(handleId(1292, 25, data.businessMaterials, preIds + ',73,80,1292', 1)); |
|
|
|
|
|
|
|
|
|
data.supplementaryMaterialsCheck && lcRule.push(handleId(1294, 325, data.supplementaryMaterialsCheck, preIds + ',73,81,1294', 1)); |
|
|
|
|
data.supplementaryMaterials && lcRule.push(handleId(1293, 26, data.supplementaryMaterials, preIds + ',73,81,1293', 1)); |
|
|
|
|
|
|
|
|
|
data.runBatchObjectCheck && lcRule.push(handleId(1254, 325, data.runBatchObjectCheck, preIds + ',74,82,1254', 1)); |
|
|
|
|
data.runBatchObject && lcRule.push(handleId(82, 27, data.runBatchObject, preIds + ',74,82', 1)); |
|
|
|
|
data.runBatchObjectCheck && lcRule.push(handleId(1302, 325, data.runBatchObjectCheck, preIds + ',74,82,1302', 1)); |
|
|
|
|
data.runBatchObject && lcRule.push(handleId(1297, 27, data.runBatchObject, preIds + ',74,82,1297', 1)); |
|
|
|
|
|
|
|
|
|
data.accessStrategyCheck && lcRule.push(handleId(1255, 325, data.accessStrategyCheck, preIds + ',74,83,1255', 1)); |
|
|
|
|
data.accessStrategy && lcRule.push(handleId(83, 28, data.accessStrategy, preIds + ',74,83', 1)); |
|
|
|
|
data.accessStrategyCheck && lcRule.push(handleId(1302, 325, data.accessStrategyCheck, preIds + ',74,83,1302', 1)); |
|
|
|
|
data.accessStrategy && lcRule.push(handleId(1298, 28, data.accessStrategy, preIds + ',74,83,1298', 1)); |
|
|
|
|
|
|
|
|
|
data.personalCreditScoringStrategiesCheck && lcRule.push(handleId(1256, 325, data.personalCreditScoringStrategiesCheck, preIds + ',74,84,1046,1256', 1)); |
|
|
|
|
data.corporateCreditScoringStrategiesCheck && lcRule.push(handleId(1257, 325, data.corporateCreditScoringStrategiesCheck, preIds + ',74,84,1047,1257', 1)); |
|
|
|
|
data.personalCreditScoringStrategiesCheck && lcRule.push(handleId(1306, 325, data.personalCreditScoringStrategiesCheck, preIds + ',74,84,1304,1306', 1)); |
|
|
|
|
data.corporateCreditScoringStrategiesCheck && lcRule.push(handleId(1306, 325, data.corporateCreditScoringStrategiesCheck, preIds + ',74,84,1305,1306', 1)); |
|
|
|
|
|
|
|
|
|
data.riskDegreeStrategyCheck && lcRule.push(handleId(1258, 327, data.riskDegreeStrategyCheck, preIds + ',74,85,1258', 1)); |
|
|
|
|
data.riskDegreeStrategy && lcRule.push(handleId(85, 30, data.riskDegreeStrategy, preIds + ',74,85', 1)); |
|
|
|
|
data.riskDegreeStrategyCheck && lcRule.push(handleId(1302, 327, data.riskDegreeStrategyCheck, preIds + ',74,85,1302', 1)); |
|
|
|
|
data.riskDegreeStrategy && lcRule.push(handleId(1300, 30, data.riskDegreeStrategy, preIds + ',74,85,1300', 1)); |
|
|
|
|
|
|
|
|
|
data.interestRatePricingModelCheck && lcRule.push(handleId(1260, 327, data.interestRatePricingModelCheck, preIds + ',74,86,303,1260', 1)); |
|
|
|
|
data.interestRatePricingModel && lcRule.push(handleId(303, 141, data.interestRatePricingModel, preIds + ',74,86,303', 1)); |
|
|
|
|
data.individualInterestRateModel && lcRule.push(handleId(1259, 327, data.individualInterestRateModel, preIds + ',74,86,302,1259', 1)); |
|
|
|
|
data.interestRatePricingModelCheck && lcRule.push(handleId(1302, 327, data.interestRatePricingModelCheck, preIds + ',74,86,1309,1302', 1)); |
|
|
|
|
data.interestRatePricingModel && lcRule.push(handleId(1311, 141, data.interestRatePricingModel, preIds + ',74,86,1309,1311', 1)); |
|
|
|
|
data.individualInterestRateModel && lcRule.push(handleId(1310, 327, data.individualInterestRateModel, preIds + ',74,86,1308,1310', 1)); |
|
|
|
|
|
|
|
|
|
data.dueDiligenceMode && lcRule.push(handleId(88, 32, data.dueDiligenceMode, preIds + ',87,88', 1)); |
|
|
|
|
data.dueDiligenceContent && lcRule.push(handleId(89, 33, data.dueDiligenceContent, preIds + ',87,89', 1)); |
|
|
|
@ -949,21 +955,23 @@ const addRecord = async (data: Record<string, any>) => { |
|
|
|
|
data.reviewApproveContent && lcRule.push(handleId(94, 36, data.reviewApproveContent, preIds + ',93,94', 1)); |
|
|
|
|
data.approvalSignature && lcRule.push(handleId(95, 37, data.approvalSignature, preIds + ',93,95', 1)); |
|
|
|
|
|
|
|
|
|
data.contractMaterialsCheck && lcRule.push(handleId(1261, 325, data.contractMaterialsCheck, preIds + ',96,97,1261', 1)); |
|
|
|
|
data.contractMaterials && lcRule.push(handleId(97, 38, data.contractMaterials, preIds + ',96,97', 1)); |
|
|
|
|
data.contractMaterialsCheck && lcRule.push(handleId(1248, 325, data.contractMaterialsCheck, preIds + ',96,97,1248', 1)); |
|
|
|
|
data.contractMaterials && lcRule.push(handleId(1247, 38, data.contractMaterials, preIds + ',96,97,1247', 1)); |
|
|
|
|
|
|
|
|
|
data.loanContractCheck && lcRule.push(handleId(1253, 325, data.loanContractCheck, preIds + ',96,98,310,1253', 1)); |
|
|
|
|
data.loanContract && lcRule.push(handleId(1249, 39, data.loanContract, preIds + ',96,98,310,1249', 1)); |
|
|
|
|
|
|
|
|
|
data.mortgageContractCheck && lcRule.push(handleId(1253, 325, data.mortgageContractCheck, preIds + ',96,98,311,1253', 1)); |
|
|
|
|
data.mortgageContract && lcRule.push(handleId(1250, 145, data.mortgageContract, preIds + ',96,98,311,1250', 1)); |
|
|
|
|
|
|
|
|
|
data.loanContractCheck && lcRule.push(handleId(1263, 325, data.loanContractCheck, preIds + ',96,98,310,1263', 1)); |
|
|
|
|
data.loanContract && lcRule.push(handleId(310, 39, data.loanContract, preIds + ',96,98,310', 1)); |
|
|
|
|
data.mortgageContractCheck && lcRule.push(handleId(1264, 325, data.mortgageContractCheck, preIds + ',96,98,311,1264', 1)); |
|
|
|
|
data.mortgageContract && lcRule.push(handleId(311, 145, data.mortgageContract, preIds + ',96,98,311', 1)); |
|
|
|
|
data.pledgeContractCheck && lcRule.push(handleId(1253, 325, data.pledgeContractCheck, preIds + ',96,98,312,1253', 1)); |
|
|
|
|
data.pledgeContract && lcRule.push(handleId(1251, 146, data.pledgeContract, preIds + ',96,98,312,1251', 1)); |
|
|
|
|
|
|
|
|
|
data.pledgeContractCheck && lcRule.push(handleId(1265, 325, data.pledgeContractCheck, preIds + ',96,98,312,1265', 1)); |
|
|
|
|
data.pledgeContract && lcRule.push(handleId(312, 146, data.pledgeContract, preIds + ',96,98,312', 1)); |
|
|
|
|
data.guaranteeContractCheck && lcRule.push(handleId(1266, 325, data.guaranteeContractCheck, preIds + ',96,98,313,1266', 1)); |
|
|
|
|
data.guaranteeContract && lcRule.push(handleId(313, 147, data.guaranteeContract, preIds + ',96,98,313', 1)); |
|
|
|
|
data.guaranteeContractCheck && lcRule.push(handleId(1253, 325, data.guaranteeContractCheck, preIds + ',96,98,313,1253', 1)); |
|
|
|
|
data.guaranteeContract && lcRule.push(handleId(1252, 147, data.guaranteeContract, preIds + ',96,98,313,1252', 1)); |
|
|
|
|
|
|
|
|
|
data.selectionStrategyCheck && lcRule.push(handleId(1267, 327, data.selectionStrategyCheck, preIds + ',99,1267', 1)); |
|
|
|
|
data.selectionStrategy && lcRule.push(handleId(99, 40, data.selectionStrategy, preIds + ',99', 1)); |
|
|
|
|
data.selectionStrategyCheck && lcRule.push(handleId(283, 327, data.selectionStrategyCheck, preIds + ',99,283', 1)); |
|
|
|
|
data.selectionStrategy && lcRule.push(handleId(281, 40, data.selectionStrategy, preIds + ',99,281', 1)); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
await addOperation({ |
|
|
|
|