echart双轴处理
This commit is contained in:
15
src/api/cs-device-boot/capacity.ts
Normal file
15
src/api/cs-device-boot/capacity.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
import createAxios from '@/utils/request'
|
||||
|
||||
// 更新组和指标关系
|
||||
export function getDevCapacity(devId: string) {
|
||||
let form = new FormData()
|
||||
form.append('id', devId)
|
||||
return createAxios({
|
||||
url: '/cs-device-boot/capacity/getDevCapacity',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
data: form
|
||||
})
|
||||
}
|
||||
20
src/api/cs-harmonic-boot/stable.ts
Normal file
20
src/api/cs-harmonic-boot/stable.ts
Normal file
@@ -0,0 +1,20 @@
|
||||
import createAxios from '@/utils/request'
|
||||
|
||||
// 更新组和指标关系
|
||||
export function queryCommonStatisticalByTime(data: any) {
|
||||
return createAxios({
|
||||
url: '/cs-harmonic-boot/stable/queryCommonStatisticalByTime',
|
||||
method: 'post',
|
||||
data: Object.assign(
|
||||
{
|
||||
devId: '',
|
||||
endTime: '',
|
||||
frequency: '',
|
||||
startTime: '',
|
||||
statisticalId: '',
|
||||
valueType: '',
|
||||
},
|
||||
data
|
||||
),
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user