|
|
|
@ -2,41 +2,28 @@ |
|
|
|
|
<div> |
|
|
|
|
<el-tabs v-model="curTab" |
|
|
|
|
@tab-click="tabChange"> |
|
|
|
|
<el-tab-pane label="配置风控" |
|
|
|
|
<el-tab-pane :label="info.approvalTime ? '修改风控' : '配置风控'" |
|
|
|
|
name="tab1"> |
|
|
|
|
<div v-if="info.approvalTime" |
|
|
|
|
class="audit"> |
|
|
|
|
<div class="line"> |
|
|
|
|
<span class="field">审批意见:</span> |
|
|
|
|
<span class="status">审批打回</span> |
|
|
|
|
</div> |
|
|
|
|
<div class="line"> |
|
|
|
|
<span class="field">意见描述:</span> |
|
|
|
|
{{ info.opinionDescription }} |
|
|
|
|
</div> |
|
|
|
|
<p class="mb-2 text-sm text-[#333] text-right">审查日期:{{ info.approvalTime }}</p> |
|
|
|
|
<p class="mb-2 text-sm text-[#333] text-right">审查员:{{ userName }}</p> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<el-form ref="formRef" |
|
|
|
|
:model="form" |
|
|
|
|
label-width="120px" |
|
|
|
|
label-suffix=":" |
|
|
|
|
class="form" |
|
|
|
|
class="form h-[calc(100vh-230px)] pr-1 overflow-auto" |
|
|
|
|
status-icon> |
|
|
|
|
<!-- <div class="h-[calc(100vh-170px)] pr-1 overflow-auto"> --> |
|
|
|
|
<div class="step"> |
|
|
|
|
<h6 class="step-name mb-7">办理账户</h6> |
|
|
|
|
<el-form-item label="提供材料" |
|
|
|
|
prop="accountMaterials"> |
|
|
|
|
<div> |
|
|
|
|
<div class="radio-wrap flex-col items-start mb-1"> |
|
|
|
|
<el-radio-group v-model="form.accountMaterialsCheck"> |
|
|
|
|
<el-radio-group v-model="form.provideMaterialSelectedStatus"> |
|
|
|
|
<el-radio v-for="(item, i) in whethers" |
|
|
|
|
:key="i" |
|
|
|
|
:label="item.id">{{ item.name }}</el-radio> |
|
|
|
|
</el-radio-group> |
|
|
|
|
</div> |
|
|
|
|
<template v-if="form.accountMaterialsCheck === 797"> |
|
|
|
|
<template v-if="form.provideMaterialSelectedStatus === 797"> |
|
|
|
|
<p class="tips">选择需要提供的申请人材料(至少选一样)</p> |
|
|
|
|
<el-checkbox-group v-if="config.length" |
|
|
|
|
v-model="form.accountMaterials"> |
|
|
|
@ -52,13 +39,13 @@ |
|
|
|
|
<div> |
|
|
|
|
<div class="radio-wrap flex-col items-start"> |
|
|
|
|
<el-radio-group v-if="config.length" |
|
|
|
|
v-model="form.sendingAccountCheck"> |
|
|
|
|
v-model="form.issueAccountSelectStatus"> |
|
|
|
|
<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"> |
|
|
|
|
<template v-if="form.issueAccountSelectStatus === 801 && config.length"> |
|
|
|
|
<p class="tips">选择需要发放的账户(至少选一样)</p> |
|
|
|
|
|
|
|
|
|
<el-checkbox-group v-model="form.sendingAccount"> |
|
|
|
@ -90,14 +77,14 @@ |
|
|
|
|
<div class="flex items-center"> |
|
|
|
|
<p class="field-name mr-5 mb-0">借款人材料</p> |
|
|
|
|
<div class="radio-wrap flex-col items-start"> |
|
|
|
|
<el-radio-group v-model="form.borrowerMaterialCheck"> |
|
|
|
|
<el-radio-group v-model="form.borrowerMaterialSelectedStatus"> |
|
|
|
|
<el-radio v-for="(item, i) in whethers" |
|
|
|
|
:key="i" |
|
|
|
|
:label="item.id">{{ item.name }}</el-radio> |
|
|
|
|
</el-radio-group> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div v-if="form.borrowerMaterialCheck === 797"> |
|
|
|
|
<div v-if="form.borrowerMaterialSelectedStatus === 797"> |
|
|
|
|
<p class="my-2 text-xs text-[#666]">选择需要提供的借款人材料(至少选一样)</p> |
|
|
|
|
<el-checkbox-group v-if="config.length" |
|
|
|
|
v-model="form.borrowerMaterial" |
|
|
|
@ -155,14 +142,14 @@ |
|
|
|
|
<p class="field-name mt-5 mb-0">配偶材料</p> |
|
|
|
|
<div> |
|
|
|
|
<div class="radio-wrap flex-col items-start mb-1"> |
|
|
|
|
<el-radio-group v-model="form.mateMaterialCheck"> |
|
|
|
|
<el-radio-group v-model="form.mateMaterialSelectedStatus"> |
|
|
|
|
<el-radio v-for="(item, i) in whethers" |
|
|
|
|
:key="i" |
|
|
|
|
:label="item.id">{{ item.name }}</el-radio> |
|
|
|
|
</el-radio-group> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<template v-if="form.mateMaterialCheck === 797"> |
|
|
|
|
<template v-if="form.mateMaterialSelectedStatus === 797"> |
|
|
|
|
<p class="tips">选择需要提供的配偶材料(至少选一样)</p> |
|
|
|
|
<el-checkbox-group v-if="config.length" |
|
|
|
|
v-model="form.mateMaterial" |
|
|
|
@ -176,14 +163,14 @@ |
|
|
|
|
<p class="field-name mt-5">经营类材料</p> |
|
|
|
|
<div> |
|
|
|
|
<div class="radio-wrap flex-col items-start mb-1"> |
|
|
|
|
<el-radio-group v-model="form.businessMaterialsCheck"> |
|
|
|
|
<el-radio-group v-model="form.businessMaterialsSelectedStatus"> |
|
|
|
|
<el-radio v-for="(item, i) in whethers" |
|
|
|
|
:key="i" |
|
|
|
|
:label="item.id">{{ item.name }}</el-radio> |
|
|
|
|
</el-radio-group> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<template v-if="form.businessMaterialsCheck === 797"> |
|
|
|
|
<template v-if="form.businessMaterialsSelectedStatus === 797"> |
|
|
|
|
<p class="tips">选择需要提供的经营类材料(至少选一样)</p> |
|
|
|
|
<el-checkbox-group v-if="config.length" |
|
|
|
|
v-model="form.businessMaterials" |
|
|
|
@ -573,9 +560,11 @@ |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</el-tab-pane> |
|
|
|
|
<el-tab-pane label="产品要素" |
|
|
|
|
<el-tab-pane :label="info.approvalTime ? '产品详情' : '产品要素'" |
|
|
|
|
name="tab2"> |
|
|
|
|
<div class="h-[calc(100vh-170px)] pr-1 overflow-auto"> |
|
|
|
|
<info /> |
|
|
|
|
</div> |
|
|
|
|
</el-tab-pane> |
|
|
|
|
</el-tabs> |
|
|
|
|
</div> |
|
|
|
@ -585,26 +574,25 @@ |
|
|
|
|
import { ref, reactive, computed, watch, onMounted } from 'vue'; |
|
|
|
|
import { ElMessage } from 'element-plus'; |
|
|
|
|
import type { TabsPaneContext, FormInstance } from 'element-plus'; |
|
|
|
|
import { findById, riskSave, riskUpdate } from '@/api/bank'; |
|
|
|
|
import { findById, riskSave, riskUpdate, riskControlDetailsAreDisplayed } from '@/api/bank'; |
|
|
|
|
import { getProcessInformationBasedOnRoles, addOperation } from '@/api/judgment'; |
|
|
|
|
import { listCredit } from '@/api/model'; |
|
|
|
|
import { useRouter, useRoute } from 'vue-router'; |
|
|
|
|
import { handleId, getIds, getUsername } from '@/utils/common'; |
|
|
|
|
import Info from './Info.vue'; |
|
|
|
|
import Cookies from 'js-cookie'; |
|
|
|
|
import { getStatus } from '@/store/useProduct'; |
|
|
|
|
|
|
|
|
|
const emit = defineEmits(['getList']); |
|
|
|
|
interface RuleForm { |
|
|
|
|
accessPolicySelectedStatus?: number; |
|
|
|
|
accessStrategy: any; |
|
|
|
|
accountMaterialsCheck?: number; |
|
|
|
|
provideMaterialSelectedStatus?: number; |
|
|
|
|
accountMaterials: any; |
|
|
|
|
approvalSignature?: any; |
|
|
|
|
bankProductsId: any; |
|
|
|
|
borrowerMaterialCheck?: number; |
|
|
|
|
borrowerMaterialSelectedStatus?: number; |
|
|
|
|
borrowerMaterial: any; |
|
|
|
|
businessMaterialsCheck?: number; |
|
|
|
|
businessMaterialsSelectedStatus?: number; |
|
|
|
|
businessMaterials: any; |
|
|
|
|
mortgagedPropertySelectedStatus?: number; |
|
|
|
|
collateral: any; |
|
|
|
@ -626,7 +614,7 @@ interface RuleForm { |
|
|
|
|
loanApplicationMethod: any; |
|
|
|
|
loanContractSelectedStatus?: number; |
|
|
|
|
loanContract: any; |
|
|
|
|
mateMaterialCheck?: number; |
|
|
|
|
mateMaterialSelectedStatus?: number; |
|
|
|
|
mateMaterial: any; |
|
|
|
|
materialsForLoanApproval: any; |
|
|
|
|
mortgageContractSelectedStatus?: number; |
|
|
|
@ -644,7 +632,7 @@ interface RuleForm { |
|
|
|
|
runBatchObject: any; |
|
|
|
|
postLoanManagementSelectPolicySelectStatus?: number; |
|
|
|
|
selectionStrategy: any; |
|
|
|
|
sendingAccountCheck?: number; |
|
|
|
|
issueAccountSelectStatus?: number; |
|
|
|
|
sendingAccount: number[]; |
|
|
|
|
supplementMaterialSelectedStatus?: number; |
|
|
|
|
supplementaryMaterials: any; |
|
|
|
@ -652,7 +640,7 @@ interface RuleForm { |
|
|
|
|
const router = useRouter(); |
|
|
|
|
const route = useRoute(); |
|
|
|
|
const id = computed(() => +route.query.id); |
|
|
|
|
const curTab = ref<string>('tab1'); |
|
|
|
|
const curTab = ref<string>(route.query.show ? 'tab2' : 'tab1'); |
|
|
|
|
const config = ref<any[]>([]); |
|
|
|
|
const credits = ref<Record<string, any>[]>([]); |
|
|
|
|
const info = ref<Record<string, any>>({}); |
|
|
|
@ -668,17 +656,17 @@ const whethers = ref<Record<string, any>>([ |
|
|
|
|
]); |
|
|
|
|
const formRef = ref<FormInstance>(); |
|
|
|
|
const userName = ref<string>(); |
|
|
|
|
const form = reactive<RuleForm>({ |
|
|
|
|
let form = reactive<RuleForm>({ |
|
|
|
|
...getIds(), |
|
|
|
|
accessPolicySelectedStatus: '', |
|
|
|
|
accessStrategy: [], |
|
|
|
|
accountMaterialsCheck: '', |
|
|
|
|
provideMaterialSelectedStatus: '', |
|
|
|
|
accountMaterials: [], |
|
|
|
|
approvalSignature: '', |
|
|
|
|
bankProductsId: computed(() => +route.query.id), |
|
|
|
|
borrowerMaterialCheck: '', |
|
|
|
|
borrowerMaterialSelectedStatus: '', |
|
|
|
|
borrowerMaterial: [], |
|
|
|
|
businessMaterialsCheck: '', |
|
|
|
|
businessMaterialsSelectedStatus: '', |
|
|
|
|
businessMaterials: [], |
|
|
|
|
mortgagedPropertySelectedStatus: '', |
|
|
|
|
collateral: [], |
|
|
|
@ -700,7 +688,7 @@ const form = reactive<RuleForm>({ |
|
|
|
|
loanApplicationMethod: [], |
|
|
|
|
loanContractSelectedStatus: '', |
|
|
|
|
loanContract: '', |
|
|
|
|
mateMaterialCheck: '', |
|
|
|
|
mateMaterialSelectedStatus: '', |
|
|
|
|
mateMaterial: [], |
|
|
|
|
materialsForLoanApproval: [], |
|
|
|
|
mortgageContractSelectedStatus: '', |
|
|
|
@ -718,7 +706,7 @@ const form = reactive<RuleForm>({ |
|
|
|
|
runBatchObject: [], |
|
|
|
|
postLoanManagementSelectPolicySelectStatus: '', |
|
|
|
|
selectionStrategy: [], |
|
|
|
|
sendingAccountCheck: '', |
|
|
|
|
issueAccountSelectStatus: '', |
|
|
|
|
sendingAccount: [], |
|
|
|
|
supplementMaterialSelectedStatus: '', |
|
|
|
|
supplementaryMaterials: [], |
|
|
|
@ -771,9 +759,26 @@ const getDetail = async () => { |
|
|
|
|
userName.value = await getUsername(); |
|
|
|
|
if (id.value) { |
|
|
|
|
try { |
|
|
|
|
// 查询产品要素详情 |
|
|
|
|
const { data } = await findById(id.value); |
|
|
|
|
info.value = data; |
|
|
|
|
getConfig(); |
|
|
|
|
|
|
|
|
|
// 只返回id的详情 |
|
|
|
|
const res = await riskControlDetailsAreDisplayed(id.value); |
|
|
|
|
const e = res.data; |
|
|
|
|
e.interestRatePricingModel = e?.interestRatePricingModel?.length ? e.interestRatePricingModel[0] : ''; |
|
|
|
|
e.individualInterestRateModel = e?.individualInterestRateModel?.length ? e.individualInterestRateModel[0] : ''; |
|
|
|
|
e.reviewSignature = e?.reviewSignature?.length ? e.reviewSignature[0] : ''; |
|
|
|
|
e.approvalSignature = e?.approvalSignature?.length ? e.approvalSignature[0] : ''; |
|
|
|
|
|
|
|
|
|
e.loanContract = e?.loanContract?.length ? e.loanContract[0] : ''; |
|
|
|
|
e.mortgageContract = e?.mortgageContract?.length ? e.mortgageContract[0] : ''; |
|
|
|
|
e.pledgeContract = e?.pledgeContract?.length ? e.pledgeContract[0] : ''; |
|
|
|
|
e.guaranteeContract = e?.guaranteeContract?.length ? e.guaranteeContract[0] : ''; |
|
|
|
|
e.contractMaterials = e.contractMaterials ? +e.contractMaterials : ''; |
|
|
|
|
delete e.enterpriseQuotaModel; |
|
|
|
|
form = Object.assign(form, e); |
|
|
|
|
} finally { |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
@ -800,10 +805,10 @@ const submit = async (formEl: FormInstance | undefined) => { |
|
|
|
|
const isEnterprise = info.value.productType === 1; |
|
|
|
|
const param = JSON.parse(JSON.stringify(form)); |
|
|
|
|
|
|
|
|
|
if (param.accountMaterialsCheck === 797 && !param.accountMaterials.length) return ElMessage.error('请选择需要提供的申请人材料'); |
|
|
|
|
if (param.sendingAccountCheck === 801 && !param.sendingAccount.length) return ElMessage.error('请选择需要发放的账户'); |
|
|
|
|
if (param.provideMaterialSelectedStatus === 797 && !param.accountMaterials.length) return ElMessage.error('请选择需要提供的申请人材料'); |
|
|
|
|
if (param.issueAccountSelectStatus === 801 && !param.sendingAccount.length) return ElMessage.error('请选择需要发放的账户'); |
|
|
|
|
if (!param.loanApplicationMethod.length) return ElMessage.error('请选择申请方式'); |
|
|
|
|
if (param.borrowerMaterialCheck === 797 && !param.borrowerMaterial.length) return ElMessage.error('请选择借款人材料'); |
|
|
|
|
if (param.borrowerMaterialSelectedStatus === 797 && !param.borrowerMaterial.length) return ElMessage.error('请选择借款人材料'); |
|
|
|
|
|
|
|
|
|
if (isEnterprise) { |
|
|
|
|
// 企业 |
|
|
|
@ -811,8 +816,8 @@ const submit = async (formEl: FormInstance | undefined) => { |
|
|
|
|
if (param.mortgagedPropertySelectedStatus === 797 && !param.collateral.length) return ElMessage.error('请选择需要提供的抵押物材料'); |
|
|
|
|
} else { |
|
|
|
|
// 个人 |
|
|
|
|
if (param.mateMaterialCheck === 797 && !param.mateMaterial.length) return ElMessage.error('请选择需要提供的配偶材料'); |
|
|
|
|
if (param.businessMaterialsCheck === 797 && !param.businessMaterials.length) return ElMessage.error('请选择需要提供的经营类材料'); |
|
|
|
|
if (param.mateMaterialSelectedStatus === 797 && !param.mateMaterial.length) return ElMessage.error('请选择需要提供的配偶材料'); |
|
|
|
|
if (param.businessMaterialsSelectedStatus === 797 && !param.businessMaterials.length) return ElMessage.error('请选择需要提供的经营类材料'); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (param.supplementMaterialSelectedStatus === 797 && !param.supplementaryMaterials.length) return ElMessage.error('请选择需要提供的补充材料'); |
|
|
|
@ -827,17 +832,17 @@ const submit = async (formEl: FormInstance | undefined) => { |
|
|
|
|
if (param.postLoanManagementSelectPolicySelectStatus === 803 && !param.selectionStrategy.length) return ElMessage.error('请选择策略'); |
|
|
|
|
|
|
|
|
|
param.accessStrategy = param.accessPolicySelectedStatus === 803 ? param.accessStrategy.join() : ''; |
|
|
|
|
param.borrowerMaterial = param.borrowerMaterial.join(); |
|
|
|
|
param.accountMaterials = param.accountMaterialsCheck === 797 ? param.accountMaterials.join() : ''; |
|
|
|
|
param.sendingAccount = param.sendingAccountCheck === 801 ? param.sendingAccount.join() : ''; |
|
|
|
|
param.borrowerMaterial = param.borrowerMaterialSelectedStatus === 797 ? param.borrowerMaterial.join() : ''; |
|
|
|
|
param.accountMaterials = param.provideMaterialSelectedStatus === 797 ? param.accountMaterials.join() : ''; |
|
|
|
|
param.sendingAccount = param.issueAccountSelectStatus === 801 ? param.sendingAccount.join() : ''; |
|
|
|
|
// 企业 |
|
|
|
|
param.collateral = param.mortgagedPropertySelectedStatus === 797 ? param.collateral.join() : ''; |
|
|
|
|
param.enterpriseMaterial = param.enterpriseMaterialSelectedStatus === 797 ? param.enterpriseMaterial.join() : ''; |
|
|
|
|
param.corporateInterestRateModel = param.corporateInterestRateModel.join(); |
|
|
|
|
param.materialsForLoanApproval = param.materialsForLoanApproval.join(); |
|
|
|
|
// 个人 |
|
|
|
|
param.businessMaterials = param.businessMaterialsCheck === 797 ? param.businessMaterials.join() : ''; |
|
|
|
|
param.mateMaterial = param.mateMaterialCheck === 797 ? param.mateMaterial.join() : ''; |
|
|
|
|
param.businessMaterials = param.businessMaterialsSelectedStatus === 797 ? param.businessMaterials.join() : ''; |
|
|
|
|
param.mateMaterial = param.mateMaterialSelectedStatus === 797 ? param.mateMaterial.join() : ''; |
|
|
|
|
if (param.personalCreditScoringStrategySelectedStatus !== 797) param.personalCreditScoringStrategies = ''; |
|
|
|
|
if (param.enterpriseCreditScoringStrategySelectedStatus !== 797) param.corporateCreditScoringStrategies = ''; |
|
|
|
|
if (param.individualCreditModelSelectedStatus !== 803) param.interestRatePricingModel = ''; |
|
|
|
@ -883,16 +888,16 @@ const addRecord = async (data: Record<string, any>) => { |
|
|
|
|
|
|
|
|
|
// 企业 |
|
|
|
|
if (isEnterprise) { |
|
|
|
|
data.accountMaterialsCheck && lcRule.push(handleId(1246, 325, data.accountMaterialsCheck, preIds + ',112,120,1246', 1)); |
|
|
|
|
data.provideMaterialSelectedStatus && lcRule.push(handleId(1246, 325, data.provideMaterialSelectedStatus, 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.issueAccountSelectStatus && lcRule.push(handleId(1257, 326, data.issueAccountSelectStatus, 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.enterpriseMaterialSelectedStatus && lcRule.push(handleId(1294, 325, data.enterpriseMaterialSelectedStatus, preIds + ',113,124,1294', 1)); |
|
|
|
|
data.enterpriseMaterial && lcRule.push(handleId(1258, 48, data.enterpriseMaterial, preIds + ',113,124,1258', 1)); |
|
|
|
|
|
|
|
|
|
form.borrowerMaterialCheck && lcRule.push(handleId(1294, 325, form.borrowerMaterialCheck, preIds + ',113,123,1294', 1)); |
|
|
|
|
form.borrowerMaterialSelectedStatus && lcRule.push(handleId(1294, 325, form.borrowerMaterialSelectedStatus, preIds + ',113,123,1294', 1)); |
|
|
|
|
const borrowerMaterial = []; |
|
|
|
|
form.borrowerMaterial.forEach((e) => { |
|
|
|
|
borrowerMaterial.push(e); |
|
|
|
@ -948,24 +953,24 @@ const addRecord = async (data: Record<string, any>) => { |
|
|
|
|
data.postLoanManagementSelectPolicySelectStatus && lcRule.push(handleId(1302, 327, data.postLoanManagementSelectPolicySelectStatus, 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(1294, 325, data.accountMaterialsCheck, preIds + ',72,75,1294', 1)); |
|
|
|
|
data.provideMaterialSelectedStatus && lcRule.push(handleId(1294, 325, data.provideMaterialSelectedStatus, preIds + ',72,75,1294', 1)); |
|
|
|
|
data.accountMaterials && lcRule.push(handleId(1295, 20, data.accountMaterials, preIds + ',72,75,1295', 1)); |
|
|
|
|
|
|
|
|
|
data.sendingAccountCheck && lcRule.push(handleId(1312, 326, data.sendingAccountCheck, preIds + ',72,76,1312', 1)); |
|
|
|
|
data.issueAccountSelectStatus && lcRule.push(handleId(1312, 326, data.issueAccountSelectStatus, 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)); |
|
|
|
|
form.borrowerMaterialSelectedStatus && lcRule.push(handleId(1294, 325, form.borrowerMaterialSelectedStatus, 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.mateMaterialCheck && lcRule.push(handleId(1294, 325, data.mateMaterialCheck, preIds + ',73,79,1294', 1)); |
|
|
|
|
data.mateMaterialSelectedStatus && lcRule.push(handleId(1294, 325, data.mateMaterialSelectedStatus, 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.businessMaterialsSelectedStatus && lcRule.push(handleId(1294, 325, data.businessMaterialsSelectedStatus, preIds + ',73,80,1294', 1)); |
|
|
|
|
data.businessMaterials && lcRule.push(handleId(1292, 25, data.businessMaterials, preIds + ',73,80,1292', 1)); |
|
|
|
|
|
|
|
|
|
data.supplementMaterialSelectedStatus && lcRule.push(handleId(1294, 325, data.supplementMaterialSelectedStatus, preIds + ',73,81,1294', 1)); |
|
|
|
@ -1025,13 +1030,4 @@ const addRecord = async (data: Record<string, any>) => { |
|
|
|
|
|
|
|
|
|
<style lang="scss" scoped> |
|
|
|
|
@import url(../../../styles/form.scss); |
|
|
|
|
.audit { |
|
|
|
|
@apply py-5 px-4 mb-[30px] bg-[#f9fafc] rounded-[10px]; |
|
|
|
|
.line { |
|
|
|
|
@apply mb-[18px] text-sm leading-[1.6]; |
|
|
|
|
} |
|
|
|
|
.field { |
|
|
|
|
@apply text-sm font-semibold; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
</style> |
|
|
|
|