he wei
2024-11-13 9862e1be04889c584540abdd3eeb80e1a2d9807b
U 修改最大值 最小值标示颜色
4个文件已修改
42 ■■■■ 已修改文件
src/views/test/index.vue 13 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/test/jhyRtInfo.vue 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/test/jhyTestDetails.vue 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/test/paramContent.vue 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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;
              }
            }
          }
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;
            }
          }
        }
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;
              }
            }
          }
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();