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.

27 lines
954 B
JavaScript

2 years ago
$(() => {
let fun = () => {
// onDutyPlan(1234,1202,33);
$.getJSON('/preassemble/getTeamStatisticsJson', function (result) {
storageStatistics(result.className, result.planAmount, result.actualAmount, result.differenceAmount,)
});
//按型号统计产量
$.getJSON('/preassemble/getMaterialProdutionJson', function (result) {
horizontalBarChart(result, document.getElementById("statisticalOutputByModel"));
});
2 years ago
2 years ago
//小时产量
$.getJSON('/preassemble/getHourProdutionJson', function (result) {
greenPolygonalHistogram(result, document.getElementById("hourlyOutputStatistics"));
});
2 years ago
2 years ago
//库存统计
$.getJSON('/preassemble/getMaterialStoreJson', function (result) {
threeDimensionalCylindrical(result, document.getElementById("inventoryStatistics"));
});
setTimeout(fun, 10000)
}
fun()
2 years ago
})