Newer
Older
DH_Apicture / src / api / WaterAssets.js
@zhangqy zhangqy 28 days ago 2 KB first commit
import request from '@/utils/request';
import { parseStrEmpty } from '@/utils/ruoyi';

// 雨水-泵站功率统计
export function getPumpCount() {
  return request({
    url: '/business/oneMap/getPumpCount',
    method: 'get',
  });
}

// 雨水-调蓄池库容统计
export function getStorageCount() {
  return request({
    url: '/business/oneMap/getStorageCount',
    method: 'get',
  });
}

// 管网统计 type字段   Rain 雨水 污水 Sewage
export function getPipeCount(query) {
  return request({
    url: '/business/oneMap/getPipeCount',
    method: 'get',
    params: query,
  });
}

// 雨水-分流井闸门和堰门统计
export function getWellCount() {
  return request({
    url: '/business/oneMap/getWellCount',
    method: 'get',
  });
}

// 污水-污水处理厂当前排量
export function getSwageFactoryCount() {
  return request({
    url: '/business/oneMap/getSwageFactoryCount',
    method: 'get',
  });
}

// 污水-污水泵站区域统计
export function getSwagePumpCount() {
  return request({
    url: '/business/oneMap/getSwagePumpCount',
    method: 'get',
  });
}

// 污水-污水厂区域统计
export function getSwageFactoryTypeCount() {
  return request({
    url: '/business/oneMap/getSwageFactoryTypeCount',
    method: 'get',
  });
}

// 污水-排水户街道统计
export function getDraingaeCount() {
  return request({
    url: '/business/oneMap/getDraingaeCount',
    method: 'get',
  });
}

// 水系监测-站点统计
export function getWaterMonitorCount() {
  return request({
    url: '/business/oneMap/getWaterMonitorCount',
    method: 'get',
  });
}

// 内涝积水点
export function getWaterLoggingCount() {
  return request({
    url: '/business/oneMap/getWaterLogCount',
    method: 'get',
  });
}

// 管网监测点查询
export function getPipeMonitorCount() {
  return request({
    url: '/business/oneMap/getPipeMonitorCount',
    method: 'get',
  });
}

// 视频统计
export function getCameraCount() {
  return request({
    url: '/business/oneMap/getCameraCount',
    method: 'get',
  });
}