| | |
| | | deleteBatch = '/dry/dryOrder/deleteBatch', |
| | | importExcel = '/dry/dryOrder/importExcel', |
| | | exportXls = '/dry/dryOrder/exportXls', |
| | | sendBatch = '/dry/dryOrder/sendBatch' |
| | | } |
| | | /** |
| | | * 导出api |
| | |
| | | }, |
| | | }) |
| | | } |
| | | |
| | | /** |
| | | * 批量下发工单 |
| | | */ |
| | | export const batchSend = (params, handleSuccess) => { |
| | | createConfirm({ |
| | | iconType: 'warning', |
| | | title: '确认下发', |
| | | content: '是否将选中工单下发到机台', |
| | | okText: '下发', |
| | | cancelText: '取消', |
| | | onOk: () => { |
| | | return defHttp.post({ url: Api.sendBatch, data: params }, { joinParamsToUrl: true }).then(() => { |
| | | handleSuccess() |
| | | }) |
| | | }, |
| | | }) |
| | | } |
| | | /** |
| | | * 保存或者更新 |
| | | * @param params |