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 name="viewport" content="width=device-width, initial-scale=1.0" />
<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>
<body>
<div id="app"></div>

@ -162,3 +162,9 @@ body {
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>
@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>
@media screen and (-webkit-min-device-pixel-ratio: 1.5), screen and (min-resolution: 144dpi) {
body {
zoom: 1;
}
}
</style>

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

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

@ -155,16 +155,6 @@ const riskInfo = ref<Record<string, any>>(null);
const approvals = ref<Record<string, any>[]>([]);
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 () => {
userName.value = await getUsername();

Loading…
Cancel
Save