liwei19941102 2 سال پیش
والد
کامیت
74e0905096
2فایلهای تغییر یافته به همراه10 افزوده شده و 0 حذف شده
  1. 6 0
      ruoyi-ui-vue3/src/views/alarm/alarmmanager/index.vue
  2. 4 0
      ruoyi-ui-vue3/src/views/rules/index.vue

+ 6 - 0
ruoyi-ui-vue3/src/views/alarm/alarmmanager/index.vue

@@ -32,6 +32,8 @@
           </div>
         </div>
         <div>
+          <el-button type="primary" plain @click="goWarnRule">告警系统</el-button>
+          <!-- <el-button type="primary" plain @click="initdata">重置</el-button> -->
           <el-button type="primary" plain @click="initdata">重置</el-button>
           <el-button type="primary" @click="searchdata">搜索</el-button>
         </div>
@@ -174,6 +176,10 @@ const handleSubmit = () => {
   })
 }
 
+const goWarnRule = () =>{
+  router.push("/rules")
+}
+
 const handleEdit = (row) => {
   currentdata.value = cloneDeep(row);
   handleshow.value = true;

+ 4 - 0
ruoyi-ui-vue3/src/views/rules/index.vue

@@ -69,6 +69,10 @@
               :page-size="pagedata.size" :current-page="pagedata.current" @current-change="onchangepage" class="mt-4" />
           </el-col>
 
+          <el-col :span="24" style="margin-top: 10px;">
+              注:规则定义信息的设置为告警触发的方式,告警触发的阈值,以及触发后执行的处理方式,请谨慎设置
+          </el-col>
+
         </el-row>