Newer
Older
KaiFengPC / src / api / drainagePipeline / pipelineInfo.js
@zhangdeliang zhangdeliang on 20 May 1 KB 项目初始化
import request from '@/utils/request';

// 查询管线信息分页
export function pagepipelineInfo(query) {
  return request({
    url: '/business/pipelineInfo/page',
    method: 'get',
    params: query,
  });
}

// 查询管线信息列表
export function listpipelineInfo(query) {
  return request({
    url: '/business/pipelineInfo/list',
    method: 'get',
    params: query,
  });
}

// 查询管线信息详细
export function getpipelineInfo(id) {
  return request({
    url: '/business/pipelineInfo/' + id,
    method: 'get',
  });
}

// 新增管线信息
export function addpipelineInfo(data) {
  return request({
    url: '/business/pipelineInfo/add',
    method: 'post',
    data: data,
  });
}

// 修改管线信息
export function updatepipelineInfo(data) {
  return request({
    url: '/business/pipelineInfo/edit',
    method: 'put',
    data: data,
  });
}

// 删除管线信息
export function delpipelineInfo(id) {
  return request({
    url: '/business/pipelineInfo/' + id,
    method: 'delete',
  });
}