From 547aab154e85a9a89f1e320f92bd43854d10faeb Mon Sep 17 00:00:00 2001
From: zhuzhuanzhuan
Date: 星期四, 14 十二月 2023 14:12:45 +0800
Subject: [PATCH] 1、调整车间看板页面详情弹窗描述列表内容字段 2、报警分析页面在原有表格中为每个报警号增加子表格,内容为出现此报警号的设备ID以及报警时间等 3、报警分析页面表格请求数据设置加载中动画 4、调整设备参数阈值管理页面添加或编辑阈值上下限输入框为数字输入框,避免上下限数字比较大小时出现问题

---
 src/views/eam/EquipmentMaintenancePlanList.vue |   10 +++-------
 1 files changed, 3 insertions(+), 7 deletions(-)

diff --git a/src/views/eam/EquipmentMaintenancePlanList.vue b/src/views/eam/EquipmentMaintenancePlanList.vue
index edbe67b..1e32c5e 100644
--- a/src/views/eam/EquipmentMaintenancePlanList.vue
+++ b/src/views/eam/EquipmentMaintenancePlanList.vue
@@ -102,7 +102,7 @@
 
     <a-tabs defaultActiveKey="1">
       <a-tab-pane tab="淇濆吇璁″垝鏄庣粏" key="1" >
-        <EquipmentMaintenancePlanDetailList :mainId="equipmentMaintenancePlanDetailMainId" />
+        <EquipmentMaintenancePlanDetailList :mainId="equipmentMaintenancePlanDetailMainId" :mainStatus="mainStatus" />
       </a-tab-pane>
     </a-tabs>
 
@@ -164,9 +164,6 @@
             title:'鍒涘缓鏃堕棿',
             align:"center",
             dataIndex: 'createTime',
-            customRender:function (text) {
-              return !text?"":(text.length>10?text.substr(0,10):text)
-            },
             width:200,
           },
           {
@@ -179,9 +176,6 @@
             title:'淇敼鏃堕棿',
             align:"center",
             dataIndex: 'updateTime',
-            customRender:function (text) {
-              return !text?"":(text.length>10?text.substr(0,10):text)
-            },
             width:200,
           },
           {
@@ -221,6 +215,7 @@
         selectedMainId:'',
         superFieldList:[],
         equipmentMaintenancePlanDetailMainId: '',
+        mainStatus:'',
       }
     },
     created() {
@@ -253,6 +248,7 @@
         this.selectedRowKeys = selectedRowKeys;
         this.selectionRows = selectionRows;
         this.equipmentMaintenancePlanDetailMainId = selectionRows[0]['id']
+        this.mainStatus = selectionRows[0]['status']
       },
       loadData(arg) {
         if(!this.url.list){

--
Gitblit v1.9.3