Newer
Older
KaiFengPC / src / api / sponeScreen / syntherticData.js
@zhangdeliang zhangdeliang on 23 May 5 KB 初始化项目
import request from '@/utils/request';

// 数据统计-动态表头
export function dataAnalysisHead (query) {
  return request({
    url: '/business/siteHistoryMonitor/dataAnalysis/heads',
    method: 'get',
    params: query,
  });
}
// 数据统计-表格数据
export function dataAnalysisBody (query) {
  return request({
    url: '/business/siteHistoryMonitor/dataAnalysis',
    method: 'get',
    params: query,
  });
}
// 图形报表分析-echarts
export function graphicReport (query) {
  return request({
    url: '/business/siteHistoryMonitor/graphicReport',
    method: 'get',
    params: query,
  });
}
// 获取每种监测类型对应的站点类型和建设方式对应的数量
export function getSiteInfoCountZH (query) {
  return request({
    url: '/business/rtuSiteInfo/getSiteInfoCount',
    method: 'get',
    params: query,
  });
}
// 获取所有站点设备
export function getStationList (query) {
  return request({
    url: '/business/rtuSiteInfo/list',
    method: 'get',
    params: query,
  });
}
// 获取站点详情数据
export function getStationDetail (id) {
  return request({
    url: '/business/rtuSiteInfo/' + id,
    method: 'get',
  });
}
// 获取站点详情数据 扩展
export function getStationDetailExtend (stCode) {
  return request({
    url: '/business/rtuSiteInfo/extend/' + stCode,
    method: 'get',
  });
}
// 各类型站点状态统计
export function rtuSiteTypeStatusCount (query) {
  return request({
    url: '/business/rtuSiteInfo/rtuSiteTypeStatusCount',
    method: 'get',
    params: query,
  });
}
// 站点最新一条数据记录
export function realtimeDataLatest (stCode) {
  return request({
    url: '/business/rtuSiteMonitor/realtimeData/' + stCode,
    method: 'get',
  });
}
// 综合分析--趋势统计
export function tendencyStatistics (query) {
  return request({
    url: '/business/siteHistoryMonitor/tendencyStatistics',
    method: 'get',
    params: query,
  });
}
// 综合分析--数据分析
export function getDataAnalyse (query) {
  return request({
    url: '/business/siteHistoryMonitor/dataAnalyse',
    method: 'get',
    params: query,
  });
}
// 综合分析--数据分析-决策分析
export function decisionSuggest (query) {
  return request({
    url: '/business/siteHistoryMonitor/decisionSuggest',
    method: 'get',
    params: query,
  });
}
// 综合分析--报警分析
export function getAlarmAnalysis (query) {
  return request({
    url: '/business/rtuWarnRecordRealtime/alarmAnalysis',
    method: 'get',
    params: query,
  });
}
// 查询站点对应的指定监测数据echarts数据(公共接口)
export function monitorPropertyEchart (query) {
  return request({
    url: '/business/siteHistoryMonitor/monitorPropertyGraphicReport',
    method: 'get',
    params: query,
  });
}
// 故障及离线设备分析-历次故障分析
export function stationFaultTime (query) {
  return request({
    url: '/business/rtuFaultTimeSectionRealtime/page',
    method: 'get',
    params: query,
  });
}
// 故障及离线设备分析-问题建议
export function stationFaultSuggest (stCode) {
  return request({
    url: '/business/rtuFaultTimeSectionHistory/problemSuggest/' + stCode,
    method: 'get',
  });
}
// 站点对比分析-监测项
export function monitorPropertyList (query) {
  return request({
    url: '/business/rtuSiteInfo/tree',
    method: 'get',
    params: query,
  });
}
// 站点对比分析-对比数据
export function monitorPropertyGraphicCompare (data) {
  return request({
    url: '/business/siteHistoryMonitor/monitorPropertyGraphicCompare',
    method: 'post',
    data: data,
  });
}
// 根据监测目标类型查询下拉列表-对比数据
export function getListByTargetType (query) {
  return request({
    url: '/business/rtuSiteInfo/getListByTargetType',
    method: 'get',
    params: query,
  });
}
// 内涝风险模拟
export function waterLoggingRiskSim (data) {
  return request({
    url: '/business/monitorEvaluate/waterLoggingRiskSim',
    method: 'post',
    data: data,
  });
}
// 排水口流量对比分析
export function outfallFlowAnalysis (data) {
  return request({
    url: '/business/monitorEvaluate/outfallFlowAnalysis',
    method: 'post',
    data: data,
  });
}
// 典型下垫面SS总量削减率分析
export function UnderSurfaceSsReductionRate (query) {
  return request({
    url: '/business/monitorEvaluate/UnderSurfaceSsReductionRate',
    method: 'get',
    params: query,
  });
}
// 预案方案列表
export function getYuAnIndexList (data) {
  return request({
    url: '/business/module_data/getYuAnIndexList',
    method: 'post',
    data: data,
  });
}
// 图例
export function screenMapLayerList (type) {
  return request({
    url: '/business/screen-map-layer/list-type/' + type,
    method: 'get',
  });
}
// 站点对比分析-对比数据
export function monitorPropertyGraphicTimeCompare (data) {
  return request({
    url: '/business/siteHistoryMonitor/monitorPropertyGraphicTimeCompare',
    method: 'post',
    data: data,
  });
}
// 易涝点数据
export function waterloggingPointList (query) {
  return request({
    url: '/business/preventFlood/waterloggingPoint/list',
    method: 'get',
    params: query,
  });
}
// 分区信息
export function partitionInfoList (query) {
  return request({
    url: '/business/partitionInfo/list',
    method: 'get',
    params: query,
  });
}
// 动态tab-监测点
export function rtuSiteInfoDynamicTab (stCode) {
  return request({
    url: '/business/rtuSiteInfo/dynamicTab/' + stCode,
    method: 'get',
  });
}
// 动态tab-项目
export function projectlnfoNewDynamicTab (stCode) {
  return request({
    url: '/business/projectInfoNew/dynamicTab/' + stCode,
    method: 'get',
  });
}