Newer
Older
KaiFengPC / src / api / floodSys / EasyToFlood.js
@鲁yixuan 鲁yixuan on 12 Jun 847 bytes update
import request from '@/utils/request';
// 分页查询排水防涝--易渍水小区
export function waterloggedCommunitiespage(query) {
  return request({
    url: '/business/waterloggedCommunities/page',
    method: 'get',
    params: query,
  });
}

// 新增排水防涝--易渍水小区
export function waterloggedCommunitiesadd(data) {
  return request({
    url: '/business/waterloggedCommunities/add',
    method: 'post',
    data: data,
  });
}

// 修改排水防涝--易渍水小区
export function waterloggedCommunitiesedit(data) {
  return request({
    url: '/business/waterloggedCommunities/edit',
    method: 'put',
    data: data,
  });
}

// 删除排水防涝--易渍水小区
export function waterloggedCommunitiesdelete(id) {
  return request({
    url: '/business/waterloggedCommunities/' + id,
    method: 'delete',
  });
}