From 5acb40935f827604ab622e0cb94b4440ef64318d Mon Sep 17 00:00:00 2001 From: "LAPTOP-R6EHHS26\\86155" <2217640373@qq.com> Date: Mon, 11 Mar 2024 15:05:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=AE=BE=E5=A4=87=E7=9C=8B?= =?UTF-8?q?=E6=9D=BF=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/kanban/equipment/index.vue | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) 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) } }); }