BUG 30522
This commit is contained in:
@@ -12,7 +12,6 @@
|
||||
</el-button>
|
||||
</template>
|
||||
</ai-title>
|
||||
|
||||
<template #content>
|
||||
<ai-sidebar :tabTitle="menuList" @change="change"/>
|
||||
<el-scrollbar>
|
||||
@@ -52,17 +51,21 @@
|
||||
</template>
|
||||
<template v-if="currentMenu==1">
|
||||
<ai-card title="申请表单">
|
||||
<template #right>
|
||||
<ai-dialog-btn text="信息报告" :dialog-title="cpConfig.dialogTitle">
|
||||
<component :is="cpConfig.component" v-bind="cpConfig.params"/>
|
||||
</ai-dialog-btn>
|
||||
</template>
|
||||
<template #content>
|
||||
<el-form label-suffix=":" label-width="180px" size="small">
|
||||
<div class="border-wrap">
|
||||
<div v-for="(item, index) in applyForm" :key="index">
|
||||
<ai-title :title="index"/>
|
||||
<el-form-item v-for="e in item" :key="e.id" :label="[e.fieldName,e.fieldNameSuffix].join('')">
|
||||
<el-input :value="getFieldValue(e)" readonly style="width: 100%;"
|
||||
v-if="e.fieldDataType!=5"/>
|
||||
<el-input :value="getFieldValue(e)" readonly style="width: 100%;" v-if="e.fieldDataType!=5"/>
|
||||
<el-checkbox-group v-else v-model="!e.fieldValue ? '' : String(e.fieldValue).split(',')">
|
||||
<el-checkbox :label="val.dictValue" disabled
|
||||
v-for="(val,idx) in dict.getDict(e.dictionaryCode)" :key="idx">{{ val.dictName }}
|
||||
<el-checkbox :label="val.dictValue" disabled v-for="(val,idx) in dict.getDict(e.dictionaryCode)" :key="idx">
|
||||
{{ val.dictName }}
|
||||
</el-checkbox>
|
||||
</el-checkbox-group>
|
||||
</el-form-item>
|
||||
@@ -204,8 +207,6 @@
|
||||
</el-scrollbar>
|
||||
</template>
|
||||
</ai-detail>
|
||||
|
||||
|
||||
<!--审批同意、拒绝-->
|
||||
<el-dialog :title="titleType" center :visible.sync="isAgree" width="720px" v-loading="loading"
|
||||
:close-on-click-modal="false" @close="form.fieldInfos = []">
|
||||
@@ -301,11 +302,15 @@ import moment from 'dayjs'
|
||||
import {mapState} from "vuex";
|
||||
import Viewer from 'v-viewer'
|
||||
import Vue from 'vue'
|
||||
import AiDialogBtn from "../../../../components/AiDialogBtn";
|
||||
import PersonCreditReport from "../../../../components/personCreditReport";
|
||||
import EnterpriseDialog from "../../../../components/enterpriseDialog";
|
||||
|
||||
Vue.use(Viewer)
|
||||
|
||||
export default {
|
||||
name: "approvalDetail",
|
||||
components: {EnterpriseDialog, PersonCreditReport, AiDialogBtn},
|
||||
inject: ['approval'],
|
||||
props: {
|
||||
instance: Function,
|
||||
@@ -366,7 +371,15 @@ export default {
|
||||
{slot: "options"}
|
||||
]
|
||||
},
|
||||
titleType: v => v.form.pass ? '审批同意' : '审批拒绝'
|
||||
titleType: v => v.form.pass ? '审批同意' : '审批拒绝',
|
||||
cpConfig() {
|
||||
const {objId, objType} = this.detail
|
||||
let configs = {
|
||||
0: {dialogTitle: "个人信息报告", params: {...this.$props, personId: objId}, component: PersonCreditReport},
|
||||
1: {dialogTitle: "企业信息报告", params: {...this.$props, enterpriseId: objId}, component: EnterpriseDialog},
|
||||
}
|
||||
return configs?.[objType] || {}
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
handleDownload() {
|
||||
|
||||
Reference in New Issue
Block a user