You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
509 B
TypeScript
23 lines
509 B
TypeScript
import request from '@/config/axios'
|
|
|
|
export const getProcessDefinition = async (id: number, 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
|
|
})
|
|
}
|