From 36990e3fc35d1dcf341895b65cba19a0d805f258 Mon Sep 17 00:00:00 2001 From: ustcyc <yincun@163.com> Date: 星期三, 16 四月 2025 20:13:00 +0800 Subject: [PATCH] Merge branch 'master' of https://github.com/zhitan-cloud/zhitan-ems --- zhitan-vue/src/layout/components/Navbar.vue | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/zhitan-vue/src/layout/components/Navbar.vue b/zhitan-vue/src/layout/components/Navbar.vue index edf2bbd..45d5917 100644 --- a/zhitan-vue/src/layout/components/Navbar.vue +++ b/zhitan-vue/src/layout/components/Navbar.vue @@ -41,22 +41,24 @@ 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() { - // 澶勭悊澶фā鍨嬫寜閽偣鍑讳簨浠� - console.log('澶фā鍨嬫寜閽鐐瑰嚮') + // 璺宠浆鍒版櫤鑳藉姪鎵嬮〉闈� + window.open('https://deepseek.tan-zhonghe.com/chat', '_blank') } </script> -- Gitblit v1.9.3