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() { // 导出到Excel handleExportToExcel() { document.querySelectorAll('table.import-table').forEach(element => { console.log('element', element.id) $(element).table2excel({