|
|
@ -32,7 +32,7 @@ $(() => {
|
|
|
|
val[3] = '2021.01.01 10:00:00'
|
|
|
|
val[3] = '2021.01.01 10:00:00'
|
|
|
|
delete val[4]
|
|
|
|
delete val[4]
|
|
|
|
});
|
|
|
|
});
|
|
|
|
Res.header = ['设备名称', '参数名称', '当前值', '时间', ]
|
|
|
|
Res.header = ['设备名称', '参数名称', '当前值', '时间',]
|
|
|
|
dynamicTable({
|
|
|
|
dynamicTable({
|
|
|
|
el: '#productionPlan',
|
|
|
|
el: '#productionPlan',
|
|
|
|
rowNum: 5,
|
|
|
|
rowNum: 5,
|
|
|
@ -45,7 +45,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: ['100%', '100%', '40%', '160%', ]
|
|
|
|
colWidth: ['100%', '100%', '40%', '160%',]
|
|
|
|
});
|
|
|
|
});
|
|
|
|
},
|
|
|
|
},
|
|
|
|
error: function (e) {
|
|
|
|
error: function (e) {
|
|
|
@ -70,7 +70,7 @@ $(() => {
|
|
|
|
const dataInformationFunction = (statusArray) => {
|
|
|
|
const dataInformationFunction = (statusArray) => {
|
|
|
|
let info = `<table style="position: absolute;top: 8%;width: 100%;height:100%;">
|
|
|
|
let info = `<table style="position: absolute;top: 8%;width: 100%;height:100%;">
|
|
|
|
<tr style="width: 100%; height: 50%;">
|
|
|
|
<tr style="width: 100%; height: 50%;">
|
|
|
|
<td style="border:0px solid red;text-align:center;width: 50%;"><img src="../../img/foamBox/${statusArray[0] == 0 ? "deviceopen.png" : "deviceclose.png"}" width="20%" height="40%"/>${statusArray[0] == 0 ? `<span style="color:green;margin-left: 10px">运行正常</span>` : `<span style="color:red;margin-left: 10px">运行异常</span>`}</td>
|
|
|
|
<td style="border:0px solid red;text-align:center;width: 50%;"><i ${statusArray[0] == 0 ? 'style="color:green;"' : 'style="color: red;"'} class="fa-regular ${statusArray[0] == 0 ? "fa-circle-check" : "fa-circle-xmark"}"></i>${statusArray[0] == 0 ? `<span style="color:green;margin-left: 10px">运行正常</span>` : `<span style="color:red;margin-left: 10px">运行异常</span>`}</td>
|
|
|
|
<td style="border:0px solid red;text-align:center;width: 50%;color: #E6ECBE;">389kW</td>
|
|
|
|
<td style="border:0px solid red;text-align:center;width: 50%;color: #E6ECBE;">389kW</td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
<tr style="width: 100%; height: 50%;">
|
|
|
|
<tr style="width: 100%; height: 50%;">
|
|
|
|