Newer
Older
KaiFengPC / src / api / longoPeration / MaterialManagement.js
@zhangdeliang zhangdeliang on 23 Jun 997 bytes update
import request from '@/utils/request';
// 列表分页
export function FloodPreventionMaterialpage(query) {
  return request({
    url: '/business/floodPreventionMaterial/page',
    method: 'get',
    params: query,
  });
}

// 列表
export function FloodPreventionMaterialList(query) {
  return request({
    url: '/business/floodPreventionMaterial/list',
    method: 'get',
    params: query,
  });
}

// 新增排水防涝--防汛物资
export function FloodPreventionMaterialadd(data) {
  return request({
    url: '/business/floodPreventionMaterial/add',
    method: 'post',
    data: data,
  });
}

// 修改排水防涝--防汛物资
export function FloodPreventionMaterialedit(data) {
  return request({
    url: '/business/floodPreventionMaterial/edit',
    method: 'put',
    data: data,
  });
}

// 删除排水防涝--防汛物资
export function FloodPreventionMaterialdelete(id) {
  return request({
    url: '/business/floodPreventionMaterial/' + id,
    method: 'delete',
  });
}