设备监控-治理设备添加值类型选择
This commit is contained in:
@@ -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
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user