From 7386ea2a94d7743c5b344ad70349f45c2b05f8b8 Mon Sep 17 00:00:00 2001
From: Kven <2955163637@qq.com>
Date: Thu, 26 Dec 2024 11:08:15 +0800
Subject: [PATCH] =?UTF-8?q?feat(=E9=A6=96=E9=A1=B5=E5=B7=A5=E4=BD=9C?=
=?UTF-8?q?=E5=8F=B0):=20=E6=96=B0=E5=A2=9E=E9=A6=96=E9=A1=B5=E5=B7=A5?=
=?UTF-8?q?=E4=BD=9C=E5=8F=B0=E5=86=85=E5=AE=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
index.html | 4 +-
src/components/navbar/index.vue | 61 ++-
.../dashboard/workplace/components/banner.vue | 34 +-
.../workplace/components/data-panel.vue | 357 ++++++------------
src/views/dashboard/workplace/index.vue | 193 ++++++----
5 files changed, 301 insertions(+), 348 deletions(-)
diff --git a/index.html b/index.html
index a8bba25..e51dde7 100644
--- a/index.html
+++ b/index.html
@@ -3,9 +3,9 @@
-
+
- 票据管理系统
+ 物联网网关系统
diff --git a/src/components/navbar/index.vue b/src/components/navbar/index.vue
index 4e90c5a..9e894e6 100644
--- a/src/components/navbar/index.vue
+++ b/src/components/navbar/index.vue
@@ -2,17 +2,13 @@
-
+
- {{ $t('ticket.manage.system') }}
+ 物联网网关系统
-
-
+
-
-
-
+
+
+ -
+
+
+
+
+
+
+
+
+
+
-
-
- {{
- userStore.nickName
- }}
-
@@ -182,6 +200,7 @@ import Menu from '@/components/menu/index.vue';
import userIcon from '@/assets/images/user-circle.png';
import { useRouter } from 'vue-router';
import { clearToken } from '@/utils/auth';
+import messageBox from '@/components/message-box/index.vue';
const router = useRouter();
const appStore = useAppStore();
@@ -208,8 +227,16 @@ const isDark = useDark({
appStore.toggleTheme(dark);
},
});
+const refBtn = ref();
const toggleTheme = useToggle(isDark);
-
+const setPopoverVisible = () => {
+ const event = new MouseEvent('click', {
+ view: window,
+ bubbles: true,
+ cancelable: true,
+ });
+ refBtn.value.dispatchEvent(event);
+};
const handleToggleTheme = () => {
toggleTheme();
};
diff --git a/src/views/dashboard/workplace/components/banner.vue b/src/views/dashboard/workplace/components/banner.vue
index 2aac36b..00b5534 100644
--- a/src/views/dashboard/workplace/components/banner.vue
+++ b/src/views/dashboard/workplace/components/banner.vue
@@ -10,26 +10,26 @@
diff --git a/src/views/dashboard/workplace/components/data-panel.vue b/src/views/dashboard/workplace/components/data-panel.vue
index b96dc8b..43d8999 100644
--- a/src/views/dashboard/workplace/components/data-panel.vue
+++ b/src/views/dashboard/workplace/components/data-panel.vue
@@ -1,238 +1,131 @@
-
-
-
-
-
-
-
-
-
- {{ $t('workplace.pecs') }}
-
-
-
-
-
-
-
-
-
-
-
- {{ $t('workplace.pecs') }}
-
-
-
-
-
-
-
-
-
-
-
- {{ $t('workplace.pecs') }}
-
-
-
-
-
-
-
-
-
-
-
- {{ $t('workplace.pecs') }}
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ W+ {{ $t('workplace.pecs') }}
+
+
+
+
+
+
+
+
+
+
+
+ {{ $t('workplace.pecs') }}
+
+
+
+
+
+
+
+
+
+
+
+ {{ $t('workplace.pecs') }}
+
+
+
+
+
+
+
+
+
+
+ %
+
+
+
+
+
+
+
-
+
diff --git a/src/views/dashboard/workplace/index.vue b/src/views/dashboard/workplace/index.vue
index 2eb930a..2cce702 100644
--- a/src/views/dashboard/workplace/index.vue
+++ b/src/views/dashboard/workplace/index.vue
@@ -1,105 +1,138 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+