he wei
2024-10-29 d347c168befd2c36254a7e3cbb30cb571542c87a
U 去掉告警相关的页面菜单
2个文件已修改
74 ■■■■ 已修改文件
src/layout/components/Sidebar/menu.vue 42 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/router/routes.js 32 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/layout/components/Sidebar/menu.vue
@@ -67,27 +67,27 @@
      },
    ],
  },
  {
    id: "3",
    name: "告警管理",
    icon: "alarm",
    isLeaf: false,
    needPermission: true,
    children: [
      {
        id: "3-0",
        name: "实时告警",
        path: "/alarm-rt",
        isLeaf: true,
      },
      {
        id: "3-1",
        name: "历史告警",
        path: "/alarm-his",
        isLeaf: true,
      },
    ],
  },
  // {
  //   id: "3",
  //   name: "告警管理",
  //   icon: "alarm",
  //   isLeaf: false,
  //   needPermission: true,
  //   children: [
  //     {
  //       id: "3-0",
  //       name: "实时告警",
  //       path: "/alarm-rt",
  //       isLeaf: true,
  //     },
  //     {
  //       id: "3-1",
  //       name: "历史告警",
  //       path: "/alarm-his",
  //       isLeaf: true,
  //     },
  //   ],
  // },
  {
    id: "4",
    name: "数据管理",
src/router/routes.js
@@ -55,22 +55,22 @@
        },
        component: () => import('../views/test/testDetails.vue')
      },
      {
        path: '/alarm-rt',
        name: 'alarmRt',
        meta: {
          title: '实时告警',
        },
        component: () => import('../views/alarm/alarmRt.vue')
      },
      {
        path: '/alarm-his',
        name: 'alarmHis',
        meta: {
          title: '历史告警',
        },
        component: () => import('../views/alarm/alarmHis.vue')
      },
      // {
      //   path: '/alarm-rt',
      //   name: 'alarmRt',
      //   meta: {
      //     title: '实时告警',
      //   },
      //   component: () => import('../views/alarm/alarmRt.vue')
      // },
      // {
      //   path: '/alarm-his',
      //   name: 'alarmHis',
      //   meta: {
      //     title: '历史告警',
      //   },
      //   component: () => import('../views/alarm/alarmHis.vue')
      // },
      {
        path: '/data-his',
        name: 'dataHis',