From 19e559358b907cff913d7aa277fa04496b7fe0a6 Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期五, 19 四月 2024 15:55:16 +0800
Subject: [PATCH] 考核模板

---
 src/views/system/rule/index.vue |   15 +++------------
 1 files changed, 3 insertions(+), 12 deletions(-)

diff --git a/src/views/system/rule/index.vue b/src/views/system/rule/index.vue
index 75d534d..fdc5ca9 100644
--- a/src/views/system/rule/index.vue
+++ b/src/views/system/rule/index.vue
@@ -14,7 +14,6 @@
               <i style="font-size: 40px;padding: 15px;" :class="item.icon"></i>
               <div style="font-size:12px; text-align: center; height: 25px;">{{ item.name }} </div>
               <div class="bottom clearfix">
-                <el-button type="text" class="button" @click="handleAudit(item)">瀹℃牳</el-button>
                 <el-button type="text" class="button" @click="handleUpdate(item)">淇敼</el-button>
               </div>
             </el-card>
@@ -36,7 +35,6 @@
             <i style="font-size: 40px;padding: 15px;" :class="item.icon"></i>
             <div style="font-size:12px; text-align: center; height: 25px;">{{ item.name }} </div>
             <div class="bottom clearfix">
-              <el-button type="text" class="button" @click="handleAudit(item)">瀹℃牳</el-button>
               <el-button type="text" class="button" @click="handleUpdate(item)">淇敼</el-button>
             </div>
           </el-card>
@@ -58,7 +56,6 @@
             <i style="font-size: 40px;padding: 15px;" :class="item.icon"></i>
             <div style="font-size:12px; text-align: center; height: 25px;">{{ item.name }} </div>
             <div class="bottom clearfix">
-              <el-button type="text" class="button" @click="handleAudit(item)">瀹℃牳</el-button>
               <el-button type="text" class="button" @click="handleUpdate(item)">淇敼</el-button>
             </div>
           </el-card>
@@ -160,7 +157,7 @@
 import { templateSelect} from   "@/api/platform/check-template"
 export default {
   name: "CheckRule",
-  dicts: ['platform_audit_state','platform_examine_category','platform_rule_category'],
+  dicts: ['platform_audit_state','platform_rule_category'],
   data() {
     return {
       // 閬僵灞�
@@ -193,7 +190,6 @@
         createTime: null,
         ruleCategory: null,
         templateId: null,
-        examineCategory: 1,
       },
       videoData: [
         { name: '骞冲彴鍦ㄧ嚎鐜�', icon: 'el-icon-connection', ruleDescription: '鐪佸巺瀵瑰競绾у叡浜拰鑱旂綉骞冲彴杩涜瀹炴椂鐩戞祴锛屽競绾у叡浜�/鑱旂綉骞冲彴姣忔湀绂荤嚎鎬绘椂闀垮湪30鍒嗛挓浠ュ唴鐨勫钩鍙板湪绾跨巼涓�100%锛屾瘡瓒呰繃30鍒嗛挓鎵�10涓櫨鍒嗙偣锛屾墸瀹屼负姝€��' +
@@ -248,7 +244,7 @@
     };
   },
   created() {
-
+    this.getList();
   },
   methods: {
     groupData(data) {
@@ -259,12 +255,7 @@
       }
       return groupedData;
     },
-    /** 鑰冩牳妯℃澘涓嬫媺鍒楄〃 */
-    getTemplateSelect() {
-      templateSelect().then((res) => {
-        this.templateList = res.data;
-      })
-    },
+
     /** 鏌ヨ鑰冩牳瑙勫垯鍒楄〃 */
     getList() {
       this.loading = true;

--
Gitblit v1.8.0