diff --git a/src/assets/img/Factory/wifi.jpg b/src/assets/img/Factory/wifi.jpg new file mode 100644 index 0000000..1572bd1 Binary files /dev/null and b/src/assets/img/Factory/wifi.jpg differ diff --git a/src/views/generalEnvironmentMechanical/components/pm.vue b/src/views/generalEnvironmentMechanical/components/pm.vue index 8889907..5b1b9e0 100644 --- a/src/views/generalEnvironmentMechanical/components/pm.vue +++ b/src/views/generalEnvironmentMechanical/components/pm.vue @@ -207,7 +207,7 @@ onMounted(() => { init(); timer = setInterval(() => { index = index + 1; - if (index >= store.humiture.length) { + if (index >= store.pm.length) { index = 0; } init(); diff --git a/src/views/pmTest/index.vue b/src/views/pmTest/index.vue index 003248c..0fe36a8 100644 --- a/src/views/pmTest/index.vue +++ b/src/views/pmTest/index.vue @@ -7,16 +7,28 @@
-
+
- - -
-
- - +
+
    +
  • +
    {{ item.id }}
    +
    +
    + 机架号:{{item.label}} 设备位置及名称:{{ item.position }} +
    +
    + 工作时长:{{ item.workTime }} + 待机时长:{{ item.standbyTime }} + 停机时长:{{ item.downtime }} +
    +
    +
  • +
+
+
@@ -24,81 +36,40 @@ @@ -123,12 +94,43 @@ onUnmounted(() => { align-items: center; padding: 20px; } +.box { + width: 600px; + height: 400px; +} +ul { + transition: all 1s; +} .test { width: 20%; height: 30%; margin: 20px 47px; } + +ul { + width: 100%; +} +.item-box { + width: 100%; + height: 50px; + color: #fff; + font-size: 14px; + display: flex; + justify-content: space-between; + align-items: center; +} +.item-left { + width: 10%; + margin-right: 10px; +} +.item-right { + flex: 1; + display: flex; + flex-direction: column; + justify-content: space-around; + align-items: start; +}