From 4ef0342708910d02453fdcfae2148eadbf6d7004 Mon Sep 17 00:00:00 2001
From: zhuzhuanzhuan
Date: 星期三, 05 六月 2024 11:34:21 +0800
Subject: [PATCH] 1、设备综合效率分析页面表格列属性ellipsis开启后内容若超出盒子宽度则出现与表头错位现象,而无法实现ellipsis开启后内容超出单元格则省略功能,现采取增加列宽度方式且关闭ellipsis属性功能方法解决问题 2、设备综合效率分析页面调整计算表格垂直滚动条方法以试图解决项目服务器上无法正常显示水平滚动条问题

---
 src/views/eam/modules/predictiveWorkOrder/boms/PredictiveWarn.vue |   32 ++++++++++++--------------------
 1 files changed, 12 insertions(+), 20 deletions(-)

diff --git a/src/views/eam/modules/predictiveWorkOrder/boms/PredictiveWarn.vue b/src/views/eam/modules/predictiveWorkOrder/boms/PredictiveWarn.vue
index e41a7c2..a59477f 100644
--- a/src/views/eam/modules/predictiveWorkOrder/boms/PredictiveWarn.vue
+++ b/src/views/eam/modules/predictiveWorkOrder/boms/PredictiveWarn.vue
@@ -58,17 +58,22 @@
       isDel: {
         type: Boolean,
         default: false
+      },
+      orderId:{
+        type: String,
+        default:'',
+        required: false
       }
     },
     mounted() {
 
     },
     watch: {
-      planId:{
+      orderId:{
         immediate:true,
           handler(val){
-            if (this.planId) {
-            this.queryParam.planId = val
+            if (this.orderId) {
+            this.queryParam.workOrderId = val
             this.queryParam.delFlag = 0
             this.loadData(1)
           }
@@ -91,7 +96,7 @@
           },
           {
             title: '鏉′欢',
-            dataIndex: 'conditionalRelationName',
+            dataIndex: 'parameterCondition_dictText',
             align: 'center',
             width:200
           },
@@ -108,27 +113,14 @@
             width:200
           },
           {
-            title: '鎶ヨ鍛ㄦ湡',
-            dataIndex: 'warnCycle',
-            align: 'center',
-            width:200
-          },
-          {
-            title: '鎶ヨ鍛ㄦ湡鍗曚綅',
-            dataIndex: 'cycleUnitName',
-            align: 'center',
-            width:200
-          },
-          {
-            title: '鎶ヨ娆℃暟',
-            dataIndex: 'times',
+            title: '妫�娴嬫椂闂�',
+            dataIndex: 'collectTime',
             align: 'center',
             width:200
           },
         ],
         url: {
-          list: '/eam/predictiveworkplanwarn/pagePredictiveWorkPlanWarn',
-          delete: '/eam/predictiveworkplanwarn/delete'
+          list: '/eam/predictiveworkplanwarn/getHistoryPage',
         }
       }
     },

--
Gitblit v1.9.3