$(() => { let fun = () => { //班组统计 // onDutyPlan(1234,1202,33); $.getJSON('/tankShell/getTeamStatisticsJson', function (result) { storageStatistics('白班', result.planAmount, result.actualAmount, result.differenceAmount,) }); //按型号统计产量 $.getJSON('/tankShell/getMaterialProdutionJson', function (result) { horizontalBarChart(result, document.getElementById("statisticalOutputByModel")); }); //小时产量 $.getJSON('/tankShell/getHourProdutionJson', function (result) { brokenLineAreaDiagram(result, document.getElementById("hourlyOutputStatistics")); }); //库存统计 $.getJSON('/tankShell/getMaterialStoreJson', function (result) { multipleThreeDimensionalCylindrical(result, document.getElementById("inventoryStatistics"),); }); setTimeout(fun, 10000) } fun() })