From 65a5e8c7ec6d6eab78b76c5831eaf40c30e23c61 Mon Sep 17 00:00:00 2001
From: zhaowei <zhaowei>
Date: 星期五, 13 九月 2024 14:56:50 +0800
Subject: [PATCH] 1、设备管理页面设备种类字段改成重要程度字段;新增设备异常状态字段,若表格记录的设备状态不为正常时,则标红此表格记录 2、设备利用率、设备开动率、班次利用率以及设备综合效率分析新增按照重要程度字段查询表格数据;左侧树数据新增参数key,用来过滤异常状态设备 3、设备利用率页面新增设备型号字段

---
 src/views/eam/DailyMaintenanceOrderList.vue |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/views/eam/DailyMaintenanceOrderList.vue b/src/views/eam/DailyMaintenanceOrderList.vue
index e4e31a8..f808790 100644
--- a/src/views/eam/DailyMaintenanceOrderList.vue
+++ b/src/views/eam/DailyMaintenanceOrderList.vue
@@ -106,12 +106,13 @@
         style="margin-left: 8px"
       >閲嶇疆</a-button>
       <a-button
-        v-show="selectedRowKeys.length == 1 && selectionRows[0].status == '8'"
+        v-show="selectedRowKeys.length == 1 && (selectionRows[0].status === '5' || selectionRows[0].status === '8')"
         @click="handlePrintInfo(selectionRows[0])"
         type="primary"
         style="margin-left: 8px"
       >绉讳氦鍗曟墦鍗�
       </a-button>
+      <!-- v-show="selectedRowKeys.length == 1 && selectionRows[0].status == '8'" -->
       <!-- <a-button
         v-show="selectedRowKeys.length > 0"
         type="primary"
@@ -540,7 +541,7 @@
     },
 
     handlePrintInfo(record) {
-      let href = `${window._CONFIG['domianURL']}/jmreport/view/857408393168490496?id=` + record.id; //缃戠珯閾炬帴
+      let href = `${window._CONFIG['domianURL']}/jmreport/view/934663658030161920?id=` + record.id; //缃戠珯閾炬帴
       window.open(href, "_blank");
     },
 
@@ -641,6 +642,7 @@
     },
 
     searchReset() {
+      this.onClearSelected();
       this.queryParam = { maintenanceType: '2' }
       this.loadData(1);
       this.finishTime = []

--
Gitblit v1.9.3