Browse Source

传感器添加阈值

王通 2 năm trước cách đây
mục cha
commit
9041157907
1 tập tin đã thay đổi với 23 bổ sung23 xóa
  1. 23 23
      src/views/monitor.vue

+ 23 - 23
src/views/monitor.vue

@@ -907,33 +907,33 @@ export default {
               "                  <h4>水压力值:" +
               (item.data.hydraulicValue ?
                 item.data.hydraulicValue + "MPa" :
-                "0MPa") +
-              "</h4>" +
-              "                </div>" +
-              "                </div>" +
-              "                </span>" +
-              "<span>" +
-              '                  <div class="d-l-con">' +
-              '                  <div class="d-l-l-text">' +
-              "                  <h4>水压下限阈值:" +
-              (item.data.hydraulicThresholdMin ?
-                item.data.hydraulicThresholdMin + "MPa" :
-                "0MPa") +
-              "</h4>" +
-              "                </div>" +
-              "                </div>" +
-              "                </span>" +
-              "<span>" +
-              '                  <div class="d-l-con">' +
-              '                  <div class="d-l-l-text">' +
-              "                  <h4>水压上限阈值:" +
-              (item.data.hydraulicThresholdMax ?
-                item.data.hydraulicThresholdMax + "MPa" :
-                "0MPa") +
+                "0MPa") +'   | 0.5MPa - 2.0MPa'
               "</h4>" +
               "                </div>" +
               "                </div>" +
               "                </span>" +
+              // "<span>" +
+              // '                  <div class="d-l-con">' +
+              // '                  <div class="d-l-l-text">' +
+              // "                  <h4>水压下限阈值:" +
+              // (item.data.hydraulicThresholdMin ?
+              //   item.data.hydraulicThresholdMin + "MPa" :
+              //   "0MPa") + '| 0.5MPa'
+              // "</h4>" +
+              // "                </div>" +
+              // "                </div>" +
+              // "                </span>" +
+              // "<span>" +
+              // '                  <div class="d-l-con">' +
+              // '                  <div class="d-l-l-text">' +
+              // "                  <h4>水压上限阈值:" +
+              // (item.data.hydraulicThresholdMax ?
+              //   item.data.hydraulicThresholdMax + "MPa" :
+              //   "0MPa") + '| 2.0MPa'
+              // "</h4>" +
+              // "                </div>" +
+              // "                </div>" +
+              // "                </span>" +
               "</div>";
           } else if (item.deviceType == 7) {
             //水流速传感器