| | |
| | | }); |
| | | }, |
| | | |
| | | // 所有记录列表 |
| | | getApplyList: (data: object) => { |
| | | return request({ |
| | | url: import.meta.env.VITE_API_URL + `/work/apply/all/page/list`, |
| | | method: 'post', |
| | | data: data |
| | | }); |
| | | }, |
| | | |
| | | // 分页获取申请列表 |
| | | getAllUsers: () => { |
| | | return request({ |
| | |
| | | }); |
| | | }, |
| | | |
| | | // 导出打印接口 |
| | | postPrinting: (data: object) => { |
| | | return request({ |
| | | url: import.meta.env.VITE_API_URL + `/work/apply/printing`, |
| | | method: 'post', |
| | | data: data, |
| | | responseType: 'blob', |
| | | headers:{'Content-Type': 'application/json'} |
| | | }); |
| | | }, |
| | | |
| | | |
| | | // 动火申请 |
| | | postFireApply: (data: object) => { |
| | | return request({ |