From 14743bf189e42dbd649607751c1f0b5ffcc91da3 Mon Sep 17 00:00:00 2001
From: chendaze <1824191732@qq.com>
Date: Fri, 22 Mar 2024 08:42:24 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BA=86=E5=B1=95=E5=8E=85?=
=?UTF-8?q?=E8=AF=A6=E6=83=85=E9=A1=B5=E9=9D=A2=EF=BC=8C=E4=BF=AE=E6=94=B9?=
=?UTF-8?q?=E4=BA=86=E8=AE=BE=E5=A4=87=E7=AE=A1=E7=90=86=E5=85=B3=E8=81=94?=
=?UTF-8?q?=E7=94=A8=E6=88=B7=E9=A1=B5=E9=9D=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/admin/meeting/equipment.js | 17 ++
src/views/admin/meeting/EquipmentList.vue | 87 ++++++-
.../admin/meeting/ShowroomRecordInfo.vue | 196 ++++++++++++++++
.../admin/meeting/ShowroomRecordList.vue | 7 +
.../admin/meeting/modules/EquipmentModal.vue | 214 +++++++++++-------
.../meeting/modules/ShowroomRecordModal.vue | 6 -
6 files changed, 441 insertions(+), 86 deletions(-)
create mode 100644 src/views/admin/meeting/ShowroomRecordInfo.vue
diff --git a/src/api/admin/meeting/equipment.js b/src/api/admin/meeting/equipment.js
index fc2d5bc..697c233 100644
--- a/src/api/admin/meeting/equipment.js
+++ b/src/api/admin/meeting/equipment.js
@@ -20,6 +20,23 @@ export function get (id) {
})
}
+export function recordByDeviceId (id) {
+ return axios({
+ url: api.equipment + '/recordByDeviceId/'+id,
+ method: 'get',
+ params: {}
+ })
+}
+
+export function getUserList(){
+ return axios({
+ url: api.equipment + '/getUserList',
+ method: 'get',
+ params: {}
+ })
+}
+
+
export function saveEquipment (parameter) {
return axios({
url: api.equipment + (parameter.id > 0 ? '/update' : '/save'),
diff --git a/src/views/admin/meeting/EquipmentList.vue b/src/views/admin/meeting/EquipmentList.vue
index 9d139eb..c6fc766 100644
--- a/src/views/admin/meeting/EquipmentList.vue
+++ b/src/views/admin/meeting/EquipmentList.vue
@@ -53,6 +53,9 @@
损坏
离线
+
+ {{ 1 }}
+
编辑
@@ -60,15 +63,50 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 查询
+ (personQueryParam = {})'>重置
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/admin/meeting/ShowroomRecordList.vue b/src/views/admin/meeting/ShowroomRecordList.vue
index a9f16a9..f12870e 100644
--- a/src/views/admin/meeting/ShowroomRecordList.vue
+++ b/src/views/admin/meeting/ShowroomRecordList.vue
@@ -38,6 +38,8 @@
查看
+ 详情
+
编辑
删除
@@ -166,6 +168,11 @@
})
},
methods: {
+ handleInfo(record){
+ this.$router.push({ name: 'showroomRecordInfo', query: { id: record.id } })
+
+ },
+
onSelectChange (selectedRowKeys, selectedRows) {
this.selectedRowKeys = selectedRowKeys
this.selectedRows = selectedRows
diff --git a/src/views/admin/meeting/modules/EquipmentModal.vue b/src/views/admin/meeting/modules/EquipmentModal.vue
index f11d5d7..49e69e5 100644
--- a/src/views/admin/meeting/modules/EquipmentModal.vue
+++ b/src/views/admin/meeting/modules/EquipmentModal.vue
@@ -2,7 +2,7 @@
-
-
-
-
-
-
-
-
-
- 门禁
-
-
- 开门控制器
-
-
-
-
-
-
-
-
-
- {{ item.floorName }}
-
-
-
-
-
-
- {{ item.name }}
-
-
-
-
-
-
-
-
-
- 开启
-
-
- 损坏
-
-
- 离线
-
-
-
-
-
-
-
-
-
-
+
+ |
+ 新增设备
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 门禁
+
+
+ 开门控制器
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ item.floorName }}
+
+
+
+
+
+
+
+
+ {{ item.name }}
+
+
+
+
+
+
+
+
+
+
+ 开启
+
+
+ 损坏
+
+
+ 离线
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ |
+ 开门记录
+
+
+ {{ text }}
+
+
+