From dc00ac0ed40a7eda30b5b5efd19de01433af61d3 Mon Sep 17 00:00:00 2001
From: limqhz <540344226@qq.com>
Date: Wed, 13 Dec 2023 21:25:47 +0800
Subject: [PATCH] =?UTF-8?q?=E7=AF=AE=E7=90=83=E8=AE=BE=E5=A4=87=E5=A2=9E?=
=?UTF-8?q?=E5=8A=A0=E4=B8=8A=E4=BC=A0=E6=97=A5=E5=BF=97=E5=8A=9F=E8=83=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/device.js | 6 ++++++
src/views/device/index.vue | 24 +++++++++++++++++++++---
src/views/venue/edit.vue | 17 ++++++++++++++++-
src/views/venue/index.vue | 12 ++++++------
4 files changed, 49 insertions(+), 10 deletions(-)
diff --git a/src/api/device.js b/src/api/device.js
index 4283527..aa899f9 100644
--- a/src/api/device.js
+++ b/src/api/device.js
@@ -18,7 +18,13 @@ export function adminEnter(id) {
export function adminOut(id) {
return http.post('/device/admin/out/' + id)
}
+export function uploadLog(id) {
+ return http.post('/device/upload/log/' + id)
+}
+export function checkAlive(id) {
+ return http.post('/device/checkAlive/' + id)
+}
/**
* 删除门禁设备
*/
diff --git a/src/views/device/index.vue b/src/views/device/index.vue
index bbe68e7..f2efb09 100644
--- a/src/views/device/index.vue
+++ b/src/views/device/index.vue
@@ -46,8 +46,10 @@
- 管理员进场
- 管理员出场
+ 上传日志(bug)
+
+
+ 打印临时卡凭证
@@ -56,7 +58,7 @@