Newer
Older
DH_Apicture / src / api / MonitoringAnalysis.js
@zhangqy zhangqy 28 days ago 1 KB 测试代码提交
import request from '@/utils/request'
// 监测分析大屏
// 本底缺陷
export function pipelineBackgroundDefectAnalysis(params) {
  return request({
    url: `/business/monitorAnalysis/pipelineBackgroundDefectAnalysis`,
    method: 'get',
    params,
  });
}
// 风险分析
export function pipelineRiskAnalysis(params) {
  return request({
    url: `business/monitorAnalysis/pipelineRiskAnalysis`,
    method: 'get',
    params,
  });
}
// 根据分区信息获取父级分区信息
export function lineGrade(params) {
  return request({
    url: `business/regionInfo/lineGrade`,
    method: 'get',
    params,
  });
}
// 获取所有的污水分区信息 tree结构 
export function regionInfoTree(params) {
  return request({
    url: `business/regionInfo/tree`,
    method: 'get',
    params,
  });
}
// 获取所有的雨水分区信息 tree结构 
export function waterRegionInfoTree(params) {
  return request({
    url: `business/waterRegionInfo/tree`,
    method: 'get',
    params,
  });
}
// 获取列表数据
export function listPipelineDefectRisk(params) {
  return request({
    url: `business/monitorAnalysis/listPipelineDefectRisk`,
    method: 'get',
    params,
  });
}
// 获取列表数据
export function riskAnalysisReason(params) {
  return request({
    url: `business/monitorAnalysis/riskAnalysisReason`,
    method: 'get',
    params,
  });
}