修改铝内胆成型线

master
夜笙歌 2 years ago
parent 9529624138
commit 7aa791f195

@ -3,19 +3,18 @@ $(() => {
let fun = () => {
//班组计划统计
$.getJSON(`/foamBox/getTeamStatisticsJson?ids=${ids}`, function (result) {
console.log(result)
onDutyPlan(result.planAmount, result.actualAmount, result.planAmount - result.actualAmount)
});
//设备运行状态
$.getJSON(`/foamBox/getRunStatusJson?ids=${ids}`, function (result) {
console.log(1)
if (htmlId === '0' || htmlId === '1') {
deviceStatus(result);
} else {
deviceStatus2(result)
}
});
// deviceStatus([1,1,1,1,1,1]);
//库存统计
@ -51,12 +50,10 @@ $(() => {
}
fun()
})
const temperature = (res, ids) => {
let mycharts = echarts.init(ids);
console.log(res);
let option = {
@ -137,7 +134,7 @@ const deviceStatus = (statusArray) => {
<img src="../../img/foamBox/${statusArray[5] == 1 ? "deviceopen.png" : "deviceclose.png"}" style="position: absolute;transform: translate(-50%,-50%);top:30%;left:68%;width: 2vw;"/>
`;
$(".foamingLineRunStatus table tr").append(info);
$(".foamingLineRunStatus table tr").html(info);
}
@ -149,6 +146,6 @@ const deviceStatus2 = (statusArray) => {
<img src="../../img/foamBox/${statusArray[5] == 1 ? "deviceopen.png" : "deviceclose.png"}" style="position: absolute;transform: translate(-50%,-50%);top:30%;left:68%;width: 2vw;"/>
`;
$(".foamingLineRunStatus table tr").append(info);
$(".foamingLineRunStatus table tr").html(info);
}

@ -91,7 +91,7 @@ const dataInformationFunction = (statusArray) => {
<tr style="width: 100%; height: 50%;">
<td style="border:0px solid red;text-align:center;width: 50%;color: #59B2F6;"> ${res.deviceEnergy}kW·h</td>
<td style="border:0px solid red;text-align:center;width: 50%;color: red;">2</td>
<td style="border:0px solid red;text-align:center;width: 50%;color: red;">0</td>
</tr>
</table>`;

Loading…
Cancel
Save