From 31a5a78224121a68eca1385160c6f7d364960dbd Mon Sep 17 00:00:00 2001 From: Xiaoyu <3306310490@qq.com> Date: Wed, 5 Feb 2025 22:35:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BA=86=E6=A3=80=E6=B5=8B?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layout/AdminLayout.vue | 2 +- src/views/dashboard/index.vue | 13 +- src/views/monitor/environment/index.vue | 424 ++++++++++++++++++++++-- src/views/monitor/species/index.vue | 236 ++++++++++++- src/views/system/settings/index.vue | 75 +++-- 5 files changed, 682 insertions(+), 68 deletions(-) diff --git a/src/layout/AdminLayout.vue b/src/layout/AdminLayout.vue index aa8b726..85dab18 100644 --- a/src/layout/AdminLayout.vue +++ b/src/layout/AdminLayout.vue @@ -15,7 +15,7 @@ import { const router = useRouter(); const route = useRoute(); const isCollapse = ref(false); -const activeMenu = ref(route.path); // 初始化为当前路由路径 +const activeMenu = ref(route.path); // 初始化为当前路由路径 // 监听路由变化 watch( diff --git a/src/views/dashboard/index.vue b/src/views/dashboard/index.vue index e7e60ea..a0f6f2b 100644 --- a/src/views/dashboard/index.vue +++ b/src/views/dashboard/index.vue @@ -170,8 +170,8 @@ onMounted(() => { - @@ -192,10 +192,7 @@ onMounted(() => { - + - + 水质指标 - + - - + - + - + - - + @@ -131,7 +158,7 @@ const handleSave = (type: string) => { - + @@ -177,4 +204,4 @@ const handleSave = (type: string) => { box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); } } - \ No newline at end of file +