Newer
Older
KaiFengPC / src / api / drainagePipeline / pipelineInfo.js
@鲁yixuan 鲁yixuan on 19 Aug 1 KB updata
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',
  });
}

// 删除管线信息
export function getPipelineSumByTexture(query) {
  return request({
    url: '/business/pipelineInfo/getPipelineSumByTexture',
    method: 'get',
    params: query,
  });
}

// 删除管线信息
export function getPipelineSumBySection(query) {
  return request({
    url: '/business/pipelineInfo/getPipelineSumBySection',
    method: 'get',
    params: query,
  });
}

// 搜索标记点信息列表
export function markPointList(query) {
  return request({
    url: '/business/markPoint/list',
    method: 'get',
    params: query,
  });
}

// 新增标记点信息
export function markPointAdd(data) {
  return request({
    url: '/business/markPoint/add',
    method: 'post',
    data: data,
  });
}

// 删除标记点信息
export function markPointDel(ids) {
  return request({
    url: '/business/markPoint/' + ids,
    method: 'delete',
  });
}