$(() => { let fun = () => { //班组统计 $.getJSON('/aluminumTank/getTeamStatisticsJson', function (result) { console.log(result.planAmount + ' 数据' + result.actualAmount, result.differenceAmount) storageStatistics('白班', result.planAmount, result.actualAmount, result.differenceAmount,) }); //按型号统计产量 $.getJSON('/aluminumTank/getMaterialProdutionJson', function (result) { horizontalBarChart(result, document.getElementById("statisticalOutputByModel")); }); //小时产量 $.getJSON('/aluminumTank/getHourProdutionJson', function (result) { bluePolygonHistogram(result, document.getElementById("hourlyOutputStatistics")); }); //库存统计 $.getJSON('/aluminumTank/getMaterialStoreJson', function (result) { console.log(result) multipleThreeDimensionalCylindrical(result, document.getElementById("inventoryStatistics")); }); setTimeout(fun, 10000) } fun() })