# 优化下载业务逻辑
This commit is contained in:
parent
b2ac5951f2
commit
dd6032672e
|
@ -173,8 +173,9 @@ export default {
|
|||
return
|
||||
}
|
||||
this.downloadLoading = true
|
||||
this.logsListQuery.limit = 10000
|
||||
await this.getDeviceLogs(this.logsListQuery, 'export')
|
||||
const exportQuery = Object.assign({}, this.logsListQuery)
|
||||
exportQuery.limit = 5000
|
||||
await this.getDeviceLogs(exportQuery, 'export')
|
||||
this.filename = 'Device Log List ' + String(start).replace(/-/g, '') + '_' + String(end).replace(/-/g, '') + '.xlsx'
|
||||
|
||||
import('@/vendor/Export2Excel').then(excel => {
|
||||
|
|
Loading…
Reference in New Issue