修改界面

master
夜笙歌 4 years ago
parent 4044554065
commit 76d9a76520

@ -89,4 +89,8 @@ body {
.typeOne{ .typeOne{
background-color: #2C95FD; background-color: #2C95FD;
color:#C2D8FF; color:#C2D8FF;
}
.orderQuantityFulfillmentRateOfTheDay .autoscroll-table .autoscroll-table_thead tr .autoscroll-table_tbody:nth-child(n+1){
text-align: left;
} }

@ -8,6 +8,7 @@ body {
background-size: 100% 100%; background-size: 100% 100%;
color: rgba(255, 255, 255, .95); color: rgba(255, 255, 255, .95);
font: normal 100% Arial, sans-serif; font: normal 100% Arial, sans-serif;
overflow: hidden;
} }
.btnOne { .btnOne {
@ -32,20 +33,22 @@ body {
background-image: url(../../img/board/intelligentRefrigeratorInterconnectionFactory/layerOne.png); background-image: url(../../img/board/intelligentRefrigeratorInterconnectionFactory/layerOne.png);
background-size: 100% 100%; background-size: 100% 100%;
position: absolute; position: absolute;
width: 90%; width: 112%;
height: 65.2%; height: 100.2%;
top: 20.1%; top: -0.9%;
left: 4.3%; left: -4.7%;
display: block; display: block;
z-index: -1;
} }
.layerTwo{ .layerTwo{
background-image: url(../../img/board/intelligentRefrigeratorInterconnectionFactory/layerTwo.png); background-image: url(../../img/board/intelligentRefrigeratorInterconnectionFactory/layerTwo.png);
background-size: 100% 100%; background-size: 100% 100%;
position: absolute; position: absolute;
width: 98.2%; width: 112.2%;
height: 72.6%; height: 99.6%;
top: 13%; top: 1%;
left: 0.7%; left: -4.3%;
z-index: -1;
display: none; display: none;
} }
.infoOne{ .infoOne{

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.8 MiB

After

Width:  |  Height:  |  Size: 6.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.5 MiB

After

Width:  |  Height:  |  Size: 8.3 MiB

@ -6,10 +6,10 @@ $(() => {
const INTERVAL = 30000 const INTERVAL = 30000
// 订单详情 // 订单详情
const orderDetailsTable = new AutoScrollTable(document.getElementById("orderQuantityFulfillmentRateOfTheDay"), ["编号", "计划数量", "完成数量", "差异值", "时间"], {width: ['30%', null, null, null, '17%']}) const orderDetailsTable = new AutoScrollTable(document.getElementById("orderQuantityFulfillmentRateOfTheDay"), ["编号", "型号", "计划数量", "完成数量", "差异值"], {width: ['10%', null, null, null, '9%']})
// 成品质量详情 // 成品质量详情
const PropertyInsuranceOneDayOrderInfoTable = new AutoScrollTable(document.getElementById("PropertyInsuranceOneDayOrderInfo"), ["物料条码", "检测项", "质量缺陷", "标志", "时间"], {width: ['30%', null, null, null, '17%']}) const PropertyInsuranceOneDayOrderInfoTable = new AutoScrollTable(document.getElementById("PropertyInsuranceOneDayOrderInfo"), ["检测项", "质量缺陷", "数量",'占比'], {width: ['30%', null, null, null]})
//订单详情轮询 + 当日订单数量达成率轮询 //订单详情轮询 + 当日订单数量达成率轮询
// 目标 // 目标
@ -91,12 +91,12 @@ $(() => {
} }
autoUpdate(url + "/selectOrderInfo", INTERVAL, data => { autoUpdate(url + "/selectOrderInfo", INTERVAL, data => {
orderDetailsTable.loadData(data.map(value => [value.plan_code, value.plan_number, value.actual_number, value.plan_number - value.actual_number, value.day]), Object.keys(["编号", "计划数量", "完成数量", "差异值", "时间"])) orderDetailsTable.loadData(data.map(value => [value.plan_code, value.name, value.plan_number, value.actual_number, value.plan_number - value.actual_number]), Object.keys(["编号", "型号", "计划数量", "完成数量", "差异值"]))
}) })
//成品入库统计轮询 //成品入库统计轮询
autoUpdate(url + "/selectProductInStore ", INTERVAL, data => { autoUpdate("/broad/mtk/selectInstoreNumByday", INTERVAL, data => {
data.sort((a, b) => { data.sort((a, b) => {
return b.qty - a.qty return b.qty - a.qty
}) })
@ -109,7 +109,7 @@ $(() => {
//成品质量详情轮询 //成品质量详情轮询
autoUpdate(url + "/selectQualityInfo ", INTERVAL, data => { autoUpdate(url + "/selectQualityInfo ", INTERVAL, data => {
PropertyInsuranceOneDayOrderInfoTable.loadData(data.map(value => [value.code, value.item, value.qa, value.state, value.day]), Object.keys(["物料条码", "检测项", "质量缺陷", "标志", "时间"])) PropertyInsuranceOneDayOrderInfoTable.loadData(data.map(value => [value.item, value.type, value.qty, `${value.rate}%`]), Object.keys(["检测项", "质量缺陷", "数量",'占比']))
}) })
//产线不良类型分布 + 质量统计轮询 //产线不良类型分布 + 质量统计轮询

Loading…
Cancel
Save