update 会议纪要和上传文件,没有文件可导出增加提示
This commit is contained in:
@@ -340,6 +340,11 @@ export default {
|
||||
},
|
||||
// 导出zip
|
||||
handleExportZip () {
|
||||
// 如果列表中没有数据,就提示
|
||||
if (this.fileList.length === 0) {
|
||||
this.$message.warning('暂无可导出文件')
|
||||
return
|
||||
}
|
||||
// 有勾选就导出勾选,没有勾选就导出所有
|
||||
const ids = this.selectedRowKeys.length ? this.selectedRowKeys.join(',') : this.fileList.map(item => item.id).join(',')
|
||||
downloadFileZip('sys/common/zipDownload', this.title + '.zip', {
|
||||
|
||||
Reference in New Issue
Block a user