【update】-会议报名信息导出加排序

This commit is contained in:
fengchenchen
2023-07-20 22:03:10 +08:00
parent 909300de02
commit 2c856b6432
@@ -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)
},
/*
* 导入参会人
* */