From 1bbc16b3f89e070f849d99522169fa813b49cf8b Mon Sep 17 00:00:00 2001
From: zhuzhuanzhuan
Date: 星期一, 25 九月 2023 10:21:02 +0800
Subject: [PATCH] 优化设备维修休假、假期、计划停机以及非计划停机管理页面导出功能

---
 src/views/mdc/base/modules/deviceRepair/DeviceRepairList.vue |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/views/mdc/base/modules/deviceRepair/DeviceRepairList.vue b/src/views/mdc/base/modules/deviceRepair/DeviceRepairList.vue
index f4c5aa5..528dff2 100644
--- a/src/views/mdc/base/modules/deviceRepair/DeviceRepairList.vue
+++ b/src/views/mdc/base/modules/deviceRepair/DeviceRepairList.vue
@@ -26,7 +26,8 @@
             <a-button type="primary" @click="searchReset" icon="reload">閲嶇疆</a-button>
           </a-col>
           <a-col :lg="2" :md="3" :sm="3" :xs="3">
-            <a-button type="primary" @click="exportExcel" icon="download">瀵煎嚭</a-button>
+            <!--<a-button type="primary" @click="exportExcel" icon="download">瀵煎嚭</a-button>-->
+            <a-button type="primary" @click="handleExportXls('缁翠慨浼戠彮绠$悊')" icon="download">瀵煎嚭</a-button>
           </a-col>
         </a-row>
       </a-form>
@@ -163,6 +164,7 @@
           list: '/mdc/mdcEquipmentRepair/pageList',
           deleteBatch: '/mdc/mdcEquipmentRepair/delete',
           getEquipmentByPid: '/mdc/mdcequipment/getEquipmentByPid',
+          exportXlsUrl:'/mdc/mdcEquipmentRepair/exportXls'
         }
       }
     },
@@ -541,7 +543,7 @@
         $("#DeviceList").table2excel({
           exclude: ".noExl",
           name: "Excel Document Name",
-          filename: "璁惧缁翠慨璇︽儏",
+          filename: "缁翠慨浼戠彮绠$悊",
           exclude_img: true,
           fileext: ".xls",
           exclude_links: true,

--
Gitblit v1.9.3