From 09c46b17bb25049acebf7fe237eeec4d7eef7f62 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E7=86=8A=E4=B8=BD=E5=90=9B?= <664953382@qq.com>
Date: Thu, 8 Jul 2021 13:52:38 +0800
Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E5=A4=87=E6=B7=BB=E5=8A=A0=E9=81=A5?=
=?UTF-8?q?=E8=B0=83=E9=81=A5=E6=8E=A7=E5=8A=9F=E8=83=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/hardware/device.js | 9 +++
src/views/hardware/device/detail.vue | 112 ++++++++++++++++++++++++++-
2 files changed, 120 insertions(+), 1 deletion(-)
diff --git a/src/api/hardware/device.js b/src/api/hardware/device.js
index 8929c6f..4b6b336 100644
--- a/src/api/hardware/device.js
+++ b/src/api/hardware/device.js
@@ -105,3 +105,12 @@ export function getKeyHistory(data) {
data
});
}
+
+// 遥调/遥控
+export function updateValue(data) {
+ return request({
+ url: '/bluetooth/updateValue',
+ method: 'post',
+ data
+ });
+}
diff --git a/src/views/hardware/device/detail.vue b/src/views/hardware/device/detail.vue
index dcfe540..b217473 100644
--- a/src/views/hardware/device/detail.vue
+++ b/src/views/hardware/device/detail.vue
@@ -71,6 +71,62 @@
signalUpdateTime | formatDate
}}
点击输入
+
+
+ 更多菜单
+
+
+
+ 0
+ 1
+ 2
+ 3
+
+
+ 0
+ 1
+
+
+ 设备重置
+ 历史性能