Browse Source

状态监视模块逻辑修改

Koishi 3 years ago
parent
commit
be346789a4
1 changed files with 6 additions and 5 deletions
  1. 6 5
      src/views/Status/Status.vue

+ 6 - 5
src/views/Status/Status.vue

@@ -216,6 +216,7 @@ export default {
                     { text: "受累", num: ele.slts || 0, color: "blue" },
                     { text: "离线", num: ele.lxts, color: "gray" },
                   ],
+                  
                 },
                 items: [
                   {
@@ -225,7 +226,7 @@ export default {
                     f3: ele.agcygsd,
                     f4: "出线",
                     f5: ele.agccxyg,
-                    is_light: true,
+                    is_light: !ele.zxzt_acgzt,
                   },
                   {
                     f1: "升压站:",
@@ -233,7 +234,7 @@ export default {
                     f3: ele.uab,
                     f4: "Ia",
                     f5: ele.ia,
-                    is_light: false,
+                    is_light:  !ele.zxzt_syzzt,
                   },
                   {
                     f1: "风功:",
@@ -241,7 +242,7 @@ export default {
                     f3: ele.ycgl,
                     f4: "",
                     f5: "",
-                    is_light: false,
+                    is_light: !ele.zxzt_fjzt,
                   },
                   {
                     f1: "测风塔:",
@@ -249,7 +250,7 @@ export default {
                     f3: (ele.cftfs || 0) + "m/s",
                     f4: "风向",
                     f5: ele.cftfx || 0,
-                    is_light: false,
+                    is_light: !ele.zxzt_cftzt,
                   },
                   {
                     f1: "电能量表:",
@@ -257,7 +258,7 @@ export default {
                     f3: ele.dnlb,
                     f4: "",
                     f5: "",
-                    is_light: false,
+                    is_light: !ele.zxzt_djlzt,
                   },
                 ],
               });