import http from '@/http/api.js' import { dataCenterUrl } from '@/common/setting.js' //每日8时超汛 根据行政区划 -----对应实时汛情区域超汛分布柱状图 export const dayEightOverLimit = (params) => { //http://10.10.2.192/services/1234567890ABCDEFGHIJKLMN/res_water_over_scale return http.request({ url: dataCenterUrl + '/1234567890ABCDEFGHIJKLMN/res_water_over_scale', method: 'GET', params }) } //超汛幅度分布 ------对应超汛幅度分布柱状图 export const dayEightOverLimitDetail = (params) => { //http://10.10.2.192/services/1234567890ABCDEFGHIJKLMN/over_z_group/param return http.request({ url: dataCenterUrl + '/1234567890ABCDEFGHIJKLMN/over_z_group/param', method: 'GET', params }) } //实时水位-----对应水库详情水位过程线 export const reservoirRealtimeSw = (params) => { //可传参res_cd,res_nm,st_cd,st_nm,city_cd,county_cd //http://10.10.2.192/services/1234567890ABCDEFGHIJKLMN/res_z_detail/param return http.request({ url: dataCenterUrl + '/1234567890ABCDEFGHIJKLMN/res_z_detail/param', method: 'GET', params }) } //实时监控水库列表 export const reservoirList = (pageSize, pageNo, params) => { //http://10.10.2.192/services/1234567890ABCDEFGHIJKLMN/res_list_info_all/api //http://10.10.2.192/services/1234567890ABCDEFGHIJKLMN/res/main_st/rsvr return http.request({ url: dataCenterUrl + '/1234567890ABCDEFGHIJKLMN/res/main_st/rsvr', method: 'GET', params: { ...params, pageSize, pageNo } }) } //水库统计数据 export const reservoirNumStatistic = (params) => { //http://10.10.2.192/services/1234567890ABCDEFGHIJKLMN/ad_cd/group/api return http.request({ url: dataCenterUrl + '/1234567890ABCDEFGHIJKLMN/ad_cd/group/api', method: 'GET', params }) } //超汛限统计数据 export const reservoirOverLimitNumStatistic = (params) => { //http://10.10.2.192/services/1234567890ABCDEFGHIJKLMN/res_over_z/day/api return http.request({ url: dataCenterUrl + '/1234567890ABCDEFGHIJKLMN/res_over_z/day/api', method: 'GET', params }) } //行政区划 水库数量 export const reservoirNumRegion = (params) => { //http://10.10.2.192/services/1234567890ABCDEFGHIJKLMN/ad_cd/group/api return http.request({ url: dataCenterUrl + '/1234567890ABCDEFGHIJKLMN/ad_cd/group/api', method: 'GET', params }) } //监测数据 export const reservoirMonitorNumRegion = (params) => { //http://10.10.2.192/services/1234567890ABCDEFGHIJKLMN/ad_st_res_cnt/api return http.request({ url: dataCenterUrl + '/1234567890ABCDEFGHIJKLMN/ad_st_res_cnt/api', method: 'GET', params }) } //水库详情 export const reservoirDetail = (params) => { //http://10.10.2.192/services/1234567890ABCDEFGHIJKLMN/att_res_base/api return http.request({ url: dataCenterUrl + '/1234567890ABCDEFGHIJKLMN/att_res_base/api', method: 'GET', params, header: { enableCache: 'false', }, }) } //获取水库详情-图像信息 export const getReservoirImage = (params) => { //http://10.10.2.192/services/1234567890ABCDEFGHIJKLMN/res_imagest_r/api //http://10.10.2.192/services/1234567890ABCDEFGHIJKLMN/wmst_imagest_r/api return http.request({ url: dataCenterUrl + '/1234567890ABCDEFGHIJKLMN/wmst_imagest_r/api', method: "GET", params }) } //获取水库详情-基本信息---基本资料 export const getReservoirBasicInfo = (params) => { //http://10.10.2.192/services/1234567890ABCDEFGHIJKLMN/att_res_stag_char/api return http.request({ url: dataCenterUrl + '/1234567890ABCDEFGHIJKLMN/att_res_stag_char/api', method: "get", header: { enableCache: 'false', }, params }) } //获取水库详情-基本信息---水位库容曲线 export const getReservoirSwKrLine = (params) => { //http://10.10.2.192/services/1234567890ABCDEFGHIJKLMN/att_res_stag_cap_disc/api return http.request({ url: dataCenterUrl + '/1234567890ABCDEFGHIJKLMN/att_res_stag_cap_disc/api', method: "get", params }) } //获取超汛限水库数量 export const getSKResInfoZRainApi = (params) => { ///services/1234567890ABCDEFGHIJKLMN/res/over_cnt return http.request({ url: dataCenterUrl + '/1234567890ABCDEFGHIJKLMN/res/over_cnt', method: "get", params }) } //获取图像站数据 export const getStation = (params) => { return http.request({ url: dataCenterUrl + '/1234567890ABCDEFGHIJKLMN/res_imagest/api', method: "get", params }) } //获取该水库图像、视频站信息 export const getReservoirVideoImageStation = (params) => { //http://10.10.2.192/services/1234567890ABCDEFGHIJKLMN/res_func_detail/api return http.request({ url: dataCenterUrl + '/1234567890ABCDEFGHIJKLMN/res_func_detail/api', method: 'GET', params }) } export const getRsbNorspiData = (params) => { return http.request({ url: dataCenterUrl + '/1234567890ABCDEFGHIJKLMN/att_res_rsb_norspi/api', method: 'GET', header: { enableCache: 'false', }, params }) } //获取实时超汛统计数据 export const realTimeOverStatistics = (params) => { //http://10.10.2.192/services/1234567890ABCDEFGHIJKLMN/over_z_last/eng_scal return http.request({ url: dataCenterUrl + '/1234567890ABCDEFGHIJKLMN/over_z_last/eng_scal', method: 'GET', params }) }