From 6c6050a320f6fc5da7590887c2eee508e603f3ab Mon Sep 17 00:00:00 2001 From: YunaiV Date: Mon, 23 Jan 2023 23:11:25 +0800 Subject: [PATCH] =?UTF-8?q?bpm=EF=BC=9A=E5=AE=8C=E6=88=90=E6=B5=81?= =?UTF-8?q?=E7=A8=8B=E5=AE=9E=E4=BE=8B=E7=9A=84=E5=8F=91=E8=B5=B7=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/api/bpm/processInstance/index.ts | 3 +- .../src/views/bpm/model/index.vue | 2 +- .../src/views/bpm/processInstance/create.vue | 166 ++++++++++-------- .../src/views/bpm/processInstance/index.vue | 10 +- .../bpm/processInstance/process.create.ts | 16 +- 5 files changed, 105 insertions(+), 92 deletions(-) diff --git a/yudao-ui-admin-vue3/src/api/bpm/processInstance/index.ts b/yudao-ui-admin-vue3/src/api/bpm/processInstance/index.ts index a56b1d420..17b232fb5 100644 --- a/yudao-ui-admin-vue3/src/api/bpm/processInstance/index.ts +++ b/yudao-ui-admin-vue3/src/api/bpm/processInstance/index.ts @@ -1,11 +1,10 @@ import request from '@/config/axios' -import { ProcessInstanceVO } from './types' export const getMyProcessInstancePageApi = async (params) => { return await request.get({ url: '/bpm/process-instance/my-page', params }) } -export const createProcessInstanceApi = async (data: ProcessInstanceVO) => { +export const createProcessInstanceApi = async (data) => { return await request.post({ url: '/bpm/process-instance/create', data: data }) } diff --git a/yudao-ui-admin-vue3/src/views/bpm/model/index.vue b/yudao-ui-admin-vue3/src/views/bpm/model/index.vue index ebd317c15..81335cba4 100644 --- a/yudao-ui-admin-vue3/src/views/bpm/model/index.vue +++ b/yudao-ui-admin-vue3/src/views/bpm/model/index.vue @@ -363,7 +363,7 @@ const handleFormDetail = async (row) => { // 弹窗打开 formDetailVisible.value = true } else { - router.push({ + await router.push({ path: row.formCustomCreatePath }) } diff --git a/yudao-ui-admin-vue3/src/views/bpm/processInstance/create.vue b/yudao-ui-admin-vue3/src/views/bpm/processInstance/create.vue index 1bd3ab402..6f54077e7 100644 --- a/yudao-ui-admin-vue3/src/views/bpm/processInstance/create.vue +++ b/yudao-ui-admin-vue3/src/views/bpm/processInstance/create.vue @@ -1,5 +1,5 @@ @@ -18,107 +16,119 @@
申请信息【{{ selectProcessInstance.name }}】 - 选择其它流程 +
- -
- -
+ +
流程图
+
- + -