diff --git a/yudao-ui-admin-vue3/src/views/bpm/processInstance/detail.vue b/yudao-ui-admin-vue3/src/views/bpm/processInstance/detail.vue index b90d286cb..78f34e755 100644 --- a/yudao-ui-admin-vue3/src/views/bpm/processInstance/detail.vue +++ b/yudao-ui-admin-vue3/src/views/bpm/processInstance/detail.vue @@ -39,6 +39,18 @@ title="通过" @click="handleAudit(item, true)" /> + + @@ -116,17 +128,56 @@ + + + + + + + + + + + + + - - diff --git a/yudao-ui-admin-vue3/src/views/bpm/processInstance/process.detail.ts b/yudao-ui-admin-vue3/src/views/bpm/processInstance/process.detail.ts deleted file mode 100644 index 36cdebc54..000000000 --- a/yudao-ui-admin-vue3/src/views/bpm/processInstance/process.detail.ts +++ /dev/null @@ -1,36 +0,0 @@ -import { reactive } from 'vue' -// import { useI18n } from '@/hooks/web/useI18n' -import { VxeCrudSchema, useVxeCrudSchemas } from '@/hooks/web/useVxeCrudSchemas' -import { DICT_TYPE } from '@/utils/dict' -// const { t } = useI18n() // 国际化 - -// CrudSchema -const crudSchemas = reactive({ - primaryKey: 'id', - primaryType: 'id', - primaryTitle: '流程名称', - action: true, - actionWidth: '200px', - columns: [ - { - title: '流程分类', - field: 'category', - dictType: DICT_TYPE.BPM_MODEL_CATEGORY, - dictClass: 'number' - }, - { - title: '流程版本', - field: 'processDefinition.version', - table: { - slots: { - default: 'version_default' - } - } - }, - { - title: '流程描述', - field: 'description' - } - ] -}) -export const { allSchemas } = useVxeCrudSchemas(crudSchemas) diff --git a/yudao-ui-admin/src/views/bpm/processInstance/detail.vue b/yudao-ui-admin/src/views/bpm/processInstance/detail.vue index 8fefa630f..a1f9f6908 100644 --- a/yudao-ui-admin/src/views/bpm/processInstance/detail.vue +++ b/yudao-ui-admin/src/views/bpm/processInstance/detail.vue @@ -163,10 +163,7 @@ export default { rules: { assigneeUserId: [{ required: true, message: "新审批人不能为空", trigger: "change" }], } - }, - - // 数据字典 - categoryDictDatas: getDictDatas(DICT_TYPE.BPM_MODEL_CATEGORY), + } }; }, created() {