FlowPacs/yudao-admin-ui/src/api/bpm/definition.js

17 lines
316 B
JavaScript
Raw Normal View History

import request from '@/utils/request'
2022-01-03 05:41:05 +08:00
export function getDefinitionPage(query) {
return request({
2022-01-03 05:41:05 +08:00
url: '/bpm/definition/page',
method: 'get',
params: query
})
}
2022-01-03 11:08:47 +08:00
export function getDefinitionBpmnXML(id) {
return request({
2022-01-03 11:08:47 +08:00
url: '/bpm/definition/get-bpmn-xml?id=' + id,
method: 'get'
})
}