v3.8.0 新增通用方法简化下载使用

This commit is contained in:
YunaiV
2022-02-17 14:28:43 +08:00
parent fee6d00ecf
commit 02a0ab6d6d
28 changed files with 78 additions and 90 deletions

View File

@ -417,7 +417,7 @@ export default {
this.$modal.confirm('是否确认导出所有支付应用信息数据项?').then(function () {
return exportAppExcel(params);
}).then(response => {
this.downloadExcel(response, '支付应用信息.xls');
this.$download.excel(response, '支付应用信息.xls');
}).catch(() => {});
},
/**

View File

@ -279,7 +279,7 @@ export default {
this.exportLoading = true;
return exportMerchantExcel(params);
}).then(response => {
this.downloadExcel(response, '支付商户信息.xls');
this.$download.excel(response, '支付商户信息.xls');
this.exportLoading = false;
}).catch(() => {});
}

View File

@ -423,7 +423,7 @@ export default {
this.$modal.confirm('是否确认导出所有支付订单数据项?').then(function () {
return exportOrderExcel(params);
}).then(response => {
this.downloadExcel(response, '支付订单.xls');
this.$download.excel(response, '支付订单.xls');
}).catch(() => {});
},
/**

View File

@ -427,7 +427,7 @@ export default {
this.$modal.confirm('是否确认导出所有退款订单数据项?').then(function () {
return exportRefundExcel(params);
}).then(response => {
this.downloadExcel(response, '退款订单.xls');
this.$download.excel(response, '退款订单.xls');
}).catch(() => {});
},
/**