From cbcff3e56c65e8b0d10498571f2705a5ae730ff9 Mon Sep 17 00:00:00 2001
From: “linengliang” <vanSuperEnergy@163.com>
Date: 星期三, 06 九月 2023 10:42:34 +0800
Subject: [PATCH] 导入字段校验调整

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

diff --git a/src/views/eam/DailyMaintenanceOrderList3m.vue b/src/views/eam/DailyMaintenanceOrderList3m.vue
index 7ed5b7f..094356d 100644
--- a/src/views/eam/DailyMaintenanceOrderList3m.vue
+++ b/src/views/eam/DailyMaintenanceOrderList3m.vue
@@ -55,6 +55,27 @@
         icon="plus"
         v-has="'dailyMaintenanceOrder:add'"
       >鏂板</a-button>
+      <a-button
+        v-if="selectedRowKeys.length == 1 && selectionRows[0].status == '8'"
+        @click="handlePrintPrecision(selectionRows[0])"
+        type="primary"
+        style="margin-left: 8px"
+      >绮惧害妫�楠屽崟鎵撳嵃
+      </a-button>
+      <a-button
+        v-if="selectedRowKeys.length == 1 && selectionRows[0].status == '8'"
+        @click="handlePrintCheck(selectionRows[0])"
+        type="primary"
+        style="margin-left: 8px"
+      >楠屾敹鍗曟墦鍗�
+      </a-button>
+      <a-button
+        v-if="selectedRowKeys.length == 1 && selectionRows[0].status == '8'"
+        @click="handlePrintInfo(selectionRows[0])"
+        type="primary"
+        style="margin-left: 8px"
+      >绉讳氦鍗曟墦鍗�
+      </a-button>
       <!-- <a-button
         v-if="selectedRowKeys.length > 0"
         type="primary"
@@ -500,6 +521,23 @@
       this.selectionRows = selectionRows;
     },
 
+    handlePrintPrecision(record) {
+      let href = `${window._CONFIG['domianURL']}/jmreport/view/858844938446508032?id=`+record.id; //缃戠珯閾炬帴
+      window.open(href, "_blank");
+    },
+
+    handlePrintCheck(record) {
+      let href = `${window._CONFIG['domianURL']}/jmreport/view/858867141388996608?id=`+record.id; //缃戠珯閾炬帴
+      window.open(href, "_blank");
+    },
+
+
+    handlePrintInfo(record) {
+      let href = `${window._CONFIG['domianURL']}/jmreport/view/858930685061042176?id=`+record.id; //缃戠珯閾炬帴
+      window.open(href, "_blank");
+    },
+
+
     handleOrderExe(record) {
       this.$refs.DailyMaintenanceOrderExeDrawer.visible = true
       this.$refs.DailyMaintenanceOrderExeDrawer.title = '鏃ュ父淇濆吇宸ュ崟鎵ц'

--
Gitblit v1.9.3