| | |
| | | url: '/approveNode/details/' + query, |
| | | method: 'get', |
| | | }) |
| | | } |
| | | } |
| | | |
| | | export function approveFlowDefinitionList(query) { |
| | | return request({ |
| | | url: '/approveFlowDefinition/list', |
| | | method: 'get', |
| | | params: query, |
| | | }) |
| | | } |
| | | |
| | | export function approveFlowDefinitionGet(id) { |
| | | return request({ |
| | | url: '/approveFlowDefinition/' + id, |
| | | method: 'get', |
| | | }) |
| | | } |
| | | |
| | | export function approveFlowDefinitionAdd(data) { |
| | | return request({ url: '/approveFlowDefinition', method: 'post', data }) |
| | | } |
| | | |
| | | export function approveFlowDefinitionUpdate(id, data) { |
| | | return request({ url: '/approveFlowDefinition/' + id, method: 'put', data }) |
| | | } |
| | | |
| | | export function approveFlowDefinitionEnabled(id, enabled) { |
| | | return request({ url: '/approveFlowDefinition/' + id + '/enabled', method: 'put', params: { enabled } }) |
| | | } |
| | | |
| | | export function approveFlowDefinitionDelete(id) { |
| | | return request({ url: '/approveFlowDefinition/' + id, method: 'delete' }) |
| | | } |