# 修正filename
This commit is contained in:
parent
685df8f73b
commit
2e55a1729d
|
@ -165,7 +165,7 @@ export default {
|
||||||
this.downloadLoading = true
|
this.downloadLoading = true
|
||||||
this.logsListQuery.limit = 10000
|
this.logsListQuery.limit = 10000
|
||||||
await this.getDeviceLogs(this.logsListQuery, 'export')
|
await this.getDeviceLogs(this.logsListQuery, 'export')
|
||||||
this.filename = 'Device Log List ' + String(start).replace(/-/g, '') + '_' + String(end).replace(/-/, '') + '.xlsx'
|
this.filename = 'Device Log List ' + String(start).replace(/-/g, '') + '_' + String(end).replace(/-/g, '') + '.xlsx'
|
||||||
|
|
||||||
import('@/vendor/Export2Excel').then(excel => {
|
import('@/vendor/Export2Excel').then(excel => {
|
||||||
const tHeader = ['Id', 'Time', 'Device ID', 'Device Name', 'Signal', 'Count', 'Energy', 'Coordinate']
|
const tHeader = ['Id', 'Time', 'Device ID', 'Device Name', 'Signal', 'Count', 'Energy', 'Coordinate']
|
||||||
|
|
Loading…
Reference in New Issue