import request from '@/utils/request'; // 市主干道积水点信息 export function waterloggedRoadpage(query) { return request({ url: '/business/waterloggedRoad/page', method: 'get', params: query, }); } // 新增排水防涝--市主干道积水点信息 export function waterloggedRoadadd(data) { return request({ url: '/business/waterloggedRoad/add', method: 'post', data: data, }); } // 修改排水防涝--市主干道积水点信息 export function waterloggedRoadedit(data) { return request({ url: '/business/waterloggedRoad/edit', method: 'put', data: data, }); } // 删除排水防涝--防汛物资 export function waterloggedRoaddelete(id) { return request({ url: '/business/waterloggedRoad/' + id, method: 'delete', }); } // 易涝积水点 分页 export function floodYLPage(query) { return request({ url: '/business/preventFlood/waterloggingPoint/page', method: 'get', params: query, }); } // 易涝积水点 新增 export function floodYLAdd(data) { return request({ url: '/business/preventFlood/waterloggingPoint/add', method: 'post', data: data, }); } // 易涝积水点 编辑 export function floodYLEdit(data) { return request({ url: '/business/preventFlood/waterloggingPoint/edit', method: 'put', data: data, }); } // 易涝积水点 详情 export function floodYLDetail(id) { return request({ url: '/business/preventFlood/waterloggingPoint/' + id, method: 'get', }); } // 易涝积水点 删除 export function floodYLDelete(id) { return request({ url: '/business/preventFlood/waterloggingPoint/' + id, method: 'delete', }); }