Newer
Older
KaiFengPC / src / api / longoPeration / Inspectionplana.js
@鲁yixuan 鲁yixuan on 19 Jul 919 bytes 1
import request from '@/utils/request';
// 列表分页
export function patrolPlanpage(query) {
  return request({
    url: '/business/patrolPlan/page',
    method: 'get',
    params: query,
  });
}

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

// 新增
export function patrolPlanadd(data) {
  return request({
    url: '/business/patrolPlan/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',
  });
}