From d5b955494f6d658959e50b9e87ea7ebafb86c6d4 Mon Sep 17 00:00:00 2001
From: zhangherong <571457620@qq.com>
Date: 星期三, 05 三月 2025 17:13:09 +0800
Subject: [PATCH] art: 中心项 改为 必填

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

diff --git a/src/views/eam/DailyMaintenanceOrderList.vue b/src/views/eam/DailyMaintenanceOrderList.vue
index e4e31a8..a28acb3 100644
--- a/src/views/eam/DailyMaintenanceOrderList.vue
+++ b/src/views/eam/DailyMaintenanceOrderList.vue
@@ -1,7 +1,7 @@
 <template>
   <a-card
     :bordered="false"
-    title="浜岀骇淇濆吇"
+    title=""
   >
     <!-- 鏌ヨ鍖哄煙 -->
     <div class="table-page-search-wrapper">
@@ -100,18 +100,19 @@
         style="margin-left: 8px"
       >鏌ヨ</a-button>
       <a-button
-        type="primary"
+        type="info"
         @click="searchReset"
         icon="reload"
         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