|
|
|
|
@ -58,11 +58,11 @@
|
|
|
|
|
<svg-icon v-if="item.diaolingleixing === 3" icon-class="ship" style="font-size: 2rem;padding-right: 2px;"></svg-icon>
|
|
|
|
|
<span>{{ item.equipment_id_equipments_id_relation ? item.equipment_id_equipments_id_relation.name : '' }}</span>
|
|
|
|
|
</p>
|
|
|
|
|
<div style="display: flex;align-items: center;">
|
|
|
|
|
<div style="display: flex;align-items: center;" v-if="item.equipment_id_equipments_id_relation && item.equipment_id_equipments_id_relation.bengzhashuliang">
|
|
|
|
|
<p style="zoom:.85;padding-right: 2px;">闸门</p>
|
|
|
|
|
<div class="list-item__number" v-for="(i,index) in Number(item.equipment_id_equipments_id_relation.bengzhashuliang || 0)" :style="index >= item.kaiqishuliang ? 'background: red;' : ''"></div>
|
|
|
|
|
</div>
|
|
|
|
|
<div style="display: flex;align-items: center;">
|
|
|
|
|
<div style="display: flex;align-items: center;" v-if="item.equipment_id_equipments_id_relation && item.equipment_id_equipments_id_relation.shuibengtaishu">
|
|
|
|
|
<p style="zoom:.85;padding-right: 2px;">水泵</p>
|
|
|
|
|
<div class="list-item__number" v-for="(i,index) in Number(item.equipment_id_equipments_id_relation.shuibengtaishu || 0)" :style="index >= item.kaiqishuliang1 ? 'background: red;' : ''"></div>
|
|
|
|
|
</div>
|
|
|
|
|
@ -206,7 +206,7 @@ export default {
|
|
|
|
|
|
|
|
|
|
isShowNotice () {
|
|
|
|
|
return function (item) {
|
|
|
|
|
return item.id_feedbacks_transfer_id_relation.reduce((pre, cur) => (!!(pre || cur.status)), false)
|
|
|
|
|
return item.id_feedbacks_transfer_id_relation?.reduce((pre, cur) => (!!(pre || cur.status)), false)
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
@ -231,7 +231,7 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
];
|
|
|
|
|
} else if (item.tiaozhengleixing === 1) {
|
|
|
|
|
if (item.equipment_id_equipments_id_relation.type === 1) {
|
|
|
|
|
if (item.equipment_id_equipments_id_relation?.type === 1) {
|
|
|
|
|
return [
|
|
|
|
|
{
|
|
|
|
|
value: 2,
|
|
|
|
|
@ -285,7 +285,7 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
return 3
|
|
|
|
|
}
|
|
|
|
|
if (item.id_transfers_to_transfer_id_relation.length > 0) {
|
|
|
|
|
if (item.id_transfers_to_transfer_id_relation?.length > 0) {
|
|
|
|
|
return 2
|
|
|
|
|
}
|
|
|
|
|
if (diffMins < 0) {
|
|
|
|
|
|