|
@@ -397,6 +397,7 @@ export default {
|
|
|
year: this.year,
|
|
year: this.year,
|
|
|
month: this.month
|
|
month: this.month
|
|
|
}
|
|
}
|
|
|
|
|
+ this.loading = true
|
|
|
this.$api.dispatch.exportFile(data).then(res => {
|
|
this.$api.dispatch.exportFile(data).then(res => {
|
|
|
if (res.size === 0 || Object.hasOwn(res, 'code')) {
|
|
if (res.size === 0 || Object.hasOwn(res, 'code')) {
|
|
|
this.$message.error('暂无文件或者下载错误,请稍后再试...')
|
|
this.$message.error('暂无文件或者下载错误,请稍后再试...')
|