update 封装通用下载方法简化下载使用

This commit is contained in:
疯狂的狮子li
2021-09-27 17:24:37 +08:00
parent 75b22e9a23
commit 99dcbe0207
17 changed files with 44 additions and 116 deletions

View File

@ -643,7 +643,7 @@ export default {
},
/** 导出按钮操作 */
handleExport() {
this.downLoadExcel('/system/user/export', this.queryParams);
this.$download.excel('/system/user/export', this.queryParams);
},
/** 导入按钮操作 */
handleImport() {
@ -652,7 +652,7 @@ export default {
},
/** 下载模板操作 */
importTemplate() {
this.downLoadExcel('/system/user/importTemplate');
this.$download.excel('/system/user/importTemplate');
},
// 文件上传中处理
handleFileUploadProgress(event, file, fileList) {