You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
1.0 KiB
JavaScript
29 lines
1.0 KiB
JavaScript
$(() => {
|
|
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()
|
|
})
|
|
|