From 50e9a40ac746c7d46bd0b9f74e98d4d478cf5e64 Mon Sep 17 00:00:00 2001 From: lyh <925863403@qq.com> Date: 星期三, 10 九月 2025 15:43:22 +0800 Subject: [PATCH] 优化二保批量导入,改为返回文件让用户自己查询对应设备型号 --- src/views/eam/maintenance/modules/EamInspectionOrderBatchPrintModal.vue | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/views/eam/maintenance/modules/EamInspectionOrderBatchPrintModal.vue b/src/views/eam/maintenance/modules/EamInspectionOrderBatchPrintModal.vue index dbc9c10..5c5280e 100644 --- a/src/views/eam/maintenance/modules/EamInspectionOrderBatchPrintModal.vue +++ b/src/views/eam/maintenance/modules/EamInspectionOrderBatchPrintModal.vue @@ -111,7 +111,7 @@ <template slot="footer"> <a-button @click="handleCancel">鍏抽棴</a-button> - <a-button type="primary" @click="handleImport">瀵煎嚭</a-button> + <a-button type="primary" @click="handleExportToExcel">瀵煎嚭</a-button> <a-button type="primary" v-print="'#dataTable'">鎵撳嵃</a-button> </template> </j-modal> @@ -153,7 +153,8 @@ }) }, - handleImport() { + // 瀵煎嚭鍒癊xcel + handleExportToExcel() { document.querySelectorAll('table.import-table').forEach(element => { console.log('element', element.id) $(element).table2excel({ -- Gitblit v1.9.3