| | |
| | | }, |
| | | ], |
| | | }, |
| | | { |
| | | 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: "数据管理", |
| | |
| | | }, |
| | | 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', |