import request from '@/utils/request' // 查询防汛应急车辆分页 export function pageemergencyVehicle(query) { return request({ url: '/business/emergencyVehicle/page', method: 'get', params: query }) } // 查询防汛应急车辆列表 export function listemergencyVehicle(query) { return request({ url: '/business/emergencyVehicle/list', method: 'get', params: query }) } // 查询防汛应急车辆详细 export function getemergencyVehicle(id) { return request({ url: '/business/emergencyVehicle/' + id, method: 'get' }) } // 新增防汛应急车辆 export function addemergencyVehicle(data) { return request({ url: '/business/emergencyVehicle/add', method: 'post', data: data }) } // 修改防汛应急车辆 export function updateemergencyVehicle(data) { return request({ url: '/business/emergencyVehicle/edit', method: 'put', data: data }) } // 删除防汛应急车辆 export function delemergencyVehicle(id) { return request({ url: '/business/emergencyVehicle/' + id, method: 'delete' }) }