|
@@ -244,7 +244,6 @@ export default {
|
|
|
},
|
|
|
// 导出
|
|
|
handleExport () {
|
|
|
- this.loading = true
|
|
|
const params = {
|
|
|
beginDate: this.searchForm.beginDate == null ? getDate.getToday().starttime : this.searchForm.beginDate,
|
|
|
endDate: this.searchForm.endDate == null ? getDate.getToday().endtime : this.searchForm.endDate,
|
|
@@ -261,8 +260,8 @@ export default {
|
|
|
this.$message.error('单次最多只能导出3个月的数据,请缩小查询区间后再进行导出!')
|
|
|
return
|
|
|
}
|
|
|
+ this.loading = true
|
|
|
settlementRecordsExport(params).then(res => {
|
|
|
- console.log(res)
|
|
|
this.loading = false
|
|
|
this.download(res)
|
|
|
})
|