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
|
}
|
})
|
}
|