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

17 lines
350 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
})
}
export function exportProcessDefinition(query) {
return request({
url: '/workflow/process/definition/export?processDefinitionId='+query.id,
method: 'get'
})
}