Newer
Older
KaiFengPC / src / api / longoPeration / inspectiontasks.js
@鲁yixuan 鲁yixuan on 12 Jul 915 bytes update
import request from '@/utils/request';
// 信息
export function patrolTaskpage(query) {
  return request({
    url: '/business/patrolTask/page',
    method: 'get',
    params: query,
  });
}

// 新增
export function patrolTaskadd(data) {
  return request({
    url: '/business/patrolTask/add',
    method: 'post',
    data: data,
  });
}

export function patrolBasicInfopage(query) {
  return request({
    url: '/business/patrolBasicInfo/list',
    method: 'get',
    params: query,
  });
}

// // 修改排水防涝--市主干道积水点信息
// 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',
//   });
// }