From f76cdb7975ebee1d2aa7d4b2cd2768f3381e6c47 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期一, 31 三月 2025 13:48:44 +0800
Subject: [PATCH] 全局回车搜索
---
src/views/statisticalCharts/inspectionItemWarning/index.vue | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/src/views/statisticalCharts/inspectionItemWarning/index.vue b/src/views/statisticalCharts/inspectionItemWarning/index.vue
index 2199965..41ef602 100644
--- a/src/views/statisticalCharts/inspectionItemWarning/index.vue
+++ b/src/views/statisticalCharts/inspectionItemWarning/index.vue
@@ -96,7 +96,11 @@
width: 150,
dataType: "tag",
formatType: (params) => {
- return 'danger'
+ if (this.tableData1.find((m) => m.testValue == params).isIssue == 1) {
+ return 'danger'
+ } else {
+ return 'success'
+ }
},
},
{ label: '妫�娴嬫椂闂�', prop: 'detectionTime',width: 160 },
--
Gitblit v1.9.3