From b54577377965295b2e8b3d8c3f4f4a2c2599d500 Mon Sep 17 00:00:00 2001 From: zch Date: Fri, 30 May 2025 09:10:35 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E8=B0=83=E6=95=B4=E7=8E=AF=E5=A2=83?= =?UTF-8?q?=E5=8F=82=E6=95=B0=E6=98=BE=E7=A4=BA=E9=A1=BA=E5=BA=8F=E5=92=8C?= =?UTF-8?q?=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 更新监测字段(0温度,1湿度,2振动-速度(mm/s),3振动-位移(um),4振动-加速度(g),5振动-温度(℃),6-噪音,7-照度,8-气体浓度) --- src/layout/components/Navbar.vue | 10 +++++----- src/views/index.vue | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue index c454b5f..fc9bcb8 100644 --- a/src/layout/components/Navbar.vue +++ b/src/layout/components/Navbar.vue @@ -689,10 +689,10 @@ export default { return deviceParam.vibrationAcceleration || deviceParam.VibrationAcceleration case 5: // 振动-温度(℃) return deviceParam.vibrationTemp || deviceParam.VibrationTemp - case 6: // 照度 - return deviceParam.illuminance - case 7: // 噪声 + case 6: // 噪音 return deviceParam.noise + case 7: // 照度 + return deviceParam.illuminance case 8: // 气体浓度 return deviceParam.concentration default: @@ -761,8 +761,8 @@ export default { 3: '振动-位移(um)', 4: '振动-加速度(g)', 5: '振动-温度(℃)', - 6: '照度', - 7: '噪声', + 6: '噪音', + 7: '照度', 8: '气体浓度' } return fieldMap[fieldCode] || '未知字段' diff --git a/src/views/index.vue b/src/views/index.vue index aa56ff1..692b44d 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -651,10 +651,10 @@ export default { return deviceParam.vibrationAcceleration || deviceParam.VibrationAcceleration case 5: // 振动-温度(℃) return deviceParam.vibrationTemp || deviceParam.VibrationTemp - case 6: // 照度 - return deviceParam.illuminance - case 7: // 噪声 + case 6: // 噪音 return deviceParam.noise + case 7: // 照度 + return deviceParam.illuminance case 8: // 气体浓度 return deviceParam.concentration default: @@ -672,8 +672,8 @@ export default { 3: '振动-位移(um)', 4: '振动-加速度(g)', 5: '振动-温度(℃)', - 6: '照度', - 7: '噪声', + 6: '噪音', + 7: '照度', 8: '气体浓度' } return fieldMap[fieldCode] || '未知字段'