guoshilong
2023-10-27 2311b03aee9db1bebacdd2ced13c071efda6a011
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
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
    })
}