From 2c856b6432b3308bf62199dbdaead47d04041a53 Mon Sep 17 00:00:00 2001 From: fengchenchen Date: Thu, 20 Jul 2023 22:03:10 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90update=E3=80=91-=E4=BC=9A=E8=AE=AE?= =?UTF-8?q?=E6=8A=A5=E5=90=8D=E4=BF=A1=E6=81=AF=E5=AF=BC=E5=87=BA=E5=8A=A0?= =?UTF-8?q?=E6=8E=92=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/incomePayments/meetManage/Attendance.vue | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/views/incomePayments/meetManage/Attendance.vue b/src/views/incomePayments/meetManage/Attendance.vue index 0e1a905..1ab7ff3 100644 --- a/src/views/incomePayments/meetManage/Attendance.vue +++ b/src/views/incomePayments/meetManage/Attendance.vue @@ -350,6 +350,7 @@ import StatusSlot from '@comp/tools/StatusSlot' import PreviewFile from '@comp/jero/PreviewFile' import JImageUpload from '@comp/jero/JImageUpload' import SetGuessUploadFlagModal from './modules/SetGuessUploadFlagModal' +import { downloadFile } from '../../../api/manage' export default { @@ -751,6 +752,19 @@ export default { this.$refs.auditModal.title = '审核报名信息' this.$refs.auditModal.open(record, true) }, + // 导出参会人信息 + handleExportXls(fileName) { + if (!fileName || typeof fileName != 'string') { + fileName = '导出文件' + } + let param = this.getQueryParams() + if (this.selectedRowKeys && this.selectedRowKeys.length > 0) { + param['selections'] = this.selectedRowKeys.join(',') + } + // 增加特有的企业名称排序 + param.column = 'companyName' + downloadFile(this.url.exportXlsUrl, fileName + '.xlsx', param) + }, /* * 导入参会人 * */