fangyuan
2022-12-16 9ff66017debadfc89bc0c1b796684a4d1dbe2bc3
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.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) }
}
    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)
    },
    deleteBayonet: (id) => {
        return http.delete('/sccg/equipment_bayonet/delete/' + id)
    }
}