修改设备看板页面

master
LAPTOP-R6EHHS26\86155 8 months ago
parent 4139d7a058
commit 5acb40935f

@ -216,7 +216,7 @@
<td style="width: 8%;">排名</td>
<td style="width: 12%;">设备名称</td>
<td style="width: 12%;">设备编码</td>
<td style="width: 12%;">设备OEE</td>
<td style="width: 12%;">MTTR</td>
</tr>
</thead>
@ -230,7 +230,7 @@
<td style="width: 8%;">{{ index + 1 }}</td>
<td style="width: 12%;">{{ n.equipmentName }}</td>
<td style="width: 12%;">{{ n.equipmentCode }}</td>
<td style="width: 12%;">{{ n.rapairQuantity != null ? n.rapairQuantity + '%' : '--' }}</td>
<td style="width: 12%;">{{ n.rapairQuantity != null ? n.rapairQuantity + 'h' : '--' }}</td>
</tr>
</tbody>
</table>
@ -306,6 +306,8 @@ export default {
};
},
created() {
this.getdictlist()
},
destroyed() {
clearInterval(this.time1);
@ -316,7 +318,7 @@ export default {
//console.log('zhuanhuahou',this.dateRangeone)
this.selectFactorylist();
this.getdictlist()
this.gettime();
},
methods: {
@ -391,10 +393,10 @@ export default {
}
});
if (item.failureRate) {
item.failureRate = item.failureRate.toFix(2)
item.failureRate = parseFloat(item.failureRate).toFixed(2)
}
if (item.utilizationRatio) {
item.utilizationRatio = item.utilizationRatio.toFix(2)
item.utilizationRatio = parseFloat(item.utilizationRatio).toFixed(2)
}
});
}

Loading…
Cancel
Save