From 9862e1be04889c584540abdd3eeb80e1a2d9807b Mon Sep 17 00:00:00 2001
From: he wei <858544502@qq.com>
Date: 星期三, 13 十一月 2024 09:37:28 +0800
Subject: [PATCH] U 修改最大值 最小值标示颜色

---
 src/views/test/index.vue          |   13 +++++++------
 src/views/test/jhyRtInfo.vue      |   12 ++++++------
 src/views/test/paramContent.vue   |    5 +++--
 src/views/test/jhyTestDetails.vue |   12 ++++++------
 4 files changed, 22 insertions(+), 20 deletions(-)

diff --git a/src/views/test/index.vue b/src/views/test/index.vue
index b5cc44a..4f4dd90 100644
--- a/src/views/test/index.vue
+++ b/src/views/test/index.vue
@@ -146,6 +146,7 @@
 }
 
 function chooseDev(params) {
+  // console.log('params', params, '=============');
   currentDevId.value = params.devId;
 }
 
@@ -657,10 +658,10 @@
           text-align: center;
           background: #02a7f0;
           &.max {
-            background: #d9001b;
+            background: #438D29;
           }
           &.min {
-            background: #f59a23;
+            background: #DBD608;
           }
         }
       }
@@ -694,10 +695,10 @@
           text-align: center;
           background: #02a7f0;
           &.max {
-            background: #d9001b;
+            background: #438D29;
           }
           &.min {
-            background: #f59a23;
+            background: #DBD608;
           }
         }
       }
@@ -729,10 +730,10 @@
               padding: 2px 10px;
               border-radius: 6px;
               &.max {
-                background: #d9001b;
+                background: #438D29;
               }
               &.min {
-                background: #f59a23;
+                background: #DBD608;
               }
             }
           }
diff --git a/src/views/test/jhyRtInfo.vue b/src/views/test/jhyRtInfo.vue
index a8067cc..bcd45de 100644
--- a/src/views/test/jhyRtInfo.vue
+++ b/src/views/test/jhyRtInfo.vue
@@ -413,10 +413,10 @@
         text-align: center;
         background: #02a7f0;
         &.max {
-          background: #d9001b;
+          background: #438D29;
         }
         &.min {
-          background: #f59a23;
+          background: #DBD608;
         }
       }
     }
@@ -450,10 +450,10 @@
         text-align: center;
         background: #02a7f0;
         &.max {
-          background: #d9001b;
+          background: #438D29;
         }
         &.min {
-          background: #f59a23;
+          background: #DBD608;
         }
       }
     }
@@ -485,10 +485,10 @@
             padding: 2px 10px;
             border-radius: 6px;
             &.max {
-              background: #d9001b;
+              background: #438D29;
             }
             &.min {
-              background: #f59a23;
+              background: #DBD608;
             }
           }
         }
diff --git a/src/views/test/jhyTestDetails.vue b/src/views/test/jhyTestDetails.vue
index ba13ce4..b31e868 100644
--- a/src/views/test/jhyTestDetails.vue
+++ b/src/views/test/jhyTestDetails.vue
@@ -408,10 +408,10 @@
           text-align: center;
           background: #02a7f0;
           &.max {
-            background: #d9001b;
+            background: #438D29;
           }
           &.min {
-            background: #f59a23;
+            background: #DBD608;
           }
         }
       }
@@ -445,10 +445,10 @@
           text-align: center;
           background: #02a7f0;
           &.max {
-            background: #d9001b;
+            background: #438D29;
           }
           &.min {
-            background: #f59a23;
+            background: #DBD608;
           }
         }
       }
@@ -480,10 +480,10 @@
               padding: 2px 10px;
               border-radius: 6px;
               &.max {
-                background: #d9001b;
+                background: #438D29;
               }
               &.min {
-                background: #f59a23;
+                background: #DBD608;
               }
             }
           }
diff --git a/src/views/test/paramContent.vue b/src/views/test/paramContent.vue
index 82808e8..c658ccc 100644
--- a/src/views/test/paramContent.vue
+++ b/src/views/test/paramContent.vue
@@ -377,11 +377,12 @@
 }
 
 onMounted(() => {
+  // testType 鏈夊彲鑳藉嚭鐜�0鍊艰繖绉嶄笉鍚堟硶鏁版嵁 鍙栧�艰寖鍥存槸1 / 2
   if (props.isBatch) {
     // console.log('dev0', props.devs[0], '=============');
-    params.testType = props.devs[0].state.testType;
+    params.testType = props.devs[0].state.testType || 1;
   } else {
-    params.testType = props.devs.state.testType;
+    params.testType = props.devs.state.testType || 1;
     // console.log("type", params.testType, "=============");
   }
   getParams();

--
Gitblit v1.9.1