From a6799f09f8197d8e1507e793ce0ad3d47b11190d Mon Sep 17 00:00:00 2001
From: tx <2622874537@qq.com>
Date: Tue, 7 Jan 2025 18:00:36 +0800
Subject: [PATCH] =?UTF-8?q?=E6=88=BF=E9=97=B4=E8=AF=A6=E6=83=85?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/router/index.js | 17 ++++++++++++++++-
src/views/system/room/index.vue | 3 +++
2 files changed, 19 insertions(+), 1 deletion(-)
diff --git a/src/router/index.js b/src/router/index.js
index 4b54d13..3d541e1 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -162,6 +162,20 @@ export const dynamicRoutes = [
}
]
},
+ {
+ path: '/system/roomDetail',
+ component: Layout,
+ hidden: true,
+ permissions: ['system:room:list'],
+ children: [
+ {
+ path: 'detail/:roomId(\\d+)',
+ component: () => import('@/views/system/room/room_detail'),
+ name: 'RoomDetail',
+ meta: { title: '房间详情', activeMenu: '/system/room' }
+ }
+ ]
+ },
{
path: '/system/device/sn',
component: Layout,
@@ -245,7 +259,8 @@ export const dynamicRoutes = [
meta: { title: '用户详情', activeMenu: '/user/user' }
}
]
- }
+ },
+
]
// 防止连续点击多次路由报错
diff --git a/src/views/system/room/index.vue b/src/views/system/room/index.vue
index ac848b3..98a59c2 100644
--- a/src/views/system/room/index.vue
+++ b/src/views/system/room/index.vue
@@ -109,6 +109,9 @@
{{d.row[column.key]}}
+
+ {{d.row[column.key]}}
+