Browse Source

增加报警配置工具

chenminghua 2 years ago
parent
commit
a4110f5d4a
3 changed files with 23 additions and 0 deletions
  1. 6 0
      src/router/index.js
  2. 12 0
      src/views/alarmCenter/configAlarm.vue
  3. 5 0
      src/views/layout/Menu.vue

+ 6 - 0
src/router/index.js

@@ -817,6 +817,12 @@ const routes = [{
 	name: "boosterAlarm",
 	component: () => import("../views/alarmCenter/boosterAlarm.vue")
 },
+//报警配置工具
+{
+	path: "/others/alarmCenter/configAlarm",
+	name: "configAlarm",
+	component: () => import("../views/alarmCenter/configAlarm.vue")
+},
 //故障样本库
 {
 	path: "/others/fault",

+ 12 - 0
src/views/alarmCenter/configAlarm.vue

@@ -0,0 +1,12 @@
+<template>
+  <div></div>
+</template>
+
+<script>
+export default {
+  created() {
+    window.open("http://10.155.32.2:8078/#/login", "_blank");
+    this.$router.go(-1);
+  },
+};
+</script>

+ 5 - 0
src/views/layout/Menu.vue

@@ -933,6 +933,11 @@ export default {
                   icon: "svg-wind-site",
                   path: "/others/alarmCenter/customStatistics",
                 },
+                 {
+                  text: "报警配置工具",
+                  icon: "svg-wind-site",
+                  path: "/others/alarmCenter/configAlarm",
+                },
               ],
             },
             {