From 3e8ccd85290a2f2cf49344fc96218f5411aba2bd Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Thu, 26 Oct 2023 16:45:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=A1=E7=94=A8=E8=AF=84=E5=88=86=E7=AD=96?= =?UTF-8?q?=E7=95=A5=EF=BC=88=E4=BC=81=E4=B8=9A=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Panel/index.vue | 1 + src/views/product/bank/Add.vue | 10 +- src/views/product/bank/Config.vue | 4 +- src/views/product/strategy/CardList.vue | 4 +- src/views/product/strategy/Credit.vue | 492 ++++++++++++++++++++++-- 5 files changed, 467 insertions(+), 44 deletions(-) diff --git a/src/components/Panel/index.vue b/src/components/Panel/index.vue index 9b276fa..05a8277 100644 --- a/src/components/Panel/index.vue +++ b/src/components/Panel/index.vue @@ -443,6 +443,7 @@ const submit = async () => { timeSum, checkpointId: Cookies.get('sand-level') ?? '', projectId: param.projectId, + projectName: projectList.value.find((e) => e.projectId == param.projectId)?.projectName, lcId: curReq.value, assessmentId: param.assessmentId, systemId: curSystemId.value, diff --git a/src/views/product/bank/Add.vue b/src/views/product/bank/Add.vue index 9e53abd..187ba11 100644 --- a/src/views/product/bank/Add.vue +++ b/src/views/product/bank/Add.vue @@ -448,12 +448,12 @@ const addRecord = async (data: Record) => { // 企业 lcRule.push( handleId(62, 7, data.productObject, preIds + ',61,62', 1), - handleId(63, 8, '[' + data.minimumAge + ',' + data.maximumAge + ']' + '', preIds + ',61,63', 5), + handleId(63, 8, data.minimumAge + '~' + data.maximumAge + '', preIds + ',61,63', 5), handleId(65, 19, data.loanPurpose, preIds + ',65', 1), ); } else { // 个人 - data.age && lcRule.push(handleId(100, 41, '[' + data.minimumAge + ',' + data.maximumAge + ']' + '', preIds + ',51,100', 5)); + data.age && lcRule.push(handleId(100, 41, data.minimumAge + '~' + data.maximumAge + '', preIds + ',51,100', 5)); data.edu && lcRule.push(handleId(101, 42, data.educationalRequirements, preIds + ',51,101', 1)); data.curWL && lcRule.push(handleId(102, 43, data.currentWorkingLife, preIds + ',51,102', 1)); data.providentFundAndSocialSecurity && lcRule.push(handleId(103, '', '', preIds + ',51,103', '')); // 公积金社保 @@ -470,9 +470,9 @@ const addRecord = async (data: Record) => { data.bankGuaranteeTypeIds.includes(111) && lcRule.push(handleId(111, 14, data.bankGuaranteeTypeIds.filter((e: number) => e > 32 && e < 38).join(), preIds + ',53,111', 1)); lcRule.push( - handleId(54, 15, '[' + data.minimumLoan + ',' + data.loanCeiling + ']', preIds + ',54', 5), - handleId(55, 16, '[' + data.minimumAprOnLoan + ',' + data.maximumAnnualInterestRate + ']', preIds + ',55', 5), - handleId(56, 17, '[' + data.minimumTermOfLoan + ',' + data.maximumTermOfLoan + ']', preIds + ',56', 5), + handleId(54, 15, data.minimumLoan + '~' + data.loanCeiling, preIds + ',54', 5), + handleId(55, 16, data.minimumAprOnLoan + '~' + data.maximumAnnualInterestRate, preIds + ',55', 5), + handleId(56, 17, data.minimumTermOfLoan + '~' + data.maximumTermOfLoan, preIds + ',56', 5), handleId(57, 18, data.modeRepayment, preIds + ',57', 1), ); diff --git a/src/views/product/bank/Config.vue b/src/views/product/bank/Config.vue index 702da48..1f03ab7 100644 --- a/src/views/product/bank/Config.vue +++ b/src/views/product/bank/Config.vue @@ -602,7 +602,9 @@ const addRecord = async (data: Record) => { handleId(82, 27, data.runBatchObject, preIds + ',74,82', 1), handleId(83, 28, data.accessStrategy, preIds + ',74,83', 1), ); - data.personalCreditScoringStrategiesCheck && lcRule.push(handleId(84, 29, '94,' + data.personalCreditScoringStrategies, preIds + ',74,84', 1)); + + lcRule.push(handleId(1044, 282, data.personalCreditScoringStrategiesCheck ? 683 : 684, preIds + ',74,1046,1044', 1)); + // data.personalCreditScoringStrategiesCheck && lcRule.push(handleId(1045, 283, data.personalCreditScoringStrategies, preIds + ',74,1046,1045', 1)); data.corporateCreditScoringStrategiesCheck && lcRule.push(handleId(84, 29, '95,' + data.corporateCreditScoringStrategies, preIds + ',74,84', 1)); lcRule.push(handleId(85, 30, data.riskDegreeStrategy, preIds + ',74,85', 1)); diff --git a/src/views/product/strategy/CardList.vue b/src/views/product/strategy/CardList.vue index 97c9b4f..b798bc8 100644 --- a/src/views/product/strategy/CardList.vue +++ b/src/views/product/strategy/CardList.vue @@ -44,7 +44,7 @@
  • @@ -92,7 +92,7 @@ const router = useRouter(); const route = useRoute(); const projectId = +Cookies.get('sand-projectId'); const levelId = +Cookies.get('sand-level'); -const curTab = ref('tab2'); +const curTab = ref('tab1'); const list = ref>>([]); const list1 = ref>>([]); const id = computed(() => +route.query.id); diff --git a/src/views/product/strategy/Credit.vue b/src/views/product/strategy/Credit.vue index ee2335f..aacb047 100644 --- a/src/views/product/strategy/Credit.vue +++ b/src/views/product/strategy/Credit.vue @@ -24,7 +24,7 @@ border> + width="100">