echart双轴处理

This commit is contained in:
仲么了
2024-01-11 16:06:05 +08:00
parent f1c76b7ac6
commit 2179999b04
7 changed files with 421 additions and 63 deletions

View 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
})
}

View 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
),
})
}