From d1ccf7e1835b3c583da16d90a286e749d5e27c84 Mon Sep 17 00:00:00 2001 From: zmc <zmc_li@foxmail.com> Date: 星期四, 07 十二月 2023 14:15:20 +0800 Subject: [PATCH] 修改无数据时段的算法 --- 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