feat: 添加告警忽略管理页面和路由配置

This commit is contained in:
yangsy
2025-12-28 14:37:50 +08:00
parent 1f23588649
commit 054b2bcdac
3 changed files with 15 additions and 0 deletions

View File

@@ -85,6 +85,10 @@ const menuOptions: MenuOption[] = [
label: () => h(RouterLink, { to: '/alarm/alarm-log' }, { default: () => '设备告警记录' }),
key: '/alarm/alarm-log',
},
{
label: () => h(RouterLink, { to: '/alarm/alarm-ignore' }, { default: () => '告警忽略管理' }),
key: '/alarm/alarm-ignore',
},
],
},
{

View File

@@ -0,0 +1,7 @@
<script setup lang="ts"></script>
<template>
<div></div>
</template>
<style scoped lang="scss"></style>

View File

@@ -28,6 +28,10 @@ const router = createRouter({
path: 'alarm-log',
component: () => import('@/pages/alarm-log-page.vue'),
},
{
path: 'alarm-ignore',
component: () => import('@/pages/alarm-ignore-page.vue'),
},
],
},
{