From f34f3aa14ac205e65a0d33eb05554097bbd0f1e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8C=83=E9=B9=8F?= Date: Tue, 29 Apr 2025 16:43:12 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E8=85=BE=E8=AE=AF=E9=94=81=E8=81=94?= =?UTF-8?q?=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- constant/transportType.js | 16 ++-- pages/addDevice/addLockGuid.vue | 25 +----- pages/addDevice/distributionNetwork.vue | 107 +++++++++++------------- pages/addDevice/searchDevice.vue | 6 +- pages/feature/createAdmin.vue | 2 +- pages/feature/createCard.vue | 2 +- pages/feature/createFace.vue | 2 +- pages/feature/createFingerprint.vue | 2 +- pages/feature/createKey.vue | 2 +- pages/feature/createPalmVein.vue | 2 +- pages/feature/createRemote.vue | 2 +- stores/bluetooth.js | 100 +++++++++++++--------- 12 files changed, 136 insertions(+), 132 deletions(-) diff --git a/constant/transportType.js b/constant/transportType.js index 7effc3f..acfa808 100644 --- a/constant/transportType.js +++ b/constant/transportType.js @@ -1,7 +1,13 @@ export const transportType = { - TRANSPORT_BLUETOOTH: 0, - TRANSPORT_OFFLINE: 10, - TRANSPORT_GATEWAY: 20, - TRANSPORT_WIFI: 30, - TRANSPORT_TENCENT_YUN: 40 + TRANSPORT_BLUETOOTH: 10, + TRANSPORT_OFFLINE: 20, + TRANSPORT_GATEWAY: 30, + TRANSPORT_WIFI: 40, + TRANSPORT_TENCENT_YUN: 50, + TRANSPORT_WIFI_PRIORITY: 60, + TRANSPORT_BLUETOOTH_PRIORITY: 70 +} + +export const model = { + TENCENT_YUN_LOCK: 'XB007' } diff --git a/pages/addDevice/addLockGuid.vue b/pages/addDevice/addLockGuid.vue index b3accef..7c85489 100644 --- a/pages/addDevice/addLockGuid.vue +++ b/pages/addDevice/addLockGuid.vue @@ -12,22 +12,12 @@