实时数据-实时趋势页面调试
This commit is contained in:
@@ -25,24 +25,56 @@ export function getTabsDataByType(data: any) {
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
//获取实时数据列表数据
|
||||
export function getRealTimeTableList() {
|
||||
return createAxios({
|
||||
url: '/cs-device-boot/csGroup/getGroupPortableStatistical',
|
||||
method: 'GET'
|
||||
})
|
||||
}
|
||||
|
||||
//离线数据导入
|
||||
export function uploadOffLineDataFile(data: any) {
|
||||
return createAxios({
|
||||
headers: {
|
||||
'Content-Type': 'multipart/form-data'
|
||||
},
|
||||
url: '/cs-device-boot/portableOfflLog/importEquipment',
|
||||
method: 'POST',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
//查询实时数据中实时趋势中指标分组
|
||||
export function getDeviceTrendDataGroup() {
|
||||
return createAxios({
|
||||
url: '/cs-device-boot/csGroup/getDeviceTrendDataGroup',
|
||||
method: 'GET',
|
||||
})
|
||||
}
|
||||
|
||||
//根据指标分组查询实时数据中实时趋势
|
||||
export function getDeviceTrendData(query: any) {
|
||||
return createAxios({
|
||||
url: '/cs-device-boot/csGroup/getDeviceTrendData',
|
||||
method: 'GET',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
//查询实时数据-谐波频谱-稳态指标
|
||||
export function getGroupPortableStatistical() {
|
||||
return createAxios({
|
||||
url: '/cs-device-boot/csGroup/getGroupPortableStatistical',
|
||||
method: 'GET',
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
//离线数据导入
|
||||
export function uploadOffLineDataFile(data: any) {
|
||||
//查询实时数据-谐波频谱
|
||||
export function getDeviceHarmonicSpectrumData(data: any) {
|
||||
return createAxios({
|
||||
headers: {
|
||||
'Content-Type': 'multipart/form-data',
|
||||
},
|
||||
url: '/cs-device-boot/portableOfflLog/importEquipment',
|
||||
url: '/cs-device-boot/csGroup/getDeviceHarmonicSpectrumData',
|
||||
method: 'POST',
|
||||
data,
|
||||
data:data
|
||||
})
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user