From b87be3f4fb48b68361f3ee13575a7a21755e7183 Mon Sep 17 00:00:00 2001 From: birt <2499248221@qq.com> Date: 星期日, 13 四月 2025 13:21:02 +0800 Subject: [PATCH] birtzhang --- zhitan-vue/src/layout/components/Navbar.vue | 6 ++++-- zhitan-vue/src/layout/index.vue | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/zhitan-vue/src/layout/components/Navbar.vue b/zhitan-vue/src/layout/components/Navbar.vue index 65ac355..45d5917 100644 --- a/zhitan-vue/src/layout/components/Navbar.vue +++ b/zhitan-vue/src/layout/components/Navbar.vue @@ -41,17 +41,19 @@ import Hamburger from "@/components/Hamburger" import useAppStore from "@/store/modules/app" import useSettingsStore from "@/store/modules/settings" +import { useRouter } from "vue-router" const appStore = useAppStore() const settingsStore = useSettingsStore() +const router = useRouter() function toggleSideBar() { appStore.toggleSideBar() } function handleAlarm() { - // 澶勭悊鎶ヨ鎸夐挳鐐瑰嚮浜嬩欢 - console.log('鎶ヨ鎸夐挳琚偣鍑�') + // 璺宠浆鍒版姤璀︾鐞嗛〉闈� + router.push('/alarmmanage/measuremen?modelCode=BJGL') } function handleRobot() { diff --git a/zhitan-vue/src/layout/index.vue b/zhitan-vue/src/layout/index.vue index 96903b5..7cb8e3e 100644 --- a/zhitan-vue/src/layout/index.vue +++ b/zhitan-vue/src/layout/index.vue @@ -86,7 +86,7 @@ // 璺宠浆鍒版姤璀﹂〉闈� function goToAlarm() { - router.push('/alarm/list') + router.push('/alarmmanage/measuremen?modelCode=BJGL') } // 鎵撳紑AI澶фā鍨嬪璇濇 -- Gitblit v1.9.3