From 538b69583059ee95728d0cd4ff8024321c930f6d Mon Sep 17 00:00:00 2001 From: wenshijun Date: Wed, 15 Apr 2026 14:23:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=93=E5=BA=93=E4=BC=A0=E6=84=9F=E5=99=A8?= =?UTF-8?q?=E8=AF=A6=E6=83=85=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.js | 13 + src/views/index.vue | 198 ++++- src/views/worn/warehouseDashboard/index.vue | 891 ++++++++++++++++++++ 3 files changed, 1096 insertions(+), 6 deletions(-) create mode 100644 src/views/worn/warehouseDashboard/index.vue diff --git a/src/router/index.js b/src/router/index.js index 07302ad..ebd78d9 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -83,6 +83,19 @@ export const constantRoutes = [ meta: { title: '个人中心', icon: 'user' } } ] + }, + { + path: '/worn/warehouse-dashboard', + component: Layout, + hidden: true, + children: [ + { + path: '', + component: () => import('@/views/worn/warehouseDashboard/index'), + name: 'WarehouseDashboard', + meta: { title: '仓库传感器看板', activeMenu: '/index' } + } + ] } ] diff --git a/src/views/index.vue b/src/views/index.vue index 3074507..b5245ff 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -13,6 +13,14 @@ +
+
+ WebSocket + 实时消息 +

{{ tickerMessage }}

+
+
+
{{ item.icon }}
@@ -76,7 +84,12 @@ 在线率 状态
-
+