fix:修改 alertRule的相关bug

This commit is contained in:
zhangyu
2021-05-12 19:07:07 +08:00
parent 613e65ca7b
commit cd505a0d05
7 changed files with 13 additions and 12 deletions

View File

@@ -489,14 +489,14 @@ export default {
exportCur () {
const searchLabel = Object.assign({}, this.searchLabel)
this.$set(searchLabel, 'language', localStorage.getItem('nz-language') ? localStorage.getItem('nz-language') : 'en')
this.exportExcel(searchLabel)
this.exportExcel({ ...searchLabel, state: this.state })
this.closeDialog()
},
exportAll () {
const temp = JSON.parse(JSON.stringify(this.searchLabel))
temp.pageSize = -1
this.$set(temp, 'language', localStorage.getItem('nz-language') ? localStorage.getItem('nz-language') : 'en')
this.exportExcel(temp)
this.exportExcel({ ...temp, state: this.state })
this.closeDialog()
},
getTimeString () {