无效改为故障

pull/93/head
孙萌 2024-01-12 18:22:04 +08:00
parent 1d5ab85ee0
commit 379f353595
1 changed files with 5 additions and 5 deletions

View File

@ -44,7 +44,7 @@
<img :src="item.img" alt="">
<div>
<div class="text">{{ item.name }}</div>
<div class="number" :class="item.num=='无效'?'red':''">{{ item.num }}</div>
<div class="number" :class="item.num=='故障'?'red':''">{{ item.num }}</div>
</div>
</div>
</vue-seamless>
@ -810,7 +810,7 @@ export default {
// num=this.countType3(el.environmentData)+el1.unit
// }else{
if(el.equipmentStart==0){
num='无效'
num='故障'
}else{
num = el.environmentData + el1.unit
}
@ -910,7 +910,7 @@ export default {
// }else{
if(el.equipmentStart==0){
num='无效'
num='故障'
}else{
num = el.environmentData + el1.unit
}
@ -954,7 +954,7 @@ export default {
// console.log(el1);
var num=0
if(el.equipmentStart==0){
num='无效'
num='故障'
}else{
num = el.environmentData + el1.unit
}
@ -1018,7 +1018,7 @@ export default {
// console.log(el1);
var num=0
if(el.equipmentStart==0){
num='无效'
num='故障'
}else{
num = el.environmentData + el1.unit
}