master
夜笙歌 2 years ago
parent 53c14d8ee2
commit 1e1de43812

@ -32,4 +32,8 @@ body {
height: 32%;
top: 23%;
left: 3.5%;
}
.span_c{
margin-left: 5%;
margin-right: 10% !important;
}

@ -32,4 +32,8 @@ body {
height: 32%;
bottom: 4.5%;
left: 3.5%;
}
.span_c{
margin-left: 5%;
margin-right: 10% !important;
}

@ -32,4 +32,8 @@ body {
height: 32%;
top: 23%;
left: 3.5%;
}
.span_c{
margin-left: 5%;
margin-right: 10% !important;
}

@ -32,4 +32,9 @@ body {
height: 32%;
bottom: 4.5%;
left: 3.5%;
}
.span_c{
margin-left: 5%;
margin-right: 10% !important;
}

@ -3,7 +3,7 @@ $(() =>{
let html = `<div id="theCurrentTeam" class="onDutyPlan display-blocks theCurrentTeam">
<span>-</span>
<span>-</span>
<span style='margin-left: 5%;margin-right: 10%;'>-</span>
<span class="span_c" >-</span>
<span>-</span>
</div>

@ -1,4 +1,5 @@
$(() => {
//班组计划统计
// onDutyPlan(1234, 1202, 33);
$.getJSON('/foamBox/getTeamStatisticsJson', function (result) {
@ -6,11 +7,13 @@ $(() => {
});
//设备运行状态
let statusArray = [0, 0, 0, 0, 1, 0];
deviceStatus(statusArray);
$.getJSON(`/foamBox/getRunStatusJson?ids=${ids}`, function (result) {
deviceStatus(result);
});
//库存统计
$.getJSON('/foamBox/getMaterialStoreJson', function (result) {
$.getJSON(`/foamBox/getMaterialStoreJson`, function (result) {
threeDimensionalCylindrical(result, document.getElementById("inventoryStatistics"));
});
@ -141,4 +144,5 @@ const deviceStatus = (statusArray) => {
$(".foamingLineRunStatus table tr").append(info);
}
}

@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="en">
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
<meta charset="UTF-8">
@ -67,6 +67,8 @@
disableOnInteraction: false,
},
});
const ids = [[${positionId}]];
// let info = `
// <td style="border:0px solid red;text-align:center;"><img src="${true ? '../../img/foamBox/deviceopen.png' :'../../img/foamBox/deviceopen.png'}" style="width: 30px;height: 30px;"/></td>

@ -32,4 +32,8 @@ body {
height: 32%;
top: 23%;
left: 3.5%;
}
.span_c{
margin-left: 5%;
margin-right: 10% !important;
}

@ -32,4 +32,8 @@ body {
height: 32%;
bottom: 4.5%;
left: 3.5%;
}
.span_c{
margin-left: 5%;
margin-right: 10% !important;
}

@ -32,4 +32,8 @@ body {
height: 32%;
top: 23%;
left: 3.5%;
}
.span_c{
margin-left: 5%;
margin-right: 10% !important;
}

@ -32,4 +32,9 @@ body {
height: 32%;
bottom: 4.5%;
left: 3.5%;
}
.span_c{
margin-left: 5%;
margin-right: 10% !important;
}

@ -3,7 +3,7 @@ $(() =>{
let html = `<div id="theCurrentTeam" class="onDutyPlan display-blocks theCurrentTeam">
<span>-</span>
<span>-</span>
<span style='margin-left: 5%;margin-right: 10%;'>-</span>
<span class="span_c" >-</span>
<span>-</span>
</div>

@ -1,4 +1,5 @@
$(() => {
//班组计划统计
// onDutyPlan(1234, 1202, 33);
$.getJSON('/foamBox/getTeamStatisticsJson', function (result) {
@ -6,11 +7,13 @@ $(() => {
});
//设备运行状态
let statusArray = [0, 0, 0, 0, 1, 0];
deviceStatus(statusArray);
$.getJSON(`/foamBox/getRunStatusJson?id=${ids}`, function (result) {
deviceStatus(result);
});
//库存统计
$.getJSON('/foamBox/getMaterialStoreJson', function (result) {
$.getJSON(`/foamBox/getMaterialStoreJson`, function (result) {
threeDimensionalCylindrical(result, document.getElementById("inventoryStatistics"));
});
@ -141,4 +144,5 @@ const deviceStatus = (statusArray) => {
$(".foamingLineRunStatus table tr").append(info);
}
}

@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="en">
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
<meta charset="UTF-8">
@ -67,6 +67,8 @@
disableOnInteraction: false,
},
});
const ids = [[${positionId}]];
// let info = `
// <td style="border:0px solid red;text-align:center;"><img src="${true ? '../../img/foamBox/deviceopen.png' :'../../img/foamBox/deviceopen.png'}" style="width: 30px;height: 30px;"/></td>

Loading…
Cancel
Save