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
|
|
|
|
})
|
|
|
|
}
|
|
|
|
|
2022-01-03 11:08:47 +08:00
|
|
|
export function getDefinitionBpmnXML(id) {
|
2021-11-19 16:08:01 +08:00
|
|
|
return request({
|
2022-01-03 11:08:47 +08:00
|
|
|
url: '/bpm/definition/get-bpmn-xml?id=' + id,
|
2021-11-19 16:08:01 +08:00
|
|
|
method: 'get'
|
|
|
|
})
|
|
|
|
}
|