|
|
|
@ -142,10 +142,8 @@ |
|
|
|
|
placeholder="请选择"> |
|
|
|
|
<el-option v-for="item in credits.filter(e => !e.scoringObject)" |
|
|
|
|
:key="item" |
|
|
|
|
:label="item.scoreCardName" |
|
|
|
|
:value="item.id" /> |
|
|
|
|
<el-option label="无" |
|
|
|
|
:value="761" /> |
|
|
|
|
:value="item.scoreCardName" /> |
|
|
|
|
<el-option value="无" /> |
|
|
|
|
</el-select> |
|
|
|
|
</div> |
|
|
|
|
<div class="flex items-center"> |
|
|
|
@ -157,10 +155,8 @@ |
|
|
|
|
placeholder="请选择"> |
|
|
|
|
<el-option v-for="item in credits.filter(e => e.scoringObject)" |
|
|
|
|
:key="item" |
|
|
|
|
:label="item.scoreCardName" |
|
|
|
|
:value="item.id" /> |
|
|
|
|
<el-option label="无" |
|
|
|
|
:value="761" /> |
|
|
|
|
:value="item.scoreCardName" /> |
|
|
|
|
<el-option value="无" /> |
|
|
|
|
</el-select> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
@ -407,7 +403,7 @@ const form = reactive<RuleForm>({ |
|
|
|
|
collateral: [], |
|
|
|
|
contractMaterials: '', |
|
|
|
|
corporateCreditScoringStrategiesCheck: false, |
|
|
|
|
corporateCreditScoringStrategies: '', |
|
|
|
|
corporateCreditScoringStrategies: '无', |
|
|
|
|
corporateInterestRateModel: [], |
|
|
|
|
dueDiligenceContent: [], |
|
|
|
|
dueDiligenceMode: '', |
|
|
|
@ -423,7 +419,7 @@ const form = reactive<RuleForm>({ |
|
|
|
|
materialsForLoanApproval: [], |
|
|
|
|
mortgageContract: '', |
|
|
|
|
personalCreditScoringStrategiesCheck: false, |
|
|
|
|
personalCreditScoringStrategies: '', |
|
|
|
|
personalCreditScoringStrategies: '无', |
|
|
|
|
pledgeContractCheck: false, |
|
|
|
|
pledgeContract: '', |
|
|
|
|
reviewApproveContent: '', |
|
|
|
@ -496,8 +492,8 @@ const submit = async (formEl: FormInstance | undefined) => { |
|
|
|
|
param.businessMaterials = param.businessMaterials.join(); |
|
|
|
|
param.mateMaterial = param.mateMaterial.join(); |
|
|
|
|
param.individualInterestRateModel = param.individualInterestRateModel.join(); |
|
|
|
|
if (!param.personalCreditScoringStrategiesCheck) param.personalCreditScoringStrategies = 761; |
|
|
|
|
if (!param.corporateCreditScoringStrategiesCheck) param.corporateCreditScoringStrategies = 761; |
|
|
|
|
if (!param.personalCreditScoringStrategiesCheck) param.personalCreditScoringStrategies = '无'; |
|
|
|
|
if (!param.corporateCreditScoringStrategiesCheck) param.corporateCreditScoringStrategies = '无'; |
|
|
|
|
if (!param.interestRatePricingModelCheck) param.interestRatePricingModel = ''; |
|
|
|
|
|
|
|
|
|
if (!param.loanContractCheck) param.loanContract = ''; |
|
|
|
@ -556,8 +552,8 @@ const addRecord = async (data: Record<string, any>) => { |
|
|
|
|
// 选择了无才需要给 |
|
|
|
|
lcRule.push(handleId(1044, 302, data.personalCreditScoringStrategiesCheck ? 759 : 760, preIds + ',114,129,1046,1044', 1)); |
|
|
|
|
lcRule.push(handleId(1044, 302, data.corporateCreditScoringStrategiesCheck ? 759 : 760, preIds + ',114,129,1047,1044', 1)); |
|
|
|
|
data.personalCreditScoringStrategies === 761 && lcRule.push(handleId(1045, 303, data.personalCreditScoringStrategies, preIds + ',114,129,1046,1045', 1)); |
|
|
|
|
data.corporateCreditScoringStrategies === 761 && lcRule.push(handleId(129, 53, '241,' + data.corporateCreditScoringStrategies, preIds + ',114,129', 1)); |
|
|
|
|
lcRule.push(handleId(1045, 303, data.personalCreditScoringStrategies, preIds + ',114,129,1046,1045', 3)); |
|
|
|
|
lcRule.push(handleId(1045, 303, data.corporateCreditScoringStrategies, preIds + ',114,129,1047,1045', 3)); |
|
|
|
|
|
|
|
|
|
data.riskDegreeStrategy && lcRule.push(handleId(130, 54, data.riskDegreeStrategy, preIds + ',114,130', 1)); |
|
|
|
|
data.interestRatePricingModelCheck && lcRule.push(handleId(305, 55, data.interestRatePricingModel, preIds + ',114,131,305', 1)); |
|
|
|
@ -571,10 +567,10 @@ const addRecord = async (data: Record<string, any>) => { |
|
|
|
|
data.approvalSignature && lcRule.push(handleId(137, 61, data.approvalSignature, preIds + ',117,137', 1)); |
|
|
|
|
data.contractMaterials && lcRule.push(handleId(138, 62, data.contractMaterials, preIds + ',118,138', 1)); |
|
|
|
|
|
|
|
|
|
data.loanContract && lcRule.push(handleId(139, 63, data.loanContract, preIds + ',118,139', 1)); |
|
|
|
|
data.mortgageContract && lcRule.push(handleId(139, 63, data.mortgageContract, preIds + ',118,139', 1)); |
|
|
|
|
data.pledgeContract && lcRule.push(handleId(139, 63, data.pledgeContract, preIds + ',118,139', 1)); |
|
|
|
|
data.guaranteeContract && lcRule.push(handleId(139, 63, data.guaranteeContract, preIds + ',118,139', 1)); |
|
|
|
|
data.loanContract && lcRule.push(handleId(306, 63, data.loanContract, preIds + ',118,139,306', 1)); |
|
|
|
|
data.mortgageContract && lcRule.push(handleId(307, 142, data.mortgageContract, preIds + ',118,139,307', 1)); |
|
|
|
|
data.pledgeContract && lcRule.push(handleId(308, 143, data.pledgeContract, preIds + ',118,139,308', 1)); |
|
|
|
|
data.guaranteeContract && lcRule.push(handleId(309, 144, data.guaranteeContract, preIds + ',118,139,309', 1)); |
|
|
|
|
data.selectionStrategy && lcRule.push(handleId(140, 64, data.selectionStrategy, preIds + ',119,140', 1)); |
|
|
|
|
} else { |
|
|
|
|
data.accountMaterials && lcRule.push(handleId(75, 20, data.accountMaterials, preIds + ',72,75', 1)); |
|
|
|
@ -595,8 +591,8 @@ const addRecord = async (data: Record<string, any>) => { |
|
|
|
|
// 选择了无才需要给 |
|
|
|
|
lcRule.push(handleId(1044, 302, data.personalCreditScoringStrategiesCheck ? 759 : 760, preIds + ',74,84,1046,1044', 1)); |
|
|
|
|
lcRule.push(handleId(1044, 302, data.corporateCreditScoringStrategiesCheck ? 759 : 760, preIds + ',74,84,1047,1044', 1)); |
|
|
|
|
data.personalCreditScoringStrategies === 761 && lcRule.push(handleId(1045, 303, data.personalCreditScoringStrategies, preIds + ',74,84,1046,1045', 1)); |
|
|
|
|
data.corporateCreditScoringStrategies === 761 && lcRule.push(handleId(1047, 303, data.corporateCreditScoringStrategies, preIds + ',74,84,1047,1045', 1)); |
|
|
|
|
lcRule.push(handleId(1045, 303, data.personalCreditScoringStrategies, preIds + ',74,84,1046,1045', 3)); |
|
|
|
|
lcRule.push(handleId(1045, 303, data.corporateCreditScoringStrategies, preIds + ',74,84,1047,1045', 3)); |
|
|
|
|
|
|
|
|
|
data.riskDegreeStrategy && lcRule.push(handleId(85, 30, data.riskDegreeStrategy, preIds + ',74,85', 1)); |
|
|
|
|
data.interestRatePricingModelCheck && lcRule.push(handleId(303, 141, data.interestRatePricingModel, preIds + ',74,86,303', 1)); |
|
|
|
@ -610,10 +606,10 @@ const addRecord = async (data: Record<string, any>) => { |
|
|
|
|
data.approvalSignature && lcRule.push(handleId(95, 37, data.approvalSignature, preIds + ',93,95', 1)); |
|
|
|
|
data.contractMaterials && lcRule.push(handleId(97, 38, data.contractMaterials, preIds + ',96,97', 1)); |
|
|
|
|
|
|
|
|
|
data.loanContract && lcRule.push(handleId(98, 39, data.loanContract, preIds + ',96,98', 1)); |
|
|
|
|
data.mortgageContract && lcRule.push(handleId(98, 39, data.mortgageContract, preIds + ',96,98', 1)); |
|
|
|
|
data.pledgeContract && lcRule.push(handleId(98, 39, data.pledgeContract, preIds + ',96,98', 1)); |
|
|
|
|
data.guaranteeContract && lcRule.push(handleId(98, 39, data.guaranteeContract, preIds + ',96,98', 1)); |
|
|
|
|
data.loanContract && lcRule.push(handleId(310, 39, data.loanContract, preIds + ',96,98,310', 1)); |
|
|
|
|
data.mortgageContract && lcRule.push(handleId(311, 145, data.mortgageContract, preIds + ',96,98,311', 1)); |
|
|
|
|
data.pledgeContract && lcRule.push(handleId(312, 146, data.pledgeContract, preIds + ',96,98,312', 1)); |
|
|
|
|
data.guaranteeContract && lcRule.push(handleId(313, 147, data.guaranteeContract, preIds + ',96,98,313', 1)); |
|
|
|
|
data.selectionStrategy && lcRule.push(handleId(99, 40, data.selectionStrategy, preIds + ',99', 1)); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|