| | |
| | | }) |
| | | } |
| | | |
| | | export function fetchSaveFlowStepInstance(params = {}) { |
| | | return request.post({ |
| | | url: '/flowStepInstance/save', |
| | | params |
| | | }) |
| | | } |
| | | |
| | | export function fetchUpdateFlowStepInstance(params = {}) { |
| | | return request.post({ |
| | | url: '/flowStepInstance/update', |
| | | params |
| | | }) |
| | | } |
| | | |
| | | export function fetchRemoveFlowStepInstance(id) { |
| | | return request.post({ |
| | | url: `/flowStepInstance/remove/${normalizeIds(id)}` |
| | | }) |
| | | } |
| | | |
| | | export function fetchJumpCurrentFlowStepInstance(id) { |
| | | return request.post({ |
| | | url: `/flowStepInstance/jumpCurrent/${id}` |
| | | }) |
| | | } |
| | | |
| | | export async function fetchExportFlowStepInstanceReport(payload = {}, options = {}) { |
| | | return fetch(`${import.meta.env.VITE_API_URL}/flowStepInstance/export`, { |
| | | method: 'POST', |