From a9f005e2af294c47d7cd1e4b6ed401bf65f5b080 Mon Sep 17 00:00:00 2001
From: zhangherong <571457620@qq.com>
Date: 星期二, 04 三月 2025 16:44:09 +0800
Subject: [PATCH] art: 所有设备 台账 二保工单 根据设备id查询二保工单,并过滤掉已完成和已取消的二保工单

---
 src/views/eam/DailyInspectionStandardList.vue |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/src/views/eam/DailyInspectionStandardList.vue b/src/views/eam/DailyInspectionStandardList.vue
index 8ce3764..7eb48de 100644
--- a/src/views/eam/DailyInspectionStandardList.vue
+++ b/src/views/eam/DailyInspectionStandardList.vue
@@ -87,6 +87,12 @@
         icon="download"
       >妯$増涓嬭浇</a-button>
       <a-button
+        v-show="selectedRowKeys.length == 1 "
+        type="primary"
+        @click="handlePrint(selectionRows[0])"
+        icon="highlight"
+      >妯$増鎵撳嵃</a-button>
+      <a-button
         type="primary"
         @click="searchQuery"
         icon="search"
@@ -712,6 +718,11 @@
       })
     },
 
+    handlePrint(record) {
+      let href = `${window._CONFIG['domianURL']}/jmreport/view/934677113625829376?id=` + record.id; //缃戠珯閾炬帴
+      window.open(href, "_blank");
+    },
+
   }
 }
 </script>

--
Gitblit v1.9.3