yujialong 8 months ago
parent e190b065b2
commit 81269748e5
  1. 9
      index.html
  2. 6
      src/styles/index.scss
  3. 7
      src/views/Home.vue
  4. 8
      src/views/Role.vue
  5. 2
      src/views/product/bank/Add.vue
  6. 70
      src/views/product/bank/Config.vue
  7. 10
      src/views/product/bank/Info.vue

@ -4,6 +4,15 @@
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>金融产品设计及数字化营销沙盘</title> <title>金融产品设计及数字化营销沙盘</title>
<script>
var _hmt = _hmt || [];
(function () {
var hm = document.createElement('script');
hm.src = 'https://hm.baidu.com/hm.js?f2fcf78da19a1a04b48b45a07549d1d7';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
</head> </head>
<body> <body>
<div id="app"></div> <div id="app"></div>

@ -162,3 +162,9 @@ body {
background: #f4f8fc; background: #f4f8fc;
} }
} }
@media screen and (-webkit-min-device-pixel-ratio: 1.5), screen and (min-resolution: 144dpi) {
body {
zoom: 0.9;
}
}

@ -411,3 +411,10 @@ onMounted(() => {
} }
} }
</style> </style>
<style>
@media screen and (-webkit-min-device-pixel-ratio: 1.5), screen and (min-resolution: 144dpi) {
body {
zoom: 1;
}
}
</style>

@ -332,3 +332,11 @@ onMounted(async () => {
} }
} }
</style> </style>
<style>
@media screen and (-webkit-min-device-pixel-ratio: 1.5), screen and (min-resolution: 144dpi) {
body {
zoom: 1;
}
}
</style>

@ -2,7 +2,7 @@
<div> <div>
<el-tabs v-model="curTab" <el-tabs v-model="curTab"
@tab-click="tabChange"> @tab-click="tabChange">
<el-tab-pane :label="id ? '修改要素' : '新增产品'" <el-tab-pane :label="id ? '配置要素' : '新增产品'"
name="tab1"> name="tab1">
<el-form ref="formRef" <el-form ref="formRef"
:model="form" :model="form"

