2021-11-19 16:08:01 +08:00
|
|
|
import request from '@/utils/request'
|
|
|
|
|
2022-01-03 22:13:12 +08:00
|
|
|
export function getProcessDefinitionPage(query) {
|
2021-11-19 16:08:01 +08:00
|
|
|
return request({
|
2022-01-03 22:13:12 +08:00
|
|
|
url: '/bpm/process-definition/page',
|
2021-11-19 16:08:01 +08:00
|
|
|
method: 'get',
|
|
|
|
params: query
|
|
|
|
})
|
|
|
|
}
|
|
|
|
|
2022-01-03 22:13:12 +08:00
|
|
|
export function getProcessDefinitionBpmnXML(id) {
|
2021-11-19 16:08:01 +08:00
|
|
|
return request({
|
2022-01-03 22:13:12 +08:00
|
|
|
url: '/bpm/process-definition/get-bpmn-xml?id=' + id,
|
2021-11-19 16:08:01 +08:00
|
|
|
method: 'get'
|
|
|
|
})
|
|
|
|
}
|