From f994c24e30e60bc4ac656c28177388ef35db92cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=9C=E7=AC=99=E6=AD=8C?= <2277317060@qq.com> Date: Wed, 8 Jun 2022 17:55:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/static/js/tankShell/device.js | 5 ++++- productionboard/target/classes/static/js/tankShell/device.js | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/productionboard/src/main/resources/static/js/tankShell/device.js b/productionboard/src/main/resources/static/js/tankShell/device.js index 8678d26..a3cd122 100644 --- a/productionboard/src/main/resources/static/js/tankShell/device.js +++ b/productionboard/src/main/resources/static/js/tankShell/device.js @@ -1,7 +1,10 @@ $(() => { //设备OEE统计 - OEEStatistics(null, document.getElementById("OEEStatistics")); + //设备OEE统计 + $.getJSON('/aluminumLiner/getOeeStatistics', function (result) { + OEEStatistics(result, document.getElementById("OEEStatistics")); + }); //设备故障排名 $.getJSON('/tankShell/getStatisticalOutputByModel', function (result) { diff --git a/productionboard/target/classes/static/js/tankShell/device.js b/productionboard/target/classes/static/js/tankShell/device.js index 8678d26..a3cd122 100644 --- a/productionboard/target/classes/static/js/tankShell/device.js +++ b/productionboard/target/classes/static/js/tankShell/device.js @@ -1,7 +1,10 @@ $(() => { //设备OEE统计 - OEEStatistics(null, document.getElementById("OEEStatistics")); + //设备OEE统计 + $.getJSON('/aluminumLiner/getOeeStatistics', function (result) { + OEEStatistics(result, document.getElementById("OEEStatistics")); + }); //设备故障排名 $.getJSON('/tankShell/getStatisticalOutputByModel', function (result) {