|
|
@@ -44,9 +44,9 @@
|
|
|
<tr style="height: 72px; width: 1866px; ">
|
|
|
<td scope="col" class="text-center" style="width: 150px;">工序</td>
|
|
|
<td scope="col" class="text-center" style="width: 180px; font-size:28px;">
|
|
|
- P4(一组)
|
|
|
+ K5
|
|
|
<br />
|
|
|
- <div id="P4gp">(0)</div>
|
|
|
+ <div id="K5gp">(0)</div>
|
|
|
</td>
|
|
|
<td scope="col" class="text-center" style="width: 180px; font-size: 28px; ">
|
|
|
P5(二组)
|
|
|
@@ -56,17 +56,17 @@
|
|
|
</tr>
|
|
|
<tr style="height: 72px; ">
|
|
|
<td scope="col" class="text-center" style="width: 150px;">数量</td>
|
|
|
- <td scope="col" class="text-center" style="width: 180px;" id="P4gpsl1"></td>
|
|
|
+ <td scope="col" class="text-center" style="width: 180px;" id="K5gpsl1"></td>
|
|
|
<td scope="col" class="text-center" style="width: 180px;" id="P5gpsl1"></td>
|
|
|
</tr>
|
|
|
<tr style="height: 72px; ">
|
|
|
<td scope="col" class="text-center">缺陷率</td>
|
|
|
- <td scope="col" class="text-center" id="P4gpqxl1" style="width: 170px;"></td>
|
|
|
+ <td scope="col" class="text-center" id="K5gpqxl1" style="width: 170px;"></td>
|
|
|
<td scope="col" class="text-center" id="P5gpqxl1" style="width: 170px;"></td>
|
|
|
</tr>
|
|
|
<tr style="height: 72px; ">
|
|
|
<td scope="col" class="text-center" style="width: 150px;" rowspan="2">前三不良</td>
|
|
|
- <td scope="col" class="text-center" id="P4gpqsbl1" style="width: 180px; font-size: 15px;" rowspan="2"></td>
|
|
|
+ <td scope="col" class="text-center" id="K5gpqsbl1" style="width: 180px; font-size: 15px;" rowspan="2"></td>
|
|
|
<td scope="col" class="text-center" id="P5gpqsbl1" style="width: 180px; font-size: 15px;" rowspan="2"></td>
|
|
|
</tr>
|
|
|
<tr style="height: 40px; ">
|
|
|
@@ -74,7 +74,7 @@
|
|
|
|
|
|
<tr style="height: 72px; ">
|
|
|
<td scope="col" class="text-center" style="width: 150px;">合格率</td>
|
|
|
- <td scope="col" class="text-center" id="P4gphgl" style="width: 180px;"></td>
|
|
|
+ <td scope="col" class="text-center" id="K5gphgl" style="width: 180px;"></td>
|
|
|
<td scope="col" class="text-center" id="P5gphgl" style="width: 180px;"></td>
|
|
|
</tr>
|
|
|
</thead>
|
|
|
@@ -470,34 +470,34 @@
|
|
|
//明细数据
|
|
|
function loadTable(callback) {
|
|
|
loadServerTime();
|
|
|
- setTimeout(P4(), 2000);
|
|
|
- setTimeout(P5(), 3000);
|
|
|
- setTimeout(P6(), 4000);
|
|
|
- setTimeout(P7(), 5000);
|
|
|
- setTimeout(P8(), 6000);
|
|
|
- setTimeout(P9(), 6000);
|
|
|
- setTimeout(AllGPSum(), 7000);
|
|
|
- setTimeout(GPHGL(), 8000);
|
|
|
- setTimeout(ListSum(), 9000);
|
|
|
- setTimeout(loadData(), 10000);
|
|
|
- setTimeout(All(), 12000);
|
|
|
- setTimeout(Process(), 14000);
|
|
|
+ setTimeout(K5(), 8000);
|
|
|
+ setTimeout(P5(), 8000);
|
|
|
+ setTimeout(P6(), 7000);
|
|
|
+ setTimeout(P7(), 7000);
|
|
|
+ setTimeout(P8(), 7000);
|
|
|
+ setTimeout(P9(), 7000);
|
|
|
+ setTimeout(AllGPSum(), 9000);
|
|
|
+ setTimeout(GPHGL(), 9000);
|
|
|
+ setTimeout(ListSum(), 10000);
|
|
|
+ setTimeout(loadData(), 11000);
|
|
|
+ setTimeout(All(), 13000);
|
|
|
+ setTimeout(Process(), 15000);
|
|
|
}
|
|
|
|
|
|
- function P4() {
|
|
|
- $.get('DenKiln.ashx?m=P4data', function (data) {
|
|
|
+ function K5() {
|
|
|
+ $.get('DenKiln.ashx?m=K5data', function (data) {
|
|
|
var json = JSON.parse(data);
|
|
|
if (json['success'] == true) {
|
|
|
- $('#P4gpsl1').text(json["rows"][0]["柜盆"]);
|
|
|
- $('#P4gpqxl1').text(json["rows"][1]["柜盆"]);
|
|
|
- $('#P4gpqsbl1').text(json["rows"][2]["柜盆"]);
|
|
|
- $('#P4gphgl').text(json["rows"][3]["柜盆"]);
|
|
|
+ $('#K5gpsl1').text(json["rows"][0]["柜盆"]);
|
|
|
+ $('#K5gpqxl1').text(json["rows"][1]["柜盆"]);
|
|
|
+ $('#K5gpqsbl1').text(json["rows"][2]["柜盆"]);
|
|
|
+ $('#K5gphgl').text(json["rows"][3]["柜盆"]);
|
|
|
if (json["rows"][3]["柜盆"].slice(0, -1) >= 92) {
|
|
|
- document.getElementById("P4gphgl").style.color = "white";
|
|
|
+ document.getElementById("K5gphgl").style.color = "white";
|
|
|
} else if (json["rows"][3]["柜盆"].slice(0, -1) >= 90 && json["rows"][3]["柜盆"].slice(0, -1) < 92) {
|
|
|
- document.getElementById("P4gphgl").style.color = "yellow";
|
|
|
+ document.getElementById("K5gphgl").style.color = "yellow";
|
|
|
} else if (json["rows"][3]["柜盆"].slice(0, -1) < 90) {
|
|
|
- document.getElementById("P4gphgl").style.color = "red";
|
|
|
+ document.getElementById("K5gphgl").style.color = "red";
|
|
|
}
|
|
|
|
|
|
}
|
|
|
@@ -676,9 +676,9 @@
|
|
|
var json = JSON.parse(data);
|
|
|
if (json['success'] == true) {
|
|
|
if (json["rows"][0] == null) {
|
|
|
- $('#P4gp').text("("+"0"+")");
|
|
|
+ $('#K5gp').text("("+"0"+")");
|
|
|
} else {
|
|
|
- $('#P4gp').text("(" + json["rows"][0]["P4成检柜盆数量"] + ")");
|
|
|
+ $('#K5gp').text("(" + json["rows"][0]["K5成检柜盆数量"] + ")");
|
|
|
$('#P5gp').text("(" + json["rows"][0]["P5成检柜盆数量"] + ")");
|
|
|
}
|
|
|
}
|