Newer
Older
KaiFengPC / src / api / newPageline / riverCapacity.js
@鲁yixuan 鲁yixuan on 19 Aug 2 KB updata
import request from '@/utils/request';

// 搜索河道水位调蓄信息
export function riverCapacityList() {
  return request({
    url: '/sponge/riverCapacity/riverCapacityByZ',
    method: 'get',
  });
}

// 搜索降雨日历信息
export function rainTimeDay(params) {
  return request({
    url: '/business/rainTimeAnalysis/rainTimeDay',
    method: 'get',
    params,
  });
}

// 搜索监测告警
export function moniterRealtimeWarnData() {
  return request({
    url: '/business/preventFlood/oneMap/surveillance/moniterRealtimeWarnData',
    method: 'get',
  });
}

// 管网资产统计
export function getPipelineSumByTexture() {
  return request({
    url: '/business/pipelineInfo/getPipelineSumByTexture',
    method: 'get',
  });
}
// 列表搜索排水防涝-人工化验-内河水体人工化验采集
export function artificialInlandRiversWaterList(query) {
  return request({
    url: '/business/artificialInlandRiversWater/list',
    method: 'get',
    params: query,
  });
}

//分页搜索排水防涝-人工化验-内河水体人工化验采集
export function artificialInlandRiversWaterPage(query) {
  return request({
    url: '/business/artificialInlandRiversWater/page',
    method: 'get',
    params: query,
  });
}

//新增排水防涝-人工化验-内河水体人工化验采集
export function artificialInlandRiversWaterAdd(data) {
  return request({
    url: `/business/artificialInlandRiversWater/add`,
    method: 'post',
    data: data,
  });
}

//修改排水防涝-人工化验-内河水体人工化验采集
export const waterQualitySampleInfoEdit = data => {
  return request({
    url: `/business/artificialInlandRiversWater/edit`,
    method: 'put',
    data,
  });
};

//删除排水防涝-人工化验-内河水体人工化验采集
export function artificialInlandRiversWaterDelete(ids) {
  return request({
    url: `/business/artificialInlandRiversWater/${ids}`,
    method: 'delete',
  });
}

//海绵城市规划建设管控落实情况
export function partitionCompleteCount(query) {
  return request({
    url: '/business/controlPartition/partitionCompleteCount',
    method: 'get',
    params: query,
  });
}

// 搜索一张图降雨日历
export function rainRainDaylist(query) {
  return request({
    url: '/business/rainTimeAnalysis/rainDaylist',
    method: 'get',
    params: query,
  });
}

export function rainRainlist(query) {
  return request({
    url: '/business/rainTimeAnalysis/list',
    method: 'get',
    params: query,
  });
}