mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-13 20:00:25 +08:00
可以在运行日志页面中删除使用关键词匹配的运行日志
This commit is contained in:
@@ -82,4 +82,23 @@ Tea.context(function () {
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
this.deleteLogs = function () {
|
||||
teaweb.confirm("确定要删除当前关键词\"" + this.searchedKeyword + "\"匹配的" + this.countLogs + "个运行日志?", function () {
|
||||
this.$post(".deleteAll")
|
||||
.params({
|
||||
dayFrom: this.dayFrom,
|
||||
dayTo: this.dayTo,
|
||||
keyword: this.keyword,
|
||||
level: this.level,
|
||||
type: this.type,
|
||||
tag: this.tag,
|
||||
clusterId: this.clusterId,
|
||||
nodeId: this.nodeId
|
||||
})
|
||||
.success(function () {
|
||||
teaweb.reload()
|
||||
})
|
||||
})
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user