邓洁 : 有害气体echarts数据,切换站点与隧道数据渲染

This commit is contained in:
dengj
2023-12-18 14:38:40 +08:00
parent 61261eeee1
commit 24c54caca7
5 changed files with 147 additions and 68 deletions

View File

@@ -14,6 +14,13 @@ export const getLargeScreenInfo = () => {
method: 'get'
})
}
//通过站点id获取隧道信息
export const getTunnelBySiteId = (siteId) => {
return request({
url: `/tunnel/large/screen/tunnel/option/${siteId}`,
method: 'get'
})
}
// 风压echarts数据
export const getEchartsInfo = (equipmentId) => {
return request({
@@ -21,3 +28,10 @@ export const getEchartsInfo = (equipmentId) => {
method: 'get'
})
}
// 有害气体echarts数据
export const getBadGasEchartsInfo = (tunnelId) => {
return request({
url: `/tunnel/large/screen/echarts/gas/sensor/${tunnelId}`,
method: 'get'
})
}