2021-11-19 16:08:01 +08:00
|
|
|
import request from '@/utils/request'
|
|
|
|
|
2022-01-03 05:41:05 +08:00
|
|
|
export function getDefinitionPage(query) {
|
2021-11-19 16:08:01 +08:00
|
|
|
return request({
|
2022-01-03 05:41:05 +08:00
|
|
|
url: '/bpm/definition/page',
|
2021-11-19 16:08:01 +08:00
|
|
|
method: 'get',
|
|
|
|
params: query
|
|
|
|
})
|
|
|
|
}
|
|
|
|
|
|
|
|
export function exportProcessDefinition(query) {
|
|
|
|
return request({
|
|
|
|
url: '/workflow/process/definition/export?processDefinitionId='+query.id,
|
|
|
|
method: 'get'
|
|
|
|
})
|
|
|
|
}
|