修改告警级别

This commit is contained in:
guanj
2026-01-08 19:20:32 +08:00
parent 4c9b677e81
commit 4cbd2e43cb
9 changed files with 210 additions and 48 deletions

View File

@@ -45,6 +45,7 @@ export default class TableStore {
pageSize: 20
},
loading: true,
exportLoading: false,
column: [],
loadCallback: null,
resetCallback: null,
@@ -196,6 +197,7 @@ export default class TableStore {
[
'export',
() => {
this.table.exportLoading = true
// this.index()
let params = { ...this.table.params, pageNum: 1, pageSize: this.table.total }
createAxios(
@@ -206,11 +208,16 @@ export default class TableStore {
},
requestPayload(this.method, params, this.paramsPOST)
)
).then(res => {
this.table.allData = filtration(res.data.records || res.data)
this.table.exportProcessingData && this.table.exportProcessingData()
this.table.allFlag = data.showAllFlag || true
})
)
.then(res => {
this.table.allData = filtration(res.data.records || res.data)
this.table.exportProcessingData && this.table.exportProcessingData()
this.table.allFlag = data.showAllFlag || true
this.table.exportLoading = false
})
.catch(() => {
this.table.exportLoading = false
})
}
]
])