feat : 新增echarts中指定日期展示及细节优化
This commit is contained in:
@@ -22,24 +22,39 @@ export const getTunnelBySiteId = (siteId) => {
|
||||
})
|
||||
}
|
||||
// 传感器echarts数据
|
||||
export const getEchartsInfo = (equipmentId,type) => {
|
||||
export const getEchartsInfo = (id,time,type) => {
|
||||
return request({
|
||||
url: `/tunnel/large/screen/echarts/sensor/${equipmentId}/${type}`,
|
||||
method: 'get'
|
||||
url: '/tunnel/large/screen/echarts/sensor',
|
||||
method: 'get',
|
||||
params: {
|
||||
id: id,
|
||||
time: time,
|
||||
type: type
|
||||
}
|
||||
})
|
||||
}
|
||||
// 有害气体echarts数据
|
||||
export const getBadGasEchartsInfo = (tunnelId,type) => {
|
||||
export const getBadGasEchartsInfo = (id,time,type) => {
|
||||
return request({
|
||||
url: `/tunnel/large/screen/echarts/gas/sensor/${tunnelId}/${type}`,
|
||||
method: 'get'
|
||||
url: '/tunnel/large/screen/echarts/gas/sensor/',
|
||||
method: 'get',
|
||||
params: {
|
||||
id: id,
|
||||
time: time,
|
||||
type: type
|
||||
}
|
||||
})
|
||||
}
|
||||
//电流监控数据
|
||||
export const getFanEchartsInfo = (equipmentId,type) => {
|
||||
export const getFanEchartsInfo = (id,time,type) => {
|
||||
return request({
|
||||
url: `/tunnel/large/screen/echarts/current/${equipmentId}/${type}`,
|
||||
method: 'get'
|
||||
url: '/tunnel/large/screen/echarts/current',
|
||||
method: 'get',
|
||||
params: {
|
||||
id: id,
|
||||
time: time,
|
||||
type: type
|
||||
}
|
||||
})
|
||||
}
|
||||
//风机频率修改
|
||||
|
||||
Reference in New Issue
Block a user