设备监控-治理设备添加值类型选择

This commit is contained in:
zhujiyan
2024-08-14 14:39:27 +08:00
parent 390252bf16
commit e9e8d61a67
4 changed files with 41 additions and 19 deletions

View File

@@ -1,7 +1,7 @@
import createAxios from '@/utils/request'
// 装置基础数据和模板数据
export function getDeviceData(deviceId: string, type: string, lineId = '') {
export function getDeviceData(deviceId: string, type: string, lineId:string) {
let form = new FormData()
form.append('deviceId', deviceId)
form.append('lineId', lineId)
@@ -49,7 +49,7 @@ export function uploadOffLineDataFile(data: any) {
export function getDeviceTrendDataGroup() {
return createAxios({
url: '/cs-device-boot/csGroup/getDeviceTrendDataGroup',
method: 'GET',
method: 'GET'
})
}
@@ -66,7 +66,7 @@ export function getDeviceTrendData(query: any) {
export function getGroupPortableStatistical() {
return createAxios({
url: '/cs-device-boot/csGroup/getGroupPortableStatistical',
method: 'GET',
method: 'GET'
})
}
@@ -75,6 +75,6 @@ export function getDeviceHarmonicSpectrumData(data: any) {
return createAxios({
url: '/cs-device-boot/csGroup/getDeviceHarmonicSpectrumData',
method: 'POST',
data:data
data: data
})
}
}

View File

@@ -41,6 +41,7 @@ export function deviceRtData(data: any) {
form.append('pageNum', data.pageNum)
form.append('pageSize', data.pageSize)
form.append('searchValue', data.searchValue)
form.append('dataLevel',data.dataLevel)
return createAxios({
url: '/cs-device-boot/csGroup/deviceRtData',
method: 'POST',