Some checks failed
Java CI with Maven / build (11) (push) Has been cancelled
Java CI with Maven / build (17) (push) Has been cancelled
Java CI with Maven / build (8) (push) Has been cancelled
yudao-ui-admin CI / build (14.x) (push) Has been cancelled
yudao-ui-admin CI / build (16.x) (push) Has been cancelled
29 lines
655 B
TypeScript
29 lines
655 B
TypeScript
import request from '@/config/axios'
|
|
|
|
export const getProcessDefinition = async (id?: string, key?: string) => {
|
|
return await request.get({
|
|
url: '/bpm/process-definition/get',
|
|
params: { id, key }
|
|
})
|
|
}
|
|
|
|
export const getProcessDefinitionPage = async (params) => {
|
|
return await request.get({
|
|
url: '/bpm/process-definition/page',
|
|
params
|
|
})
|
|
}
|
|
|
|
export const getProcessDefinitionList = async (params) => {
|
|
return await request.get({
|
|
url: '/bpm/process-definition/list',
|
|
params
|
|
})
|
|
}
|
|
|
|
export const getSimpleProcessDefinitionList = async () => {
|
|
return await request.get({
|
|
url: '/bpm/process-definition/simple-list'
|
|
})
|
|
}
|