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.
28 lines
968 B
JavaScript
28 lines
968 B
JavaScript
$(() => {
|
|
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()
|
|
})
|
|
|