Commit f11c2000 authored by lei's avatar lei

fix:排水水泵定位字段改动

parent b9f16eb2
......@@ -36,7 +36,7 @@
class="water-pump"
v-for="(item, i) in pumpList"
:key="i"
:class="`pst${Number(item.pumpId) - 3}`"
:class="`pst${Number(item.locationNum) - 3}`"
>
<div class="H36">
<div
......@@ -57,14 +57,14 @@
<div class="H164">
<div
class="phd-left"
v-show="[5, 6, 1, 2].includes(Number(item.pumpId) - 3)"
v-show="[5, 6, 1, 2].includes(Number(item.locationNum) - 3)"
></div>
<div class="phd-right">
<div class="phd-top"></div>
<div
class=""
:class="
[5, 6, 1, 2].includes(Number(item.pumpId) - 3)
[5, 6, 1, 2].includes(Number(item.locationNum) - 3)
? 'water-pump-img-left'
: 'water-pump-img-right'
"
......@@ -72,7 +72,7 @@
<div
class="tip-box"
:class="
[5, 6, 1, 2].includes(Number(item.pumpId) - 3)
[5, 6, 1, 2].includes(Number(item.locationNum) - 3)
? 'dw'
: 'dwr'
"
......@@ -88,7 +88,7 @@
</div>
<div
class="phd-left"
v-show="[7, 3, 4].includes(Number(item.pumpId) - 3)"
v-show="[7, 3, 4].includes(Number(item.locationNum) - 3)"
></div>
</div>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment