Commit f11c2000 authored by lei's avatar lei

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

parent b9f16eb2
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
class="water-pump" class="water-pump"
v-for="(item, i) in pumpList" v-for="(item, i) in pumpList"
:key="i" :key="i"
:class="`pst${Number(item.pumpId) - 3}`" :class="`pst${Number(item.locationNum) - 3}`"
> >
<div class="H36"> <div class="H36">
<div <div
...@@ -57,14 +57,14 @@ ...@@ -57,14 +57,14 @@
<div class="H164"> <div class="H164">
<div <div
class="phd-left" 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>
<div class="phd-right"> <div class="phd-right">
<div class="phd-top"></div> <div class="phd-top"></div>
<div <div
class="" class=""
: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-left'
: 'water-pump-img-right' : 'water-pump-img-right'
" "
...@@ -72,7 +72,7 @@ ...@@ -72,7 +72,7 @@
<div <div
class="tip-box" class="tip-box"
:class=" :class="
[5, 6, 1, 2].includes(Number(item.pumpId) - 3) [5, 6, 1, 2].includes(Number(item.locationNum) - 3)
? 'dw' ? 'dw'
: 'dwr' : 'dwr'
" "
...@@ -88,7 +88,7 @@ ...@@ -88,7 +88,7 @@
</div> </div>
<div <div
class="phd-left" 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> </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