import req from '@/request.js' const portal = window.context.portal export default { // 新增车辆GPS信息 addCmgtDutyVehicleGpsinfo(data, cb) { req.post(portal + `/manager/cmgtDutyVehicleGpsinfo/create`, data).then(res => { cb(res.data) }) }, // 修改车辆GPS信息 editCmgtDutyVehicleGpsinfo(data, cb) { req.put(portal + `/manager/cmgtDutyVehicleGpsinfo/update`, data).then(res => { cb(res.data) }) }, // 分页查询车辆GPS信息 loadCmgtDutyVehicleGpsinfo(data, cb) { req.post(portal + `/manager/cmgtDutyVehicleGpsinfo/pageQuery`, data).then(res => { cb(res.data) }) }, // 批量删除车辆GPS信息 deleteCmgtDutyVehicleGpsinfo(data, cb) { req.remove(portal + `/manager/cmgtDutyVehicleGpsinfo/delete`, data).then(res => { cb(res.data) }) }, }