快乐的昕的电脑
2025-10-18 b9e83d3a57a6a2dde5901938e5457d7df0a5e0b9
界面优化
已修改1个文件
11 ■■■■ 文件已修改
components/WorkOrder.vue 11 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
components/WorkOrder.vue
@@ -386,11 +386,12 @@
                    //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
                });
@@ -407,12 +408,12 @@
                        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 = '';
@@ -434,12 +435,12 @@
                        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 = '';