From b6d90b2244fcf5e7f0b667d1880db415f5191117 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Tue, 24 Jan 2023 18:55:16 +0800 Subject: [PATCH] =?UTF-8?q?bpm=EF=BC=9A=E6=B5=81=E7=A8=8B=E8=AF=A6?= =?UTF-8?q?=E6=83=85=E7=9A=84=E8=BD=AC=E6=B4=BE=E5=AE=A1=E6=89=B9=E4=BA=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/bpm/processInstance/detail.vue | 108 +++++++++++++ .../src/views/bpm/processInstance/detail2.vue | 143 +----------------- .../bpm/processInstance/process.detail.ts | 36 ----- .../src/views/bpm/processInstance/detail.vue | 5 +- 4 files changed, 111 insertions(+), 181 deletions(-) delete mode 100644 yudao-ui-admin-vue3/src/views/bpm/processInstance/process.detail.ts 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() {