diff --git a/src/api/cs-device-boot/EquipmentDelivery.ts b/src/api/cs-device-boot/EquipmentDelivery.ts index 463e7e5..4b585bc 100644 --- a/src/api/cs-device-boot/EquipmentDelivery.ts +++ b/src/api/cs-device-boot/EquipmentDelivery.ts @@ -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 }) -} +} \ No newline at end of file diff --git a/src/views/govern/device/control/index.vue b/src/views/govern/device/control/index.vue index b55aed1..0d9d124 100644 --- a/src/views/govern/device/control/index.vue +++ b/src/views/govern/device/control/index.vue @@ -207,9 +207,9 @@
- + 实时趋势 @@ -225,9 +225,9 @@ - + - +
@@ -244,7 +244,6 @@
-