|
|
|
|
@ -42,11 +42,23 @@
|
|
|
|
|
position: absolute;
|
|
|
|
|
border: 0px solid red;
|
|
|
|
|
width: 68%;
|
|
|
|
|
height: 29.6%;
|
|
|
|
|
height: 25%;
|
|
|
|
|
top: 66.4%;
|
|
|
|
|
left: 3.5%;
|
|
|
|
|
font-size: 1vw;
|
|
|
|
|
}
|
|
|
|
|
.total{
|
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
|
justify-content: space-around;
|
|
|
|
|
display: flex;
|
|
|
|
|
position: absolute;
|
|
|
|
|
border: 1px solid red;
|
|
|
|
|
width: 68%;
|
|
|
|
|
height: 3.9%;
|
|
|
|
|
top: 91.4%;
|
|
|
|
|
left: 3.5%;
|
|
|
|
|
font-size: 1vw;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#top-mid {
|
|
|
|
|
position: absolute;
|
|
|
|
|
@ -232,6 +244,7 @@
|
|
|
|
|
|
|
|
|
|
<div class="my-transition">
|
|
|
|
|
<div id="bottom-left"></div>
|
|
|
|
|
<div class="total" id="total"></div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!--<div class="my-transition2">-->
|
|
|
|
|
@ -409,6 +422,7 @@
|
|
|
|
|
|
|
|
|
|
$(() => {
|
|
|
|
|
area()
|
|
|
|
|
total()
|
|
|
|
|
// 订单执行 + 生产统计
|
|
|
|
|
autoUpdate('/broad/fp/selectOrderExecution', INTERVAL, data => {
|
|
|
|
|
orderInf.loadData(data.map(value => [value.name, value.plan_number, value.actual_number, value.plan_number - value.actual_number, value.rate]), Object.keys(orderInfColumns))
|
|
|
|
|
@ -455,7 +469,7 @@
|
|
|
|
|
el: '#bottom-left',
|
|
|
|
|
rowNum: 5,
|
|
|
|
|
timeout: 0,
|
|
|
|
|
header: ['工位', '型号', '状态', '目标', '计划','累计','达成率','8:00','9:00','10:00','11:00','12:00','13:00','14:00','15:00','16:00','17:00','18:00','19:00'],
|
|
|
|
|
header: ['工位', '型号', '状态', '目标', '计划','累计','达成率','8:30','9:30','10:30','11:30','12:30','13:30','14:30','15:30','16:30','17:30','18:30','19:00'],
|
|
|
|
|
data: data.map(value => [value.station_no, value.name, '正常', '0', value.plan_number,value.qty,`${value.rate}%`,value.h1,value.h2,value.h3,value.h4,value.h5,value.h6,value.h7,value.h8,value.h9,value.h10,value.h11,value.h12]),
|
|
|
|
|
index: false,
|
|
|
|
|
fontColor: '#B4B7BF ',
|
|
|
|
|
@ -887,18 +901,43 @@
|
|
|
|
|
<span style="position: absolute;top:30%;left:31%;font-size: 1vw;"> A1</span>
|
|
|
|
|
<span style="position: absolute;top:30%;left:37%;font-size: 1vw;"> A2</span>
|
|
|
|
|
<span style="position: absolute;top:30%;left:43%;font-size: 1vw;"> B1</span>
|
|
|
|
|
<span style="position: absolute;top:30%;left:50%;font-size: 1vw;"> B1</span>
|
|
|
|
|
<span style="position: absolute;top:30%;left:50%;font-size: 1vw;"> B2</span>
|
|
|
|
|
<span style="position: absolute;top:30%;left:56%;font-size: 1vw;"> 发泡机1</span>
|
|
|
|
|
<span style="position: absolute;top:30%;left:63%;font-size: 1vw;"> 发泡机2</span>
|
|
|
|
|
<span style="position: absolute;top:38.6%;left:33.2%;font-size: 1vw;"> A1</span>
|
|
|
|
|
<span style="position: absolute;top:37.6%;left:56%;font-size: 1vw;"> A2</span>
|
|
|
|
|
<span style="position: absolute;top:46%;left:51%;font-size: 1vw;"> A3</span>
|
|
|
|
|
<span style="position: absolute;top:40.7%;left:65%;font-size: 1vw;"> A4</span>
|
|
|
|
|
<span style="position: absolute;top:37.6%;left:56%;font-size: 1vw;"> B1</span>
|
|
|
|
|
<span style="position: absolute;top:46%;left:51%;font-size: 1vw;"> A2</span>
|
|
|
|
|
<span style="position: absolute;top:40.7%;left:65%;font-size: 1vw;"> B2</span>
|
|
|
|
|
<span style="position: absolute;top: 10.3%;left: 75%;color: #CFD2D0;font-size: 1.0vw">压力统计</span>
|
|
|
|
|
<span style="position: absolute;top: 38.3%;left: 75%;color: #CFD2D0;font-size: 1.0vw">温度统计</span>
|
|
|
|
|
`
|
|
|
|
|
$("body").append(html)
|
|
|
|
|
}
|
|
|
|
|
const total = () => {
|
|
|
|
|
const html = `
|
|
|
|
|
<!-- ["5%", '10%', "7%", "5%", "5%", "5%", "8%", "4%", "4%", "4%", "4%", "4%", "4%", "4%", "4%", "4%", "4%", "4%", "4%"]-->
|
|
|
|
|
<span style="margin: auto 0px;text-align:center;width:5%;font-size: 1vw;">-</span>
|
|
|
|
|
<span style="margin: auto 0px;text-align:center;width:10%;font-size: 1vw;">-</span>
|
|
|
|
|
<span style="margin: auto 0px;text-align:center;width:7%;font-size: 1vw;">-</span>
|
|
|
|
|
<span style="margin: auto 0px;text-align:center;width:5%;font-size: 1vw;">-</span>
|
|
|
|
|
<span style="margin: auto 0px;text-align:center;width:5%;font-size: 1vw;">-</span>
|
|
|
|
|
<span style="margin: auto 0px;text-align:center;width:5%;font-size: 1vw;">-</span>
|
|
|
|
|
<span style="margin: auto 0px;text-align:center;width:8%;font-size: 1vw;">-</span>
|
|
|
|
|
<span style="margin: auto 0px;text-align:center;width:4%;font-size: 1vw;">-</span>
|
|
|
|
|
<span style="margin: auto 0px;text-align:center;width:4%;font-size: 1vw;">-</span>
|
|
|
|
|
<span style="margin: auto 0px;text-align:center;width:4%;font-size: 1vw;">-</span>
|
|
|
|
|
<span style="margin: auto 0px;text-align:center;width:4%;font-size: 1vw;">-</span>
|
|
|
|
|
<span style="margin: auto 0px;text-align:center;width:4%;font-size: 1vw;">-</span>
|
|
|
|
|
<span style="margin: auto 0px;text-align:center;width:4%;font-size: 1vw;">-</span>
|
|
|
|
|
<span style="margin: auto 0px;text-align:center;width:4%;font-size: 1vw;">-</span>
|
|
|
|
|
<span style="margin: auto 0px;text-align:center;width:4%;font-size: 1vw;">-</span>
|
|
|
|
|
<span style="margin: auto 0px;text-align:center;width:4%;font-size: 1vw;">-</span>
|
|
|
|
|
<span style="margin: auto 0px;text-align:center;width:4%;font-size: 1vw;">-</span>
|
|
|
|
|
<span style="margin: auto 0px;text-align:center;width:4%;font-size: 1vw;">-</span>
|
|
|
|
|
<span style="margin: auto 0px;text-align:center;width:4%;font-size: 1vw;">-</span>
|
|
|
|
|
`
|
|
|
|
|
$("#total").append(html)
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
</html>
|