| | |
| | | method: 'get' |
| | | }) as ApiPromise |
| | | }, |
| | | |
| | | |
| | | updateOrderStatusToIsEvaluate(orderId: string): ApiPromise { |
| | | return createAxios({ |
| | | url: `${url}/status/isEvaluate`, |
| | | method: 'post', |
| | | params: { |
| | | orderId |
| | | } |
| | | }) as ApiPromise |
| | | }, |
| | | |
| | | updateOrderStatusToNext(orderId: string): ApiPromise { |
| | | return createAxios({ |
| | | url: `${url}/status/next`, |
| | |
| | | params: { |
| | | orderId |
| | | } |
| | | }) as ApiPromise |
| | | }, |
| | | |
| | | // 启动并完成审批流程(外部工作流服务) |
| | | startWorkflowAndComplete(data: { processdefId: string; userid: string; businessKey: string }): ApiPromise { |
| | | return createAxios({ |
| | | url: `/test/app/workflow/startProcessAndComplete`, |
| | | method: 'post', |
| | | data |
| | | }) as ApiPromise |
| | | }, |
| | | |