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 @@ - + @@ -7,9 +7,7 @@ v{{ row.version }} - 选择 + @@ -18,107 +16,119 @@ 申请信息【{{ selectProcessInstance.name }}】 - 选择其它流程 + - - - - + + 流程图 + - + -