diff --git a/project/xiushan/apps/processManagement/approvalManage/components/approvalDetail.vue b/project/xiushan/apps/processManagement/approvalManage/components/approvalDetail.vue
index 936411de..78f914b4 100644
--- a/project/xiushan/apps/processManagement/approvalManage/components/approvalDetail.vue
+++ b/project/xiushan/apps/processManagement/approvalManage/components/approvalDetail.vue
@@ -12,7 +12,6 @@
-
@@ -52,17 +51,21 @@
+
+
+
+
+
-
+
- {{ val.dictName }}
+
+ {{ val.dictName }}
@@ -204,8 +207,6 @@
-
-
@@ -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() {