From cb6b8b1468a005998621c9ea82f8107cf0a5823c Mon Sep 17 00:00:00 2001
From: 小小儁爺 <1694218219@qq.com>
Date: 星期一, 05 一月 2026 09:17:53 +0800
Subject: [PATCH] 1.新增设备清单查看履历

---
 src/views/workOrder/workOrderList.vue |   13 +++++++++----
 1 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/src/views/workOrder/workOrderList.vue b/src/views/workOrder/workOrderList.vue
index faf51a1..e71c162 100644
--- a/src/views/workOrder/workOrderList.vue
+++ b/src/views/workOrder/workOrderList.vue
@@ -533,6 +533,7 @@
 
       <div class="elTableDiv">
         <el-table
+          ref="tableDataRef2"
           :data="tableDataDetail"
           border
           height="210px"
@@ -2795,7 +2796,7 @@
         // createdate: '', // 鍒涘缓鏃堕棿
         datatype: 'ED', // 鏃ユ湡绫诲瀷(璁″垝寮�宸�(PS)銆佽鍒掑畬宸�(PE)銆侀璁′氦浠�(ED)銆佸垱寤烘棩鏈�(CT))
         timeValue: [], // 鏌ヨ鏃ユ湡
-        prop: 'lm_date', // 鎺掑簭瀛楁
+        prop: 'partspec', // 鎺掑簭瀛楁  lm_date
         order: 'desc', // 鎺掑簭瀛楁
         page: 1, // 绗嚑椤�
         rows: 20 // 姣忛〉澶氬皯鏉�
@@ -3045,7 +3046,7 @@
 
       routecodeArr: [], //
 
-      sourceType: false, // 宸ュ簭鐨勬暟鎹潵婧�
+      sourceType: true, // 宸ュ簭鐨勬暟鎹潵婧�
 
       mesSetting: JSON.parse(localStorage.getItem('mesSetting')),
 
@@ -3841,7 +3842,9 @@
 
           this.stepSelectedValue = this.stepTableData.map(i => i.stepcode)
         } else {
-          await this.getBasicProcessData()
+          // await this.getBasicProcessData()
+          console.log('鎵ц')
+          this.sourceTypeChange(this.sourceType)
         }
       }
 
@@ -3988,11 +3991,13 @@
 
       this.dialogForm.routecode = ''
 
-      this.sourceType = false
+      this.sourceType = true
 
       this.stepSelectedValue = []
       this.stepTableData = []
       this.$refs.dialogForm.clearValidate()
+      this.$refs.tableDataRef.doLayout()
+      this.$refs.tableDataRef2.doLayout()
     },
     // 瀵硅瘽妗嗗彇娑�
     dialogVisibleCancel() {

--
Gitblit v1.9.3