Newer
Older
Nanping_sponge_SJJC / src / api / drainager / pipelineInfo.js
@liyingjing liyingjing on 25 Oct 2023 1012 bytes 数据检测
import request from "@/utils/request";

// 下游分析
export function downStreamAnalyse (query) {
  return request({
    url: `/business/pipelineInfo/downStreamAnalyse/${query.startPointNumber}`,
    method: "get",
    params: query,
  });
}

// 上游分析
export function upStreamAnalyse (query) {
  return request({
    url: `/business/pipelineInfo/upStreamAnalyse/${query.endPointNumber}`,
    method: "get",
    params: query,
  });
}

// 连通性分析
export function connectAnalyse (query) {
  return request({
    url: `/business/pipelineInfo/connectAnalyse`,
    method: "get",
    params: query,
  });
}

// 根据排水系统编号查询管线
export function getPipelineByDrainageSystem (query) {
  return request({
    url: `/business/pipelineInfo/list_cache_by_drainage_system/${query}`,
    method: "get",
    // params: query,
  });
}

// 获取所有的管线
export function pipelineInfoListAll () {
  return request({
    url: `/business/pipelineInfo/listAll`,
    method: "get",
  });
}