From 48456990df7288fe4a046bb02641243f22d42ef4 Mon Sep 17 00:00:00 2001
From: 快乐的昕的电脑 <快乐的昕的电脑@DESKTOP-C2BQPQU>
Date: 星期六, 22 十一月 2025 09:36:35 +0800
Subject: [PATCH] 调试

---
 pages/index.vue |   18 ++++++++++++++----
 1 files changed, 14 insertions(+), 4 deletions(-)

diff --git a/pages/index.vue b/pages/index.vue
index 81eca5c..69ee086 100644
--- a/pages/index.vue
+++ b/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 => {

--
Gitblit v1.9.3