From f7373ab33a33fc1bbd3f1c056a07b13d271065d7 Mon Sep 17 00:00:00 2001
From: zmc <zmc_li@foxmail.com>
Date: 星期五, 24 十一月 2023 08:51:47 +0800
Subject: [PATCH] 1.修改了飞行巡检的异常聚集度和复现率的描述,当具体异常数为0时,不显示该异常描述。 2.修改低中高风险文字 对应的绿黄红颜色 3.调整了跳转到飞行巡检页面时的布局

---
 src/views/exception/components/AnalysisCard.vue |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/views/exception/components/AnalysisCard.vue b/src/views/exception/components/AnalysisCard.vue
index 6191098..7328b77 100644
--- a/src/views/exception/components/AnalysisCard.vue
+++ b/src/views/exception/components/AnalysisCard.vue
@@ -33,7 +33,7 @@
       default: '寮傚父'
     },
     // 鍥炬爣鍦板潃
-    iconsrc: {
+    icon: {
       type: String,
       default: '111'
     },
@@ -62,6 +62,7 @@
         type:Boolean,
         default:false
     }
+
   },
   emits:['getAbnormalDataByClick'],
   components: {
@@ -100,7 +101,8 @@
   <el-card>
     <template #header>
     <div class="icon-text">
-      <slot/>
+      <!-- <slot/> -->
+      <img :src="icon" height="24" width="24" />
       <div class="exception-name">{{ exceptionName }}</div>
       <el-button type="danger" size="small" class="audit-button" v-show="auditButton_1" @click="openDetail">瀹℃牳</el-button>
     </div>

--
Gitblit v1.9.3