From 958a74101ea4c3c2b094d6c0aa09cccf04e97a7a Mon Sep 17 00:00:00 2001 From: liub Date: Thu, 14 Aug 2025 17:25:53 +0800 Subject: [PATCH] =?UTF-8?q?650=E5=85=A8=E5=B1=80=E8=93=9D=E7=89=99?= =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.vue | 8 +- components/global-loading/global-loading.vue | 198 +++++ pages/6155/deviceDetail.vue | 6 +- pages/650/HBY650.vue | 854 +++++++++++-------- static/images/6155/DeviceDetail/warnning.png | Bin 0 -> 2519 bytes static/images/BLEAdd/addBleDevice.png | Bin 0 -> 867 bytes utils/BleHelper.js | 77 +- utils/loading.js | 38 + 8 files changed, 776 insertions(+), 405 deletions(-) create mode 100644 components/global-loading/global-loading.vue create mode 100644 static/images/6155/DeviceDetail/warnning.png create mode 100644 static/images/BLEAdd/addBleDevice.png create mode 100644 utils/loading.js diff --git a/App.vue b/App.vue index c790493..3a29b8e 100644 --- a/App.vue +++ b/App.vue @@ -1,12 +1,12 @@ + + \ No newline at end of file diff --git a/pages/6155/deviceDetail.vue b/pages/6155/deviceDetail.vue index ef5ba38..6f5c539 100644 --- a/pages/6155/deviceDetail.vue +++ b/pages/6155/deviceDetail.vue @@ -247,12 +247,14 @@ } } }, - + onUnload() { + ble.removeReceiveCallback(this); + }, onLoad: function() { var these = this; let eventChannel = this.getOpenerEventChannel(); - //eventChannel.on('detailData', function(data) { + //eventChannel.on('deviceControl', function(data) { let data = { data: { diff --git a/pages/650/HBY650.vue b/pages/650/HBY650.vue index f79f23a..ee115e4 100644 --- a/pages/650/HBY650.vue +++ b/pages/650/HBY650.vue @@ -2,7 +2,7 @@ - + @@ -22,57 +22,51 @@ - - - 照明档位 - {{formData.RSSI}} - 探测档位 - {{formData.statu}} + 设备名称 + {{formData.deviceName}} 预警级别 {{formData.warnLevel}} - + - 低档 - 中档 - 高档 - 关闭 - + @@ -82,7 +76,7 @@ - @@ -95,16 +89,16 @@ - + 人员信息登记 - + - + 发送 @@ -112,19 +106,19 @@ 单位: - + 姓名: - + 职位: - + ID号: - + @@ -165,21 +159,25 @@ - +