From 1d22e1b84c1b64a43dc09f6ae8fd1f1fdf243a32 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期六, 29 三月 2025 14:33:19 +0800
Subject: [PATCH] 设备工具明细bug

---
 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