From 50a5452471c411fd3ee2810a269a59c6fcc4cfce Mon Sep 17 00:00:00 2001
From: yujialong <479214531@qq.com>
Date: Mon, 25 Mar 2024 18:38:51 +0800
Subject: [PATCH] =?UTF-8?q?=E9=93=B6=E8=A1=8C=E8=A6=81=E7=B4=A0=E5=9B=9E?=
=?UTF-8?q?=E6=98=BE=E7=AD=89?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.env | 4 +-
src/api/bank.ts | 1 +
src/layout/components/AppHeader.vue | 8 -
src/store/useProduct.ts | 1 -
src/utils/common.ts | 9 +
src/views/product/bank/Add.vue | 168 +++++++-------
src/views/product/bank/Approve.vue | 7 +-
src/views/product/bank/Config.vue | 288 ++++++++++++++----------
src/views/product/bank/Detail.vue | 9 +-
src/views/product/bank/Info.vue | 92 +++++---
src/views/product/fund/Add.vue | 20 +-
src/views/product/strategy/CardList.vue | 2 -
src/views/product/strategy/Credit.vue | 3 +-
13 files changed, 343 insertions(+), 269 deletions(-)
diff --git a/.env b/.env
index e2a3828..104e2c6 100644
--- a/.env
+++ b/.env
@@ -2,8 +2,8 @@ VITE_APP_TITLE=金融产品设计及数字化营销沙盘
VITE_PORT=9520
# VITE_PROXY=http://192.168.31.125:8080
VITE_PUBLIC_PATH=./
-# VITE_BASE_API=http://192.168.31.217:9000
-VITE_BASE_API=http://121.37.12.51
+VITE_BASE_API=http://192.168.31.217:9000
+# VITE_BASE_API=http://121.37.12.51
# VITE_BASE_API=https://www.occupationlab.com
VITE_I18N_LOCALE=zh-cn
VITE_I18N_FALLBACK_LOCALE=zh-cn
diff --git a/src/api/bank.ts b/src/api/bank.ts
index b686e39..8c4292e 100644
--- a/src/api/bank.ts
+++ b/src/api/bank.ts
@@ -11,6 +11,7 @@ export const personalRiskControlConfigurationField = async (): Promise =>
(await axios.post('/product/riskControlConfigurationField/personalRiskControlConfigurationField')).data;
export const productElement = async (id: number): Promise => (await axios.post(`/product/product/bank/products/productElement?id=${id}`)).data;
export const findById = async (id: number): Promise => (await axios.post(`/product/product/bank/products/findById?id=${id}`)).data;
+export const elementDetail = async (id: number): Promise => (await axios.post(`/product/product/bank/products/elementDetail?id=${id}`)).data;
export const save = async (data: Record): Promise => (await axios.post(`/product/product/bank/products/save`, data)).data;
export const riskSave = async (data: Record): Promise => (await axios.post(`/product/managerOfRiskControl/bankRiskControlAllocation/save`, data)).data;
export const riskUpdate = async (data: Record): Promise => (await axios.post(`/product/managerOfRiskControl/bankRiskControlAllocation/update`, data)).data;
diff --git a/src/layout/components/AppHeader.vue b/src/layout/components/AppHeader.vue
index 4f1ea0e..f418260 100644
--- a/src/layout/components/AppHeader.vue
+++ b/src/layout/components/AppHeader.vue
@@ -11,14 +11,6 @@
alt=""
@click="logout" />
-
-
-
diff --git a/src/store/useProduct.ts b/src/store/useProduct.ts
index d76d979..2c2509f 100644
--- a/src/store/useProduct.ts
+++ b/src/store/useProduct.ts
@@ -1,5 +1,4 @@
import { reactive, readonly } from 'vue';
-import Cookies from 'js-cookie';
export interface Product {
status?: Record;
diff --git a/src/utils/common.ts b/src/utils/common.ts
index ded001c..cd76577 100644
--- a/src/utils/common.ts
+++ b/src/utils/common.ts
@@ -1,5 +1,6 @@
import Cookies from 'js-cookie';
import { getCurrentTime } from '@/api/system';
+import { getTheCurrentUserName } from '@/api/config';
const UJCMS_LOCALE = 'ujcms-locale';
const UJCMS_SITE_ID = 'ujcms-site-id';
@@ -254,6 +255,14 @@ export const getNow = (): Promise => {
});
};
+/**
+ * 获取当前用户名
+ */
+export const getUsername = async (): string => {
+ const res = await getTheCurrentUserName();
+ return res.userName;
+};
+
export const whethers = [
{
id: 795,
diff --git a/src/views/product/bank/Add.vue b/src/views/product/bank/Add.vue
index afd2447..56987da 100644
--- a/src/views/product/bank/Add.vue
+++ b/src/views/product/bank/Add.vue
@@ -80,14 +80,14 @@
1、年龄
是否启用
-
+
{{ item.name }}
-
-
选择本产品的担保种类。
信用贷
-
+
{{ item.name }}
@@ -211,7 +211,7 @@
保证贷
-
+
{{ item.name }}
@@ -220,13 +220,13 @@
抵押贷
-
+
{{ item.name }}
-
质押贷
-
+
{{ item.name }}
-
-
+
@@ -337,11 +337,10 @@
import { ref, reactive, computed, watch, onMounted, defineEmits } from 'vue';
import { ElMessage } from 'element-plus';
import type { TabsPaneContext, FormInstance, FormRules } from 'element-plus';
-import { findById, save, update } from '@/api/bank';
+import { findById, save, update, elementDetail } from '@/api/bank';
import { getProcessInformationBasedOnRoles, addOperation } from '@/api/judgment';
-import { getTheCurrentUserName } from '@/api/config';
import { useRouter, useRoute } from 'vue-router';
-import { handleId, isIllegalNum, getIds, whethers } from '@/utils/common';
+import { handleId, isIllegalNum, getIds, whethers, getUsername } from '@/utils/common';
import { getStatus } from '@/store/useProduct';
import Info from './Info.vue';
import Cookies from 'js-cookie';
@@ -352,30 +351,30 @@ interface RuleForm {
productName: string;
productCurrency: number;
bankGuaranteeTypeIds: number[];
- currentWorkingLife?: any;
- edu: number | string;
- educationalRequirements?: any;
- loanCeiling: any;
+ currentWorkingLife?: number[];
+ degreeSelectedStatus?: number;
+ educationalRequirements?: number[];
+ loanCeiling?: string;
loanPurpose?: number;
- maximumAge: any;
- maximumAnnualInterestRate: any;
- maximumTermOfLoan: any;
- age: number | string;
- curWL: number | string;
- minimumAge: any;
- minimumAprOnLoan: any;
- minimumLoan: any;
- minimumTermOfLoan: any;
- modeRepayment?: any;
+ maximumAge?: number;
+ maximumAnnualInterestRate?: string;
+ maximumTermOfLoan?: string;
+ ageSelectedState?: number;
+ workingLifeSelectedState?: number;
+ minimumAge?: number;
+ minimumAprOnLoan?: string;
+ minimumLoan?: string;
+ minimumTermOfLoan?: string;
+ modeRepayment?: number[];
otherPurposesOfLoan: string;
- productObject: any;
+ productObject?: number;
productType: number;
providentFundAndSocialSecurity: number | string;
- whetherToSupportEarlyRepayment?: any;
- bankGuarantee1?: number;
- bankGuarantee2?: number;
- bankGuarantee3?: number;
- bankGuarantee4?: number;
+ whetherToSupportEarlyRepayment: boolean;
+ creditSelectedStatus?: number;
+ guaranteeLoanSelectedStatus?: number;
+ mortgageSelectedStatus?: number;
+ hypothecatedSelectedStatus?: number;
}
const router = useRouter();
@@ -387,22 +386,22 @@ const info = ref>(null);
const formRef = ref();
const userName = ref();
-const form = reactive({
+let form = reactive({
...getIds(),
productDefinition: '',
productName: '',
productCurrency: 1,
bankGuaranteeTypeIds: [],
currentWorkingLife: [],
- edu: '',
+ degreeSelectedStatus: '',
educationalRequirements: [],
loanCeiling: '',
loanPurpose: '',
maximumAge: '',
maximumAnnualInterestRate: '',
maximumTermOfLoan: '',
- age: '',
- curWL: '',
+ ageSelectedState: '',
+ workingLifeSelectedState: '',
minimumAge: '',
minimumAprOnLoan: '',
minimumLoan: '',
@@ -413,10 +412,10 @@ const form = reactive({
productType: computed(() => +route.query.type),
providentFundAndSocialSecurity: '',
whetherToSupportEarlyRepayment: false,
- bankGuarantee1: '',
- bankGuarantee2: '',
- bankGuarantee3: '',
- bankGuarantee4: '',
+ creditSelectedStatus: '',
+ guaranteeLoanSelectedStatus: '',
+ mortgageSelectedStatus: '',
+ hypothecatedSelectedStatus: '',
});
const rules = reactive>({
productDefinition: [{ required: true, message: '请输入产品定义', trigger: 'blur' }],
@@ -436,25 +435,39 @@ const getConfig = async () => {
};
// 详情
const getDetail = async () => {
+ userName.value = await getUsername();
+
info.value = null;
if (id.value) {
try {
+ // 只返回name的详情
const { data } = await findById(id.value);
info.value = data;
+
+ // 只返回id的详情
+ const res = await elementDetail(id.value);
+ if (res) {
+ const e = res.data.bankProducts;
+ e.currentWorkingLife = e.currentWorkingLife.split(',').map((n) => +n);
+ e.educationalRequirements = e.educationalRequirements.split(',').map((n) => +n);
+ e.modeRepayment = e.modeRepayment.split(',').map((n) => +n);
+ e.whetherToSupportEarlyRepayment = !!e.whetherToSupportEarlyRepayment;
+ e.bankGuaranteeTypeIds = [];
+ if (e.bankGuaranteeAllocationList) {
+ e.bankGuaranteeAllocationList.map((n) => {
+ n.guaranteeTypeId && e.bankGuaranteeTypeIds.push(n.guaranteeTypeId);
+ });
+ }
+ form = Object.assign(form, e);
+ }
} finally {
}
}
};
-// 获取审查员姓名
-const getName = async () => {
- const res = await getTheCurrentUserName();
- userName.value = res.userName;
-};
watch(
() => route.query,
() => {
getDetail();
- getName();
},
{
immediate: true,
@@ -472,7 +485,7 @@ const submit = async (formEl: FormInstance | undefined) => {
if (param.productType) {
if (!param.productObject) return ElMessage.error('请选择企业类型');
}
- if ((!param.productType && param.age === 795) || param.productType) {
+ if ((!param.productType && param.ageSelectedState === 795) || param.productType) {
if (!param.minimumAge) return ElMessage.error('请输入最小年龄');
if (!param.maximumAge) return ElMessage.error('请输入最大年龄');
if (isIllegalNum(param.minimumAge) || isIllegalNum(param.maximumAge)) return ElMessage.error('请输入合理的年龄');
@@ -481,8 +494,8 @@ const submit = async (formEl: FormInstance | undefined) => {
// 个人
if (!param.productType) {
- if (param.edu === 795 && !param.educationalRequirements.length) return ElMessage.error('请选择学历要求');
- if (param.curWL === 795 && !param.currentWorkingLife.length) return ElMessage.error('请选择工作年限');
+ if (param.degreeSelectedStatus === 795 && !param.educationalRequirements.length) return ElMessage.error('请选择学历要求');
+ if (param.workingLifeSelectedState === 795 && !param.currentWorkingLife.length) return ElMessage.error('请选择工作年限');
}
if (isIllegalNum(param.minimumLoan) || isIllegalNum(param.loanCeiling) || +param.minimumLoan > +param.loanCeiling) return ElMessage.error('请输入合理的贷款额度');
if (isIllegalNum(param.minimumAprOnLoan) || isIllegalNum(param.maximumAnnualInterestRate) || +param.minimumAprOnLoan > +param.maximumAnnualInterestRate)
@@ -492,43 +505,30 @@ const submit = async (formEl: FormInstance | undefined) => {
param.currentWorkingLife = param.currentWorkingLife.join();
param.educationalRequirements = param.educationalRequirements.join();
param.modeRepayment = param.modeRepayment.join();
- // param.providentFundAndSocialSecurity = param.providentFundAndSocialSecurity === 795 ? 1 : '';
param.whetherToSupportEarlyRepayment = param.whetherToSupportEarlyRepayment ? 58 : '';
// 担保方式
const graIds = [];
// 信用贷
- param.bankGuarantee1 === 795 &&
+ param.creditSelectedStatus === 795 &&
graIds.push({
bankGuaranteeTypeId: '',
pid: 108,
});
// 保证贷
- param.bankGuarantee2 === 795 &&
+ param.guaranteeLoanSelectedStatus === 795 &&
graIds.push({
bankGuaranteeTypeId: '',
pid: 109,
});
- // 抵押贷
- param.bankGuarantee3 === 795 &&
- graIds.push({
- bankGuaranteeTypeId: 110,
- pid: '',
- });
- // 质押贷
- param.bankGuarantee4 === 795 &&
- graIds.push({
- bankGuaranteeTypeId: 111,
- pid: '',
- });
param.bankGuaranteeTypeIds.forEach((e: number) => {
// 抵押贷
- if (param.bankGuarantee3 === 795 && e > 22 && e < 33) {
+ if (param.mortgageSelectedStatus === 795 && e > 22 && e < 33) {
graIds.push({
bankGuaranteeTypeId: e,
pid: 110,
});
- } else if (param.bankGuarantee4 === 795 && e > 32 && e < 38) {
+ } else if (param.hypothecatedSelectedStatus === 795 && e > 32 && e < 38) {
// 质押贷
graIds.push({
bankGuaranteeTypeId: e,
@@ -578,14 +578,14 @@ const addRecord = async (data: Record) => {
);
} else {
// 个人
- data.age && lcRule.push(handleId(1235, 324, data.age, preIds + ',51,1234,1235', 1));
- data.age === 795 && lcRule.push(handleId(1236, 41, data.minimumAge + '~' + data.maximumAge, preIds + ',51,1234,1236', 5));
+ data.ageSelectedState && lcRule.push(handleId(1235, 324, data.ageSelectedState, preIds + ',51,1234,1235', 1));
+ data.ageSelectedState === 795 && lcRule.push(handleId(1236, 41, data.minimumAge + '~' + data.maximumAge, preIds + ',51,1234,1236', 5));
- data.edu && lcRule.push(handleId(1238, 324, data.edu, preIds + ',51,1237,1238', 1));
- data.edu === 795 && lcRule.push(handleId(1239, 42, data.educationalRequirements, preIds + ',51,1237,1239', 1));
+ data.degreeSelectedStatus && lcRule.push(handleId(1238, 324, data.degreeSelectedStatus, preIds + ',51,1237,1238', 1));
+ data.degreeSelectedStatus === 795 && lcRule.push(handleId(1239, 42, data.educationalRequirements, preIds + ',51,1237,1239', 1));
- data.curWL && lcRule.push(handleId(1241, 324, data.curWL, preIds + ',51,1240,1241', 1));
- data.curWL === 795 && lcRule.push(handleId(1242, 43, data.currentWorkingLife, preIds + ',51,1240,1242', 1));
+ data.workingLifeSelectedState && lcRule.push(handleId(1241, 324, data.workingLifeSelectedState, preIds + ',51,1240,1241', 1));
+ data.workingLifeSelectedState === 795 && lcRule.push(handleId(1242, 43, data.currentWorkingLife, preIds + ',51,1240,1242', 1));
data.providentFundAndSocialSecurity && lcRule.push(handleId(1244, 324, data.providentFundAndSocialSecurity, preIds + ',51,1243,1244', 1)); // 公积金社保
lcRule.push(handleId(1316, 328, data.loanPurpose, preIds + ',52,1316', 1));
@@ -593,12 +593,12 @@ const addRecord = async (data: Record) => {
}
// 担保方式
- data.bankGuarantee1 && lcRule.push(handleId(108, 324, data.bankGuarantee1, preIds + ',53,108', 1));
- data.bankGuarantee2 && lcRule.push(handleId(109, 324, data.bankGuarantee2, preIds + ',53,109', 1));
- data.bankGuarantee3 && lcRule.push(handleId(1277, 324, data.bankGuarantee3, preIds + ',53,110,1277', 1));
- data.bankGuarantee4 && lcRule.push(handleId(1277, 324, data.bankGuarantee4, preIds + ',53,111,1277', 1));
- data.bankGuarantee3 === 795 && lcRule.push(handleId(1275, 13, data.bankGuaranteeTypeIds.filter((e: number) => e > 22 && e < 33).join(), preIds + ',53,110,1275', 1));
- data.bankGuarantee4 === 795 && lcRule.push(handleId(1276, 14, data.bankGuaranteeTypeIds.filter((e: number) => e > 32 && e < 38).join(), preIds + ',53,111,1276', 1));
+ data.creditSelectedStatus && lcRule.push(handleId(108, 324, data.creditSelectedStatus, preIds + ',53,108', 1));
+ data.guaranteeLoanSelectedStatus && lcRule.push(handleId(109, 324, data.guaranteeLoanSelectedStatus, preIds + ',53,109', 1));
+ data.mortgageSelectedStatus && lcRule.push(handleId(1277, 324, data.mortgageSelectedStatus, preIds + ',53,110,1277', 1));
+ data.hypothecatedSelectedStatus && lcRule.push(handleId(1277, 324, data.hypothecatedSelectedStatus, preIds + ',53,111,1277', 1));
+ data.mortgageSelectedStatus === 795 && lcRule.push(handleId(1275, 13, data.bankGuaranteeTypeIds.filter((e: number) => e > 22 && e < 33).join(), preIds + ',53,110,1275', 1));
+ data.hypothecatedSelectedStatus === 795 && lcRule.push(handleId(1276, 14, data.bankGuaranteeTypeIds.filter((e: number) => e > 32 && e < 38).join(), preIds + ',53,111,1276', 1));
lcRule.push(
handleId(54, 15, data.minimumLoan + '~' + data.loanCeiling, preIds + ',54', 5),
diff --git a/src/views/product/bank/Approve.vue b/src/views/product/bank/Approve.vue
index cff70cf..70f9b4a 100644
--- a/src/views/product/bank/Approve.vue
+++ b/src/views/product/bank/Approve.vue
@@ -58,9 +58,9 @@ import { ElMessage } from 'element-plus';
import type { TabsPaneContext, FormInstance, FormRules } from 'element-plus';
import { useRouter, useRoute } from 'vue-router';
import Info from './Info.vue';
-import { handleId, getIds, getNow } from '@/utils/common';
+import { handleId, getIds, getNow, getUsername } from '@/utils/common';
import { examineAndApprove } from '@/api/bank';
-import { getTheCurrentUserName, getOperationTime } from '@/api/config';
+import { getOperationTime } from '@/api/config';
import { getProcessInformationBasedOnRoles, addOperation } from '@/api/judgment';
import dayjs from 'dayjs';
import Cookies from 'js-cookie';
@@ -107,8 +107,7 @@ const getDate = async () => {
};
// 签章
const sign = async () => {
- const res = await getTheCurrentUserName();
- signed.value = res.userName;
+ signed.value = await getUsername();
};
// 新增判分记录
const addRecord = async (data: Record) => {
diff --git a/src/views/product/bank/Config.vue b/src/views/product/bank/Config.vue
index 4c8bda2..c400d88 100644
--- a/src/views/product/bank/Config.vue
+++ b/src/views/product/bank/Config.vue
@@ -4,6 +4,20 @@
@tab-click="tabChange">
+
+
+ 审批意见:
+ 审批打回
+
+
+ 意见描述:
+ {{ info.opinionDescription }}
+
+
审查日期:{{ info.approvalTime }}
+
审查员:{{ userName }}
+
+
选择需要发放的账户(至少选一样)
-
企业材料
-
+
{{ item.name }}
-
+
选择需要提供的企业材料(至少选一样)
@@ -123,13 +133,13 @@
抵押物
-
+
{{ item.name }}
-
+
选择需要提供的抵押物材料(至少选一样)
@@ -188,14 +198,14 @@
补充材料
-
+
{{ item.name }}
-
+
选择需要提供的补充材料(至少选一样)
+ v-model="form.runBatchObjectSelectedStatus">
{{ item.options }}
-
+
选择需要跑批的对象(至少选一样)
@@ -238,13 +248,13 @@
+ v-model="form.accessPolicySelectedStatus">
{{ item.options }}
-
+
选择需要跑批的准入策略(至少选一样)
@@ -257,19 +267,19 @@
+ prop="personalCreditScoringStrategySelectedStatus">
个人信用评分策略
-
+
{{ item.name }}
-
@@ -281,14 +291,14 @@
企业信用评分策略
-
+
{{ item.name }}
-
@@ -304,13 +314,13 @@
+ v-model="form.riskDegreePolicySelectedStatus">
{{ item.options }}
-
+ prop="individualCreditModelSelectedStatus">
{{ (info.productType ? '企业' : '个人') + '额度模型' }}
+ v-model="form.individualCreditModelSelectedStatus">
{{ item.options }}
-
@@ -436,13 +446,13 @@
prop="contractMaterials">
-
+
{{ item.name }}
-
抵押物所有权证明
@@ -452,14 +462,14 @@
借贷合同
-
+
{{ item.name }}
-
@@ -472,14 +482,14 @@
抵押合同
-
+
{{ item.name }}
-
@@ -492,13 +502,13 @@
质押合同
-
+
{{ item.name }}
-
@@ -511,13 +521,13 @@
担保合同
-
+
{{ item.name }}
-
@@ -537,13 +547,13 @@
+ v-model="form.postLoanManagementSelectPolicySelectStatus">
{{ item.options }}
-
+
选择策略(至少选一样)
@@ -579,13 +589,14 @@ import { findById, riskSave, riskUpdate } from '@/api/bank';
import { getProcessInformationBasedOnRoles, addOperation } from '@/api/judgment';
import { listCredit } from '@/api/model';
import { useRouter, useRoute } from 'vue-router';
-import { handleId, getIds } from '@/utils/common';
+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 {
- accessStrategyCheck?: number;
+ accessPolicySelectedStatus?: number;
accessStrategy: any;
accountMaterialsCheck?: number;
accountMaterials: any;
@@ -595,55 +606,52 @@ interface RuleForm {
borrowerMaterial: any;
businessMaterialsCheck?: number;
businessMaterials: any;
- collateralCheck?: number;
+ mortgagedPropertySelectedStatus?: number;
collateral: any;
- contractMaterialsCheck?: number;
+ contractSupplyMaterialsSelectedStatus?: number;
contractMaterials: any;
- corporateCreditScoringStrategiesCheck?: number;
+ enterpriseCreditScoringStrategySelectedStatus?: number;
corporateCreditScoringStrategies: any;
corporateInterestRateModel: any;
dueDiligenceContent: any;
dueDiligenceMode: number[];
- enterpriseMaterialCheck?: number;
+ enterpriseMaterialSelectedStatus?: number;
enterpriseMaterial: any;
enterpriseQuotaModel: any;
- guaranteeContractCheck?: number;
+ guaranteeContractSelectedStatus?: number;
guaranteeContract: any;
individualInterestRateModel?: number;
- interestRatePricingModelCheck?: number;
+ individualCreditModelSelectedStatus?: number;
interestRatePricingModel: any;
loanApplicationMethod: any;
- loanContractCheck?: number;
+ loanContractSelectedStatus?: number;
loanContract: any;
mateMaterialCheck?: number;
mateMaterial: any;
materialsForLoanApproval: any;
- mortgageContractCheck?: number;
+ mortgageContractSelectedStatus?: number;
mortgageContract: any;
- personalCreditScoringStrategiesCheck?: number;
+ personalCreditScoringStrategySelectedStatus?: number;
personalCreditScoringStrategies: any;
- pledgeContractCheck?: number;
+ pledgeContractSelectedStatus?: number;
pledgeContract: any;
reviewApproveContent: number[];
reviewContent: number[];
reviewSignature: any;
- riskDegreeStrategyCheck?: number;
+ riskDegreePolicySelectedStatus?: number;
riskDegreeStrategy: any;
- runBatchObjectCheck?: number;
+ runBatchObjectSelectedStatus?: number;
runBatchObject: any;
- selectionStrategyCheck?: number;
+ postLoanManagementSelectPolicySelectStatus?: number;
selectionStrategy: any;
sendingAccountCheck?: number;
sendingAccount: number[];
- supplementaryMaterialsCheck?: number;
+ supplementMaterialSelectedStatus?: number;
supplementaryMaterials: any;
}
-
const router = useRouter();
const route = useRoute();
const id = computed(() => +route.query.id);
-const projectId = +Cookies.get('sand-projectId');
-const levelId = +Cookies.get('sand-level');
const curTab = ref('tab1');
const config = ref([]);
const credits = ref[]>([]);
@@ -659,9 +667,10 @@ const whethers = ref>([
},
]);
const formRef = ref();
+const userName = ref();
const form = reactive({
...getIds(),
- accessStrategyCheck: '',
+ accessPolicySelectedStatus: '',
accessStrategy: [],
accountMaterialsCheck: '',
accountMaterials: [],
@@ -671,47 +680,47 @@ const form = reactive({
borrowerMaterial: [],
businessMaterialsCheck: '',
businessMaterials: [],
- collateralCheck: '',
+ mortgagedPropertySelectedStatus: '',
collateral: [],
- contractMaterialsCheck: '',
+ contractSupplyMaterialsSelectedStatus: '',
contractMaterials: '',
- corporateCreditScoringStrategiesCheck: '',
+ enterpriseCreditScoringStrategySelectedStatus: '',
corporateCreditScoringStrategies: '',
corporateInterestRateModel: [],
dueDiligenceContent: [],
dueDiligenceMode: [],
- enterpriseMaterialCheck: '',
+ enterpriseMaterialSelectedStatus: '',
enterpriseMaterial: [],
enterpriseQuotaModel: '',
- guaranteeContractCheck: '',
+ guaranteeContractSelectedStatus: '',
guaranteeContract: '',
individualInterestRateModel: '',
- interestRatePricingModelCheck: '',
+ individualCreditModelSelectedStatus: '',
interestRatePricingModel: '',
loanApplicationMethod: [],
- loanContractCheck: '',
+ loanContractSelectedStatus: '',
loanContract: '',
mateMaterialCheck: '',
mateMaterial: [],
materialsForLoanApproval: [],
- mortgageContractCheck: '',
+ mortgageContractSelectedStatus: '',
mortgageContract: '',
- personalCreditScoringStrategiesCheck: '',
+ personalCreditScoringStrategySelectedStatus: '',
personalCreditScoringStrategies: '',
- pledgeContractCheck: '',
+ pledgeContractSelectedStatus: '',
pledgeContract: '',
reviewApproveContent: [],
reviewContent: [],
reviewSignature: '',
- riskDegreeStrategyCheck: '',
+ riskDegreePolicySelectedStatus: '',
riskDegreeStrategy: [],
- runBatchObjectCheck: '',
+ runBatchObjectSelectedStatus: '',
runBatchObject: [],
- selectionStrategyCheck: '',
+ postLoanManagementSelectPolicySelectStatus: '',
selectionStrategy: [],
sendingAccountCheck: '',
sendingAccount: [],
- supplementaryMaterialsCheck: '',
+ supplementMaterialSelectedStatus: '',
supplementaryMaterials: [],
});
@@ -725,15 +734,41 @@ const getConfig = async () => {
config.value = process;
const { data } = await listCredit({
- checkpointId: levelId,
- projectId,
+ ...getIds(),
pageNum: 1,
pageSize: 1000,
});
- credits.value = data;
+ credits.value = [
+ {
+ scoringObject: 0,
+ scoreCardName: '个人信用评分策略',
+ },
+ {
+ scoringObject: 0,
+ scoreCardName: '个人评分-评级贷',
+ },
+ {
+ scoringObject: 0,
+ scoreCardName: '个人标准评分卡',
+ },
+ {
+ scoringObject: 1,
+ scoreCardName: '企业标准评分卡',
+ },
+ {
+ scoringObject: 1,
+ scoreCardName: '大型企业评分卡',
+ },
+ {
+ scoringObject: 1,
+ scoreCardName: '小型企业评分卡',
+ },
+ ...data,
+ ];
};
// 详情
const getDetail = async () => {
+ userName.value = await getUsername();
if (id.value) {
try {
const { data } = await findById(id.value);
@@ -772,56 +807,56 @@ const submit = async (formEl: FormInstance | undefined) => {
if (isEnterprise) {
// 企业
- if (param.enterpriseMaterialCheck === 797 && !param.enterpriseMaterial.length) return ElMessage.error('请选择需要提供的企业材料');
- if (param.collateralCheck === 797 && !param.collateral.length) return ElMessage.error('请选择需要提供的抵押物材料');
+ if (param.enterpriseMaterialSelectedStatus === 797 && !param.enterpriseMaterial.length) return ElMessage.error('请选择需要提供的企业材料');
+ 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.supplementaryMaterialsCheck === 797 && !param.supplementaryMaterials.length) return ElMessage.error('请选择需要提供的补充材料');
- if (param.runBatchObjectCheck === 803 && !param.runBatchObject.length) return ElMessage.error('请选择需要跑批的对象');
- if (param.accessStrategyCheck === 803 && !param.accessStrategy.length) return ElMessage.error('请选择需要跑批的准入策略');
+ if (param.supplementMaterialSelectedStatus === 797 && !param.supplementaryMaterials.length) return ElMessage.error('请选择需要提供的补充材料');
+ if (param.runBatchObjectSelectedStatus === 803 && !param.runBatchObject.length) return ElMessage.error('请选择需要跑批的对象');
+ if (param.accessPolicySelectedStatus === 803 && !param.accessStrategy.length) return ElMessage.error('请选择需要跑批的准入策略');
if (!param.dueDiligenceMode.length) return ElMessage.error('请选择尽调方式');
if (!param.dueDiligenceContent.length) return ElMessage.error('请选择尽调内容');
if (!param.reviewContent.length) return ElMessage.error('请选择审查材料');
if (!param.reviewSignature) return ElMessage.error('请选择签字表单');
if (!param.reviewApproveContent.length) return ElMessage.error('请选择审批材料');
if (!param.approvalSignature) return ElMessage.error('请选择签字表单');
- if (param.selectionStrategyCheck === 803 && !param.selectionStrategy.length) return ElMessage.error('请选择策略');
+ if (param.postLoanManagementSelectPolicySelectStatus === 803 && !param.selectionStrategy.length) return ElMessage.error('请选择策略');
- param.accessStrategy = param.accessStrategyCheck === 803 ? param.accessStrategy.join() : '';
+ 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.collateral = param.collateralCheck === 797 ? param.collateral.join() : '';
- param.enterpriseMaterial = param.enterpriseMaterialCheck === 797 ? param.enterpriseMaterial.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() : '';
- if (param.personalCreditScoringStrategiesCheck !== 797) param.personalCreditScoringStrategies = '';
- if (param.corporateCreditScoringStrategiesCheck !== 797) param.corporateCreditScoringStrategies = '';
- if (param.interestRatePricingModelCheck !== 803) param.interestRatePricingModel = '';
+ if (param.personalCreditScoringStrategySelectedStatus !== 797) param.personalCreditScoringStrategies = '';
+ if (param.enterpriseCreditScoringStrategySelectedStatus !== 797) param.corporateCreditScoringStrategies = '';
+ if (param.individualCreditModelSelectedStatus !== 803) param.interestRatePricingModel = '';
- if (param.loanContractCheck !== 797) param.loanContract = '';
- if (param.mortgageContractCheck !== 797) param.mortgageContract = '';
- if (param.pledgeContractCheck !== 797) param.pledgeContract = '';
- if (param.guaranteeContractCheck !== 797) param.guaranteeContract = '';
+ if (param.loanContractSelectedStatus !== 797) param.loanContract = '';
+ if (param.mortgageContractSelectedStatus !== 797) param.mortgageContract = '';
+ if (param.pledgeContractSelectedStatus !== 797) param.pledgeContract = '';
+ if (param.guaranteeContractSelectedStatus !== 797) param.guaranteeContract = '';
param.dueDiligenceMode = param.dueDiligenceMode.join();
param.dueDiligenceContent = param.dueDiligenceContent.join();
param.reviewContent = param.reviewContent.join();
param.reviewApproveContent = param.reviewApproveContent.join();
param.loanApplicationMethod = param.loanApplicationMethod.join();
- param.riskDegreeStrategy = param.riskDegreeStrategyCheck === 803 ? param.riskDegreeStrategy.join() : '';
- param.runBatchObject = param.runBatchObjectCheck === 803 ? param.runBatchObject.join() : '';
- param.selectionStrategy = param.selectionStrategyCheck === 803 ? param.selectionStrategy.join() : '';
- param.supplementaryMaterials = param.supplementaryMaterialsCheck === 797 ? param.supplementaryMaterials.join() : '';
- if (param.contractMaterialsCheck !== 797) param.contractMaterials = '';
+ param.riskDegreeStrategy = param.riskDegreePolicySelectedStatus === 803 ? param.riskDegreeStrategy.join() : '';
+ param.runBatchObject = param.runBatchObjectSelectedStatus === 803 ? param.runBatchObject.join() : '';
+ param.selectionStrategy = param.postLoanManagementSelectPolicySelectStatus === 803 ? param.selectionStrategy.join() : '';
+ param.supplementaryMaterials = param.supplementMaterialSelectedStatus === 797 ? param.supplementaryMaterials.join() : '';
+ if (param.contractSupplyMaterialsSelectedStatus !== 797) param.contractMaterials = '';
if (info.value.riskControlDetails) {
param.id = info.value.riskControlDetails.id;
await riskUpdate(param);
@@ -854,7 +889,7 @@ const addRecord = async (data: Record) => {
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(1294, 325, data.enterpriseMaterialCheck, preIds + ',113,124,1294', 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));
@@ -864,27 +899,27 @@ const addRecord = async (data: Record) => {
});
borrowerMaterial.length && lcRule.push(handleId(316, 47, borrowerMaterial.join(), preIds + ',113,123,316', 1));
- data.collateralCheck && lcRule.push(handleId(1294, 325, data.collateralCheck, preIds + ',113,125,1294', 1));
+ data.mortgagedPropertySelectedStatus && lcRule.push(handleId(1294, 325, data.mortgagedPropertySelectedStatus, 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.supplementMaterialSelectedStatus && lcRule.push(handleId(1294, 325, data.supplementMaterialSelectedStatus, preIds + ',113,126,1294', 1));
data.supplementaryMaterials && lcRule.push(handleId(1260, 50, data.supplementaryMaterials, preIds + ',113,126,1260', 1));
- data.runBatchObjectCheck && lcRule.push(handleId(1302, 327, data.runBatchObjectCheck, preIds + ',114,127,1302', 1));
+ data.runBatchObjectSelectedStatus && lcRule.push(handleId(1302, 327, data.runBatchObjectSelectedStatus, preIds + ',114,127,1302', 1));
data.runBatchObject && lcRule.push(handleId(1261, 51, data.runBatchObject, preIds + ',114,127,1261', 1));
- data.accessStrategyCheck && lcRule.push(handleId(1302, 327, data.accessStrategyCheck, preIds + ',114,128,1302', 1));
+ data.accessPolicySelectedStatus && lcRule.push(handleId(1302, 327, data.accessPolicySelectedStatus, preIds + ',114,128,1302', 1));
data.accessStrategy && lcRule.push(handleId(1262, 52, data.accessStrategy, preIds + ',114,128,1262', 1));
- data.personalCreditScoringStrategiesCheck && lcRule.push(handleId(1306, 325, data.personalCreditScoringStrategiesCheck, preIds + ',114,129,1046,1306', 1));
+ data.personalCreditScoringStrategySelectedStatus && lcRule.push(handleId(1306, 325, data.personalCreditScoringStrategySelectedStatus, preIds + ',114,129,1046,1306', 1));
data.personalCreditScoringStrategies && lcRule.push(handleId(1307, 329, data.personalCreditScoringStrategies, preIds + ',114,129,1046,1307', 3));
- data.corporateCreditScoringStrategiesCheck && lcRule.push(handleId(1306, 325, data.corporateCreditScoringStrategiesCheck, preIds + ',114,129,1047,1306', 1));
+ data.enterpriseCreditScoringStrategySelectedStatus && lcRule.push(handleId(1306, 325, data.enterpriseCreditScoringStrategySelectedStatus, preIds + ',114,129,1047,1306', 1));
data.corporateCreditScoringStrategies && lcRule.push(handleId(1307, 329, data.corporateCreditScoringStrategies, preIds + ',114,129,1047,1307', 3));
- data.riskDegreeStrategyCheck && lcRule.push(handleId(1302, 327, data.riskDegreeStrategyCheck, preIds + ',114,130,1302', 1));
+ data.riskDegreePolicySelectedStatus && lcRule.push(handleId(1302, 327, data.riskDegreePolicySelectedStatus, preIds + ',114,130,1302', 1));
data.riskDegreeStrategy && lcRule.push(handleId(1301, 54, data.riskDegreeStrategy, preIds + ',114,130,1301', 1));
- data.interestRatePricingModelCheck && lcRule.push(handleId(1302, 327, data.interestRatePricingModelCheck, preIds + ',114,131,305,1302', 1));
+ data.individualCreditModelSelectedStatus && lcRule.push(handleId(1302, 327, data.individualCreditModelSelectedStatus, 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));
@@ -895,22 +930,22 @@ const addRecord = async (data: Record) => {
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(1264, 325, data.contractMaterialsCheck, preIds + ',118,138,1264', 1));
+ data.contractSupplyMaterialsSelectedStatus && lcRule.push(handleId(1264, 325, data.contractSupplyMaterialsSelectedStatus, preIds + ',118,138,1264', 1));
data.contractMaterials && lcRule.push(handleId(1263, 62, data.contractMaterials, preIds + ',118,138,1263', 1));
- data.loanContractCheck && lcRule.push(handleId(1273, 325, data.loanContractCheck, preIds + ',118,139,306,1273', 1));
+ data.loanContractSelectedStatus && lcRule.push(handleId(1273, 325, data.loanContractSelectedStatus, 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(1273, 325, data.mortgageContractCheck, preIds + ',118,139,307,1273', 1));
+ data.mortgageContractSelectedStatus && lcRule.push(handleId(1273, 325, data.mortgageContractSelectedStatus, 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(1273, 325, data.pledgeContractCheck, preIds + ',118,139,308,1273', 1));
+ data.pledgeContractSelectedStatus && lcRule.push(handleId(1273, 325, data.pledgeContractSelectedStatus, 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(1273, 325, data.guaranteeContractCheck, preIds + ',118,139,309,1273', 1));
+ data.guaranteeContractSelectedStatus && lcRule.push(handleId(1273, 325, data.guaranteeContractSelectedStatus, 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(1302, 327, data.selectionStrategyCheck, preIds + ',119,140,1302', 1));
+ 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));
@@ -933,24 +968,24 @@ const addRecord = async (data: Record) => {
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.supplementMaterialSelectedStatus && lcRule.push(handleId(1294, 325, data.supplementMaterialSelectedStatus, preIds + ',73,81,1294', 1));
data.supplementaryMaterials && lcRule.push(handleId(1293, 26, data.supplementaryMaterials, preIds + ',73,81,1293', 1));
- data.runBatchObjectCheck && lcRule.push(handleId(1302, 327, data.runBatchObjectCheck, preIds + ',74,82,1302', 1));
+ data.runBatchObjectSelectedStatus && lcRule.push(handleId(1302, 327, data.runBatchObjectSelectedStatus, preIds + ',74,82,1302', 1));
data.runBatchObject && lcRule.push(handleId(1297, 27, data.runBatchObject, preIds + ',74,82,1297', 1));
- data.accessStrategyCheck && lcRule.push(handleId(1302, 327, data.accessStrategyCheck, preIds + ',74,83,1302', 1));
+ data.accessPolicySelectedStatus && lcRule.push(handleId(1302, 327, data.accessPolicySelectedStatus, preIds + ',74,83,1302', 1));
data.accessStrategy && lcRule.push(handleId(1298, 28, data.accessStrategy, preIds + ',74,83,1298', 1));
- data.personalCreditScoringStrategiesCheck && lcRule.push(handleId(1306, 325, data.personalCreditScoringStrategiesCheck, preIds + ',74,84,1304,1306', 1));
+ data.personalCreditScoringStrategySelectedStatus && lcRule.push(handleId(1306, 325, data.personalCreditScoringStrategySelectedStatus, preIds + ',74,84,1304,1306', 1));
data.personalCreditScoringStrategies && lcRule.push(handleId(1307, 329, data.personalCreditScoringStrategies, preIds + ',74,84,1304,1307', 3));
- data.corporateCreditScoringStrategiesCheck && lcRule.push(handleId(1306, 325, data.corporateCreditScoringStrategiesCheck, preIds + ',74,84,1305,1306', 1));
+ data.enterpriseCreditScoringStrategySelectedStatus && lcRule.push(handleId(1306, 325, data.enterpriseCreditScoringStrategySelectedStatus, preIds + ',74,84,1305,1306', 1));
data.corporateCreditScoringStrategies && lcRule.push(handleId(1307, 329, data.corporateCreditScoringStrategies, preIds + ',74,84,1305,1307', 3));
- data.riskDegreeStrategyCheck && lcRule.push(handleId(1302, 327, data.riskDegreeStrategyCheck, preIds + ',74,85,1302', 1));
+ data.riskDegreePolicySelectedStatus && lcRule.push(handleId(1302, 327, data.riskDegreePolicySelectedStatus, preIds + ',74,85,1302', 1));
data.riskDegreeStrategy && lcRule.push(handleId(1300, 30, data.riskDegreeStrategy, preIds + ',74,85,1300', 1));
- data.interestRatePricingModelCheck && lcRule.push(handleId(1302, 327, data.interestRatePricingModelCheck, preIds + ',74,86,1309,1302', 1));
+ data.individualCreditModelSelectedStatus && lcRule.push(handleId(1302, 327, data.individualCreditModelSelectedStatus, 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(1308, 327, data.individualInterestRateModel, preIds + ',74,86,1308', 1));
@@ -961,22 +996,22 @@ const addRecord = async (data: Record) => {
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(1248, 325, data.contractMaterialsCheck, preIds + ',96,97,1248', 1));
+ data.contractSupplyMaterialsSelectedStatus && lcRule.push(handleId(1248, 325, data.contractSupplyMaterialsSelectedStatus, 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.loanContractSelectedStatus && lcRule.push(handleId(1253, 325, data.loanContractSelectedStatus, 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.mortgageContractSelectedStatus && lcRule.push(handleId(1253, 325, data.mortgageContractSelectedStatus, preIds + ',96,98,311,1253', 1));
data.mortgageContract && lcRule.push(handleId(1250, 145, data.mortgageContract, preIds + ',96,98,311,1250', 1));
- data.pledgeContractCheck && lcRule.push(handleId(1253, 325, data.pledgeContractCheck, preIds + ',96,98,312,1253', 1));
+ data.pledgeContractSelectedStatus && lcRule.push(handleId(1253, 325, data.pledgeContractSelectedStatus, preIds + ',96,98,312,1253', 1));
data.pledgeContract && lcRule.push(handleId(1251, 146, data.pledgeContract, preIds + ',96,98,312,1251', 1));
- data.guaranteeContractCheck && lcRule.push(handleId(1253, 325, data.guaranteeContractCheck, preIds + ',96,98,313,1253', 1));
+ data.guaranteeContractSelectedStatus && lcRule.push(handleId(1253, 325, data.guaranteeContractSelectedStatus, 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(283, 327, data.selectionStrategyCheck, preIds + ',99,283', 1));
+ data.postLoanManagementSelectPolicySelectStatus && lcRule.push(handleId(283, 327, data.postLoanManagementSelectPolicySelectStatus, preIds + ',99,283', 1));
data.selectionStrategy && lcRule.push(handleId(281, 40, data.selectionStrategy, preIds + ',99,281', 1));
}
@@ -990,4 +1025,13 @@ const addRecord = async (data: Record) => {
diff --git a/src/views/product/bank/Detail.vue b/src/views/product/bank/Detail.vue
index 05a285e..65713a6 100644
--- a/src/views/product/bank/Detail.vue
+++ b/src/views/product/bank/Detail.vue
@@ -1,9 +1,9 @@
-
-
+
@@ -14,6 +14,11 @@ import { ref } from 'vue';
import Info from './Info.vue';
const curTab = ref('tab1');
+const status = ref('产品要素');
+
+const updateStatus = (val: string) => {
+ status.value = val;
+};