金融产品增加办理渠道
This commit is contained in:
@@ -29,7 +29,7 @@ export default {
|
||||
},
|
||||
created() {
|
||||
this.dict.load("productGuaranteeMode", "productRepaymentMethod", "productRepaymentTimeline", "productStatus", "productFaceUser",
|
||||
"enterpriseAuditStatus", "yesOrNo", "financialOrganizationType")
|
||||
"enterpriseAuditStatus", "yesOrNo", "financialOrganizationType", "financialProductChannels")
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
@@ -86,6 +86,16 @@
|
||||
</el-form-item>
|
||||
</template>
|
||||
</ai-card>
|
||||
<ai-card title="办理渠道">
|
||||
<template #content>
|
||||
<el-form-item label="业务办理渠道" prop="handlingChannels">
|
||||
<ai-select v-model="form.handlingChannels" :selectList="dict.getDict('financialProductChannels')" @change="form.zwspId=null"/>
|
||||
</el-form-item>
|
||||
<el-form-item v-if="form.handlingChannels==1" label="关联贷款联审" prop="zwspId">
|
||||
<ai-select v-model="form.zwspId" :instance="instance" action="/approval-process-def/list?processDefStatus=1" :prop="{label:'processName'}"/>
|
||||
</el-form-item>
|
||||
</template>
|
||||
</ai-card>
|
||||
</el-form>
|
||||
</template>
|
||||
<template #footer>
|
||||
@@ -129,6 +139,8 @@ export default {
|
||||
applyCondition: [{required: true, message: "请输入申请条件", trigger: 'blur'}],
|
||||
needMaterial: [{required: true, message: "请输入所需材料", trigger: 'blur'}],
|
||||
productFeatures: [{required: true, message: "请输入产品特色", trigger: 'blur'}],
|
||||
handlingChannels: [{required: true, message: "请选择办理渠道"}],
|
||||
zwspId: [{required: true, message: "请选择关联贷款联审"}],
|
||||
// bankCounterpart: [{required: true, message: "请输入客户经理姓名", trigger: 'change'}],
|
||||
// consultationTelephone: [ {required: true, message: "请输入客户经理电话", trigger: 'change'}],
|
||||
}
|
||||
@@ -137,7 +149,7 @@ export default {
|
||||
data() {
|
||||
return {
|
||||
dialog: false,
|
||||
form: {guaranteeMode: [], faceUser: [], loanMin: null},
|
||||
form: {guaranteeMode: [], faceUser: [], loanMin: null, zwspId: null},
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
||||
@@ -49,6 +49,12 @@
|
||||
<el-form-item label="产品特色">{{ detail.productFeatures }}</el-form-item>
|
||||
</template>
|
||||
</ai-card>
|
||||
<ai-card title="办理渠道">
|
||||
<template #content>
|
||||
<el-form-item label="业务办理渠道">{{ dict.getLabel('financialProductChannels', detail.handlingChannels) }}</el-form-item>
|
||||
<el-form-item label="关联贷款联审" v-if="detail.handlingChannels==1">{{ detail.zwspName }}</el-form-item>
|
||||
</template>
|
||||
</ai-card>
|
||||
<ai-card title="审核结果" v-if="!isAuthing">
|
||||
<template #content>
|
||||
<el-row type="flex" class="flexWrap">
|
||||
@@ -119,11 +125,22 @@ export default {
|
||||
this.detail = res.data
|
||||
this.detail.guaranteeModeLabel = res.data.guaranteeMode?.split(",").map(g => this.dict.getLabel("productGuaranteeMode", g))?.toString()
|
||||
this.detail.faceUserLabel = res.data.faceUser?.split(",").map(g => this.dict.getLabel("productFaceUser", g))?.toString()
|
||||
if (this.detail.handlingChannels == 1) {
|
||||
this.getZWSP(this.detail.zwspId).then(zwsp => this.$set(this.detail, 'zwspName', zwsp.processName))
|
||||
}
|
||||
} else {
|
||||
this.$message.error("该产品已下架!")
|
||||
}
|
||||
})
|
||||
},
|
||||
getZWSP(id) {
|
||||
//贷款联审信息
|
||||
return this.instance.post("/approval-process-def/info-id", null, {params: {id}}).then(res => {
|
||||
if (res?.data) {
|
||||
return res.data
|
||||
}
|
||||
})
|
||||
},
|
||||
submitAudit() {
|
||||
this.$refs.AuditForm.validate(v => {
|
||||
if (v) {
|
||||
|
||||
Reference in New Issue
Block a user