BPM:增加「发起人自选」的任务审批人的分配策略

This commit is contained in:
YunaiV
2024-03-23 00:54:33 +08:00
parent 48f6624737
commit 728cf15c45
7 changed files with 182 additions and 29 deletions

View File

@ -1,8 +1,9 @@
import request from '@/config/axios'
export const getProcessDefinitionBpmnXML = async (id: number) => {
export const getProcessDefinition = async (id: number, key: string) => {
return await request.get({
url: '/bpm/process-definition/get-bpmn-xml?id=' + id
url: '/bpm/process-definition/get',
params: { id, key }
})
}