| | |
| | | //this.productionDuration = (this.order.todayOnlineTime / 3600).toFixed(2) + "h"; |
| | | this.todayFaultNum = this.order.todayFaultNum; |
| | | this.utilizationRate = this.order.jdl + '%'; |
| | | let title = this.machineNo + '号机台 工单号' + this.order.daa001 + ',当前数采' + this.order.currentCjNum; |
| | | let title = this.machineNo + '号机台 工单号' + this.order.daa001 + ',当前数采' + this.order.currentCjNum; // 标题中使用 currentCjNum |
| | | this.setTitle(title); |
| | | }) |
| | | }, |
| | | setTitle(title) { |
| | | // 修改页面标题的方法,uni-app中可以通过api直接设置当前页面的标题 |
| | | uni.setNavigationBarTitle({ |
| | | title: title |
| | | }); |
| | |
| | | let latest = sjList[0]; |
| | | this.lastInitialCheck = latest.fcheckDate; |
| | | this.initialConclusion = latest.fcheckResu; |
| | | this.initialInspector = latest.checkUser; |
| | | this.initialInspector = latest.fcheckBy; // 首检人员(工号-姓名) |
| | | this.initialCount = sjList.length; |
| | | } else if (sjList) { |
| | | this.lastInitialCheck = sjList.fcheckDate; |
| | | this.initialConclusion = sjList.fcheckResu; |
| | | this.initialInspector = sjList.checkUser; |
| | | this.initialInspector = sjList.fcheckBy; // 首检人员(工号-姓名) |
| | | this.initialCount = 1; |
| | | } else { |
| | | this.lastInitialCheck = ''; |
| | |
| | | let latest = xjList[0]; |
| | | this.lastPatrolCheck = latest.fcheckDate; |
| | | this.patrolConclusion = latest.fcheckResu; |
| | | this.patrolInspector = latest.checkUser; |
| | | this.patrolInspector = latest.fcheckBy; // 巡检人员(工号-姓名) |
| | | this.patrolCount = latest.xjCount ?? xjList.length; |
| | | } else if (xjList) { |
| | | this.lastPatrolCheck = xjList.fcheckDate; |
| | | this.patrolConclusion = xjList.fcheckResu; |
| | | this.patrolInspector = xjList.checkUser; |
| | | this.patrolInspector = xjList.fcheckBy; // 巡检人员(工号-姓名) |
| | | this.patrolCount = xjList.xjCount ?? 1; |
| | | } else { |
| | | this.lastPatrolCheck = ''; |