修改数据请求

master
夜笙歌 4 years ago
parent 00db021418
commit 59735ebbd1

@ -46,8 +46,8 @@ $(() => {
}), document.getElementById("distributionOfBadTypesInProductionLineByDay")); }), document.getElementById("distributionOfBadTypesInProductionLineByDay"));
barChartAndLineChart(data.map(val => { barChartAndLineChart(data.map(val => {
return { return {
xName: data.map(value => value.name), xName: data.map(val => val.name),
yDataTwo: data.map(value => value.qty), yDataTwo: data.map(val => val.qty),
yDataTwoName: "质量", yDataTwoName: "质量",
} }

@ -38,14 +38,14 @@
left: 3.4%; left: 3.4%;
} }
/*#bottom-left { #bottom-left {
position: absolute; position: absolute;
border: 1px solid red; border: 0px solid red;
width: 68%; width: 68%;
height: 29.6%; height: 29.6%;
top: 66.4%; top: 66.4%;
left: 3.5%; left: 3.5%;
}*/ }
#top-mid { #top-mid {
position: absolute; position: absolute;
@ -193,18 +193,6 @@
padding-bottom: 0.3%; padding-bottom: 0.3%;
} }
.my-transition {
position: absolute;
border: 0px solid red;
width: 68%;
height: 29.6%;
top: 66.4%;
left: 3.5%;
/*transform: scale(0.5, 0.5);*/
/*opacity: 0;*/
transition: transform 0.5s linear, opacity 0.5s linear;
}
.my-transition2 { .my-transition2 {
position: absolute; position: absolute;
@ -474,7 +462,7 @@
headerBGC: 'rgba(8,36,75,0.2)', headerBGC: 'rgba(8,36,75,0.2)',
oddRowBGC: 'rgba(8,36,75,0.2)', oddRowBGC: 'rgba(8,36,75,0.2)',
evenRowBGC: 'rgba(6,25,57,0.2)', evenRowBGC: 'rgba(6,25,57,0.2)',
colWidth: ['70%', '15%', '15%',] colWidth: ["5%", '10%', "7%", "5%", "5%", "5%", "8%", "4.2%", "4.2%", "4.2%", "4.2%", "4.2%", "4.2%", "4.2%", "4.2%", "4.2%", "4.2%", "4.2%", "4.2%"]
}); });
// orderInf.loadData(data, Object.keys(orderInfColumns)) // orderInf.loadData(data, Object.keys(orderInfColumns))
// let consolidatedRow = ["", "合计", ""] // let consolidatedRow = ["", "合计", ""]

Loading…
Cancel
Save