diff --git a/src/api/largeScreen.js b/src/api/largeScreen.js index b83c3f7..45c92b0 100644 --- a/src/api/largeScreen.js +++ b/src/api/largeScreen.js @@ -42,3 +42,27 @@ export const getFanEchartsInfo = (equipmentId) => { method: 'get' }) } +//风机频率修改 +export const editFrequency = (data) => { + return request({ + url: '/tunnel/large/screen/frequency', + method: 'put', + data + }) +} +//风机运行模式切换 +export const editFrequencyModelSwitch = (data) => { + return request({ + url: '/tunnel/large/screen/model/switch', + method: 'post', + data + }) +} +//风机开关切换 +export const editFrequencyOperationSwitch = (data) => { + return request({ + url: '/tunnel/large/screen/operation/switch', + method: 'post', + data + }) +} diff --git a/src/components/content/airInfo/AirInfo.vue b/src/components/content/airInfo/AirInfo.vue index ead7cf5..300de33 100644 --- a/src/components/content/airInfo/AirInfo.vue +++ b/src/components/content/airInfo/AirInfo.vue @@ -238,8 +238,7 @@ const initChart = (type, values) => { let content = `
${params[0].name}
-
进风口: ${params[0].value}
-
出风口: ${params[1].value}
+
${params[0].value}
`; return content; }, diff --git a/src/components/content/fanInfo/FanInfo.vue b/src/components/content/fanInfo/FanInfo.vue index 5268939..d904d17 100644 --- a/src/components/content/fanInfo/FanInfo.vue +++ b/src/components/content/fanInfo/FanInfo.vue @@ -24,14 +24,14 @@
启动
停止
@@ -39,20 +39,27 @@
- + 自动 手动
- 当前功率 - + 给定频率 + + + + + + + + + + +
@@ -108,10 +115,16 @@