mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-08-03 04:44:06 +08:00
v3.8.0 新增通用方法简化下载使用
This commit is contained in:
@@ -282,7 +282,7 @@ export default {
|
||||
this.exportLoading = true;
|
||||
return exportSmsLogExcel(params);
|
||||
}).then(response => {
|
||||
this.downloadExcel(response, '短信日志.xls');
|
||||
this.$download.excel(response, '短信日志.xls');
|
||||
this.exportLoading = false;
|
||||
}).catch(() => {});
|
||||
},
|
||||
|
@@ -334,7 +334,7 @@ export default {
|
||||
this.exportLoading = true;
|
||||
return exportSmsTemplateExcel(params);
|
||||
}).then(response => {
|
||||
this.downloadExcel(response, '短信模板.xls');
|
||||
this.$download.excel(response, '短信模板.xls');
|
||||
this.exportLoading = false;
|
||||
}).catch(() => {});
|
||||
},
|
||||
|
Reference in New Issue
Block a user