| | |
| | | import http from "@/http"; |
| | | export default { |
| | | getBayonetList: (params) => { return http.get('/sccg/equipment_bayonet/query', params); }, |
| | | exportBayonetList: (params) => { return http.downloadFile('/sccg/equipment_bayonet/export', params); }, |
| | | addBayonet: (params) => { return http.post('/sccg/equipment_bayonet/addition', params); }, |
| | | updateBayonet: (params) => { return http.put('/sccg/equipment_bayonet/modification', params) } |
| | | } |
| | | getBayonetList: (params) => { |
| | | return http.get('/sccg/equipment_bayonet/query', params); |
| | | }, |
| | | exportBayonetList: (params) => { |
| | | return http.get('/sccg/equipment_bayonet/export', params); |
| | | }, |
| | | addBayonet: (params) => { |
| | | return http.post('/sccg/equipment_bayonet/addition', params); |
| | | }, |
| | | updateBayonet: (params) => { |
| | | return http.put('/sccg/equipment_bayonet/modification', params) |
| | | }, |
| | | deleteBayonet: (id) => { |
| | | return http.delete('/sccg/equipment_bayonet/delete/' + id) |
| | | } |
| | | } |