luobisheng
2022-11-25 0e68368c1df02acb4e96c14b7f4a307d369f1415
src/api/system/bayonet.js
@@ -1,7 +1,18 @@
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)
    }
}