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
import http from '@/http/api.js'
import {
    dataCenterUrl
} from '@/common/setting.js'
 
//水库渗压数据
export const getSyDetail = (params) => {
    return http.request({
        url: dataCenterUrl + '/1234567890ABCDEFGHIJKLMN/details_osmotic_pressure/api',
        method: 'GET',
        params: {
            ...params
        }
    })
}
 
//渗压列表
export const getSyList = (params) => {
    return http.request({
        url: dataCenterUrl + '/1234567890ABCDEFGHIJKLMN/child/lastest_osmotic_pressure/api',
        method: 'GET',
        params: {
            ...params
        }
    })
}
 
//位移列表
export const getWyList = (params) => {
    return http.request({
        url: dataCenterUrl + '/1234567890ABCDEFGHIJKLMN/child/lastest_displacement/api',
        method: 'GET',
        params: {
            ...params
        }
    })
}
 
export const getSlList = (params) => {
    //http://10.10.2.192/services/1234567890ABCDEFGHIJKLMN/monitor/sl/api
    return http.request({
        url: dataCenterUrl + '/1234567890ABCDEFGHIJKLMN/monitor/sl/api',
        method: 'GET',
        params: {
            ...params
        }
    })
}
 
// 渗压监测明细
export const getSYBaseDetails = (params) => {
    return http.request({
        url: dataCenterUrl + "/1234567890ABCDEFGHIJKLMN/press/analyze/v1/api",
        method: 'GET',
        params: {
            ...params
        }
    })
}
 
//大坝预测数据
export const getDbFutureData = (params) => {
    return http.request({
        url: "/api/blade-nky/arimaPredict/arimaPredict/futureData",
        method: "get",
        params: {
            ...params
        }
    });
};
 
// 渗压设备列表
export const getDsmSpgSpprmpList = (params) => {
    return http.request({
        url: dataCenterUrl + "/1234567890ABCDEFGHIJKLMN/dsm_spg_spprmp_list/api",
        method: "get",
        params: {
            ...params
        }
    });
};
 
 
// 大坝渗流渗压最新数据
export const getLatestSySlData = (params) => {
    //http://10.10.2.192/services/1234567890ABCDEFGHIJKLMN/monitor/last/sy/api
    // http://10.10.2.192/services/1234567890ABCDEFGHIJKLMN/rel/sy_sl/api
    return http.request({
        url: dataCenterUrl + "/1234567890ABCDEFGHIJKLMN/rel/sy_sl/api",
        method: "get",
        params: {
            ...params
        }
    });
};
 
// 变形数据明细
export const getBXBaseDetails = (params) => {
    return http.request({
        url: dataCenterUrl + "/1234567890ABCDEFGHIJKLMN/wy/analyze/v1/api",
        method: "get",
        params: {
            ...params
        }
    })
}
 
//获取测站数据
export const getStationList = (params) => {
    // /1234567890ABCDEFGHIJKLMN/base/cd/api?res_cd=42011640018&cd_type=sy
    return http.request({
        url: dataCenterUrl + "/1234567890ABCDEFGHIJKLMN/base/cd/api",
        method: "get",
        params: {
            ...params
        }
    })
}