Newer
Older
Nanping_sponge_SJJC / src / api / drainagePipeline / pipelineInfo.js
@liyingjing liyingjing on 25 Oct 2023 1013 bytes 数据检测
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',
    method: 'post',
    data: data
  })
}

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

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