@ -2,7 +2,7 @@
<div> <div>
<el-tabs v-model="curTab" <el-tabs v-model="curTab"
@tab-click="tabChange"> @tab-click="tabChange">
<el-tab-pane :label="info.approvalTime ? '修改风控' : '配置风控'" <el-tab-pane label="配置风控"
name="tab1"> name="tab1">
<el-form ref="formRef" <el-form ref="formRef"
:model="form" :model="form"
@ -74,8 +74,8 @@
<el-form-item label="提供材料" <el-form-item label="提供材料"
prop="borrowerMaterial"> prop="borrowerMaterial">
<div class="flex-1"> <div class="flex-1">
<div class="flex items-center"> <div>
<p class="field-name mr-5 mb-0">借款人材料</p> <p class="field-name mb-0">借款人材料</p>
<div class="radio-wrap flex-col items-start"> <div class="radio-wrap flex-col items-start">
<el-radio-group v-model="form.borrowerMaterialSelectedStatus"> <el-radio-group v-model="form.borrowerMaterialSelectedStatus">
<el-radio v-for="(item, i) in whethers" <el-radio v-for="(item, i) in whethers"
@ -431,7 +431,7 @@
<h6 class="step-name mb-7">签订合同</h6> <h6 class="step-name mb-7">签订合同</h6>
<el-form-item label="提供的材料" <el-form-item label="提供的材料"
prop="contractMaterials"> prop="contractMaterials">
<div class="flex items-center"> <div>
<div class="radio-wrap mr-5"> <div class="radio-wrap mr-5">
<el-radio-group v-model="form.contractSupplyMaterialsSelectedStatus"> <el-radio-group v-model="form.contractSupplyMaterialsSelectedStatus">
<el-radio v-for="(item, i) in whethers" <el-radio v-for="(item, i) in whethers"
@ -585,57 +585,56 @@ import Cookies from 'js-cookie';
const emit = defineEmits(['getList']); const emit = defineEmits(['getList']);
interface RuleForm { interface RuleForm {
accessPolicySelectedStatus?: number; accessPolicySelectedStatus?: number;
accessStrategy: any; accessStrategy?: number[];
provideMaterialSelectedStatus?: number; provideMaterialSelectedStatus?: number;
accountMaterials: any; accountMaterials?: number[];
approvalSignature?: any; approvalSignature?: number;
bankProductsId: any; bankProductsId?: number;
borrowerMaterialSelectedStatus?: number; borrowerMaterialSelectedStatus?: number;
borrowerMaterial: any; borrowerMaterial?: number[];
businessMaterialsSelectedStatus?: number; businessMaterialsSelectedStatus?: number;
businessMaterials: any; businessMaterials?: number[];
mortgagedPropertySelectedStatus?: number; mortgagedPropertySelectedStatus?: number;
collateral: any; collateral?: number[];
contractSupplyMaterialsSelectedStatus?: number; contractSupplyMaterialsSelectedStatus?: number;
contractMaterials: any; contractMaterials?: number;
enterpriseCreditScoringStrategySelectedStatus?: number; enterpriseCreditScoringStrategySelectedStatus?: number;
corporateCreditScoringStrategies: any; corporateCreditScoringStrategies?: string;
corporateInterestRateModel: any; corporateInterestRateModel?: number[];
dueDiligenceContent: any; dueDiligenceContent?: number[];
dueDiligenceMode: number[]; dueDiligenceMode?: number[];
enterpriseMaterialSelectedStatus?: number; enterpriseMaterialSelectedStatus?: number;
enterpriseMaterial: any; enterpriseMaterial?: number[];
enterpriseQuotaModel: any;
guaranteeContractSelectedStatus?: number; guaranteeContractSelectedStatus?: number;
guaranteeContract: any; guaranteeContract?: number;
individualInterestRateModel?: number; individualInterestRateModel?: number;
individualCreditModelSelectedStatus?: number; individualCreditModelSelectedStatus?: number;
interestRatePricingModel: any; interestRatePricingModel?: number;
loanApplicationMethod: any; loanApplicationMethod?: number[];
loanContractSelectedStatus?: number; loanContractSelectedStatus?: number;
loanContract: any; loanContract?: number;
mateMaterialSelectedStatus?: number; mateMaterialSelectedStatus?: number;
mateMaterial: any; mateMaterial?: number[];
materialsForLoanApproval: any; materialsForLoanApproval?: number[];
mortgageContractSelectedStatus?: number; mortgageContractSelectedStatus?: number;
mortgageContract: any; mortgageContract?: number;
personalCreditScoringStrategySelectedStatus?: number; personalCreditScoringStrategySelectedStatus?: number;
personalCreditScoringStrategies: any; personalCreditScoringStrategies?: number;
pledgeContractSelectedStatus?: number; pledgeContractSelectedStatus?: number;
pledgeContract: any; pledgeContract?: number;
reviewApproveContent: number[]; reviewApproveContent?: number[];
reviewContent: number[]; reviewContent?: number[];
reviewSignature: any; reviewSignature?: number;
riskDegreePolicySelectedStatus?: number; riskDegreePolicySelectedStatus?: number;
riskDegreeStrategy: any; riskDegreeStrategy?: number[];
runBatchObjectSelectedStatus?: number; runBatchObjectSelectedStatus?: number;
runBatchObject: any; runBatchObject?: number[];
postLoanManagementSelectPolicySelectStatus?: number; postLoanManagementSelectPolicySelectStatus?: number;
selectionStrategy: any; selectionStrategy?: number[];
issueAccountSelectStatus?: number; issueAccountSelectStatus?: number;
sendingAccount: number[]; sendingAccount?: number[];
supplementMaterialSelectedStatus?: number; supplementMaterialSelectedStatus?: number;
supplementaryMaterials: any; supplementaryMaterials?: number[];
} }
const router = useRouter(); const router = useRouter();
const route = useRoute(); const route = useRoute();
@ -679,7 +678,6 @@ let form = reactive<RuleForm>({
dueDiligenceMode: [], dueDiligenceMode: [],
enterpriseMaterialSelectedStatus: '', enterpriseMaterialSelectedStatus: '',
enterpriseMaterial: [], enterpriseMaterial: [],
enterpriseQuotaModel: '',
guaranteeContractSelectedStatus: '', guaranteeContractSelectedStatus: '',
guaranteeContract: '', guaranteeContract: '',
individualInterestRateModel: '', individualInterestRateModel: '',

@ -155,16 +155,6 @@ const riskInfo = ref<Record<string, any>>(null);
const approvals = ref<Record<string, any>[]>([]); const approvals = ref<Record<string, any>[]>([]);
const userName = ref<string>(); const userName = ref<string>();
//
const showAudit = computed(() => {
return (
riskInfo.value &&
(route.params.action === 'detail' ||
(route.params.action !== 'approve' && info.value.status !== '295' && info.value.status !== '299') ||
(route.params.action === 'approve' && info.value.status !== '296'))
);
});
// //
const getDetail = async () => { const getDetail = async () => {
userName.value = await getUsername(); userName.value = await getUsername();

Loading…
Cancel
Save