Newer
Older
KaiFengPC / src / api / longoPeration / MaterialManagement.js
@鲁yixuan 鲁yixuan on 12 Jun 811 bytes update
import request from '@/utils/request';
// 列表
export function FloodPreventionMaterialpage(query) {
  return request({
    url: '/business/floodPreventionMaterial/page',
    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',
  });
}