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

// 激活
export function activation(ids) {
  return request({
    url: '/business/patrolPlan/activation/' + ids,
    method: 'put',
  });
}
// 新增
export function patrolPlanadd(data) {
  return request({
    url: '/business/patrolPlan/add',
    method: 'post',
    data: data,
  });
}
// 修改
export function patrolPlanedit(data) {
  return request({
    url: '/business/patrolPlan/edit',
    method: 'put',
    data: data,
  });
}

// 删除
export function patrolPlandelete(ids) {
  return request({
    url: '/business/patrolPlan/' + ids,
    method: 'delete',
  });
}