|
@@ -446,7 +446,7 @@
|
|
|
|
|
|
|
|
// ====== 页面数据 ======
|
|
// ====== 页面数据 ======
|
|
|
var mockData = {};
|
|
var mockData = {};
|
|
|
- /** 本屏产线:XT(工位 OP110–OP160) */
|
|
|
|
|
|
|
+ /** 本屏产线:XT(工位 OP110-OP160) */
|
|
|
var LINE_SN = 'XT';
|
|
var LINE_SN = 'XT';
|
|
|
var OP_FROM = 110;
|
|
var OP_FROM = 110;
|
|
|
var OP_TO = 160;
|
|
var OP_TO = 160;
|
|
@@ -499,7 +499,7 @@
|
|
|
// 报警信息由 updateDeviceAlarmAlertsByApi 拉取
|
|
// 报警信息由 updateDeviceAlarmAlertsByApi 拉取
|
|
|
mockData.alerts = [];
|
|
mockData.alerts = [];
|
|
|
|
|
|
|
|
- // 工位表由 mesLineProcess(XT,OP110–OP160)拉取
|
|
|
|
|
|
|
+ // 工位表由 mesLineProcess(XT,OP110-OP160)拉取
|
|
|
mockData.opTable = [];
|
|
mockData.opTable = [];
|
|
|
|
|
|
|
|
// 数据卡(总览固定展示)
|
|
// 数据卡(总览固定展示)
|
|
@@ -898,7 +898,7 @@
|
|
|
if (list.length === 0) {
|
|
if (list.length === 0) {
|
|
|
hint.textContent = '';
|
|
hint.textContent = '';
|
|
|
} else if (pageCount > 1) {
|
|
} else if (pageCount > 1) {
|
|
|
- hint.textContent = '第 ' + (opTablePageIndex + 1) + ' / ' + pageCount + ' 页 · 每页 ' + OP_TABLE_PAGE_SIZE + ' 条 · 共 ' + list.length + ' 条';
|
|
|
|
|
|
|
+ hint.textContent = '第 ' + (opTablePageIndex + 1) + ' / ' + pageCount + ' 页 / 每页 ' + OP_TABLE_PAGE_SIZE + ' 条 / 共 ' + list.length + ' 条';
|
|
|
} else {
|
|
} else {
|
|
|
hint.textContent = '共 ' + list.length + ' 条';
|
|
hint.textContent = '共 ' + list.length + ' 条';
|
|
|
}
|
|
}
|
|
@@ -995,7 +995,7 @@
|
|
|
});
|
|
});
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- // 近七日质检:产出=OP160 OK,不良=返工 OP120–OP160
|
|
|
|
|
|
|
+ // 近七日质检:产出=OP160 OK,不良=返工 OP120-OP160
|
|
|
function updateWeekQualityByApi() {
|
|
function updateWeekQualityByApi() {
|
|
|
$.ajax({
|
|
$.ajax({
|
|
|
url: '${ctx}/mes/mesProductRecord/weekQualityData',
|
|
url: '${ctx}/mes/mesProductRecord/weekQualityData',
|
|
@@ -1076,7 +1076,7 @@
|
|
|
});
|
|
});
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- /** 总览三卡:生产人数 / 设备数量 / 计划产量 ← mesProductScreen 最新配置 */
|
|
|
|
|
|
|
+ /** 总览三卡:生产人数 / 设备数量 / 计划产量 <- mesProductScreen 最新配置 */
|
|
|
function updateScreenConfigByApi() {
|
|
function updateScreenConfigByApi() {
|
|
|
$.ajax({
|
|
$.ajax({
|
|
|
url: '${ctx}/mes/mesProductScreen/latestConfig',
|
|
url: '${ctx}/mes/mesProductScreen/latestConfig',
|