diff --git a/src/views/kanban/equipment/index.vue b/src/views/kanban/equipment/index.vue index 065cc38..cf28d45 100644 --- a/src/views/kanban/equipment/index.vue +++ b/src/views/kanban/equipment/index.vue @@ -216,7 +216,7 @@ 排名 设备名称 设备编码 - 设备OEE + MTTR @@ -230,7 +230,7 @@ {{ index + 1 }} {{ n.equipmentName }} {{ n.equipmentCode }} - {{ n.rapairQuantity != null ? n.rapairQuantity + '%' : '--' }} + {{ n.rapairQuantity != null ? n.rapairQuantity + 'h' : '--' }} @@ -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) } }); }