快乐的昕的电脑
2025-11-22 00d508740cd6eef96cfedc98965239e69ac2d9d6
pages/index.vue
@@ -679,10 +679,14 @@
                this.isShow = true;
                // 默认选中“待开工”
                this.engineeringNo = '待开工';
                this.engineeringNo = '待开工、未开工、暂停';
                this.tableData = [];
                // 下拉框只显示工单状态
                this.engineeringNoMapList = ['待开工', '未开工', '开工', '暂停', '完工'];
                // 下拉框只显示合并后的状态和其它状态
                this.engineeringNoMapList = [
                    '待开工、未开工、暂停',
                    '开工',
                    '完工'
                ];
                // 默认显示“待开工”工单
                this.getWomdaaByStatus();
            },
@@ -708,11 +712,17 @@
            // 按工单状态筛选工单
            getWomdaaByStatus() {
                let editDate = this.formatDate(new Date());
                let statusArr = [];
                if (this.engineeringNo === '待开工、未开工、暂停') {
                    statusArr = ['待开工', '未开工', '暂停'];
                } else {
                    statusArr = [this.engineeringNo];
                }
                this.$post({
                    url: "/Womdaa/GetWomdaasByEngineeringNo",
                    data: {
                        machineNo: this.machineNo,
                        orderStatus: [this.engineeringNo], // 只传选中的状态
                        orderStatus: statusArr,
                        editDate: editDate
                    }
                }).then(res => {
@@ -1009,6 +1019,28 @@
      }
   }
    /* 放在 style 标签最后,确保优先级 */
    ::v-deep .uni-table .uni-checkbox-wrapper,
    ::v-deep .uni-table .uni-checkbox-input {
        width: 55px !important;
        height: 55px !important;
        min-width: 55px !important;
        min-height: 55px !important;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    ::v-deep .uni-table .uni-checkbox-input {
        border-radius: 10px !important;
        border: 2.5px solid #007aff !important;
    }
    ::v-deep .uni-table .uni-checkbox-input .uni-checkbox-icon {
        font-size: 38px !important;
        line-height: 55px !important;
    }
   /* 针对1280x800的平板使用媒体查询进行适配 */
   @media screen and (min-width: 1280px) and (max-width: 1920px) {
      .right-side {