Newer
Older
Nanping_sponge_SJJC / src / api / oneMap.js
@liyingjing liyingjing on 25 Oct 2023 4 KB 数据检测
import request from '@/utils/request'
// 查询水情雨情河湖水位信息表头和展示列
export function queryshowcos (data) {
  return request({
    url: '/business/hhsxLakeInfo/queryshowcos',
    method: 'post',
    data: data
  })
}
// 查询水情雨情河湖水位信息表河湖数据
export function querylakeArchives (data) {
  return request({
    url: '/business/hhsxLakeInfo/querylakeArchives',
    method: 'post',
    data: data
  })
}
// 查询水情雨情港渠水位信息表河湖数据
export function queryditchInfo (data) {
  return request({
    url: '/business/hhsxLakeInfo/queryditchInfo',
    method: 'post',
    data: data
  })
}
// 查询水情雨情港渠水质数据
export function hhsxLakeInfoQueryWaterQuality (data) {
  return request({
    url: '/business/hhsxLakeInfo/queryWaterQuality',
    method: 'post',
    data: data
  })
}
// 查询水情雨情港渠水位
export function hhsxLakeInfoQueryWaterlevel (data) {
  return request({
    url: '/business/hhsxLakeInfo/queryWaterlevel',
    method: 'post',
    data: data
  })
}
//查询水情雨情水位和降雨量
export function hhsxLakeInfoQueryWaterdetail (data) {
  return request({
    url: '/business/hhsxLakeInfo/queryWaterdetail',
    method: 'post',
    data: data
  })
}
//查询水情雨情河湖长制
export function hhsxLakeInfoQueryhhzDetail (data) {
  return request({
    url: '/business/hhsxLakeInfo/queryhhzDetail',
    method: 'post',
    data: data
  })
}
// 管网统计数据
export function queryPipelineAssets (data) {
  return request({
    url: '/business/pipelineChart/queryPipelineAssets',
    method: 'post',
    data: data
  })
}
// 管网左侧eharts图表数据
export function queryPipelineLevel (data) {
  return request({
    url: '/business/pipelineChart/queryPipelineLevel',
    method: 'post',
    data: data
  })
}
//管网液位eharts图表数据
export function queryPipelineMonitorLiquid (data) {
  return request({
    url: '/business/pipelineChart/queryPipelineMonitorLiquid',
    method: 'post',
    data: data
  })
}
//管网雨量监测eharts图表数据
export function queryPipelineMonitorRain (data) {
  return request({
    url: '/business/pipelineChart/queryPipelineMonitorRain',
    method: 'post',
    data: data
  })
}
//管网雨量监测eharts下拉框数据
export function queryStationbase (data) {
  return request({
    url: '/business/pipelineChart/queryStationbase',
    method: 'post',
    data: data
  })
}
// 视频监控类型
export function cameraGroupList (data) {
  return request({
    url: '/business/camera/oneMap/group/list',
    method: 'post',
    data: data
  })
}
//查看图片分组个数
export function listPictureType (data) {
  return request({
    url: '/business/camera/oneMap/cameraPic/countByPictureType',
    method: 'post',
    data: data
  })
}
//获取抓拍图片列表
export function cameraImgList (id) {
  return request({
    url: `/business/cameraInfo/${id}`,
    method: 'get',
  })
}
//获取在线离线数据
export function listCameraStatus (data) {
  return request({
    url: '/business/camera/oneMap/groupRelation/listCameraStatus',
    method: 'post',
    data: data
  })
}
//获取在线离线数据
export function listCameraInfoByCameraStatus (data) {
  return request({
    url: "/business/camera/oneMap/groupRelation/listCameraInfoByCameraStatus",
    method: 'post',
    data: data
  })
}
//查询所有摄像头最新图片集合
export function listByLateTime (data) {
  return request({
    url: '/business/cameraPicture/listByLateTime',
    method: 'post',
    data: data
  })
}

export function layerManagementList (query) {
  return request({
    url: '/business/layerManagement/list',
    method: 'get',
    params: query
  })
}

export function layerManagementLists (query) {
  return request({
    url: '/business/layerManagement/lists',
    method: 'get',
    params: query
  })
}

export function waterSourceRelationList (query) {
  return request({
    url: '/business/waterSourceRelation/list',
    method: 'get',
    params: query
  })
}

export const cameraInfoALL = () => {
  return request({
    url: `/business/camera/oneMap/cameraInfo/getAll`,
    method: "get"
  });
};