可以在运行日志页面中删除使用关键词匹配的运行日志

This commit is contained in:
刘祥超
2023-03-09 16:20:09 +08:00
parent a80e54e0b3
commit 395aa665d7
8 changed files with 107 additions and 2 deletions

View File

@@ -39,6 +39,7 @@ func (this *IndexAction) RunGet(params struct {
this.Data["dayFrom"] = params.DayFrom
this.Data["dayTo"] = params.DayTo
this.Data["keyword"] = params.Keyword
this.Data["searchedKeyword"] = params.Keyword
this.Data["level"] = params.Level
this.Data["type"] = params.Type
this.Data["tag"] = params.Tag
@@ -97,6 +98,8 @@ func (this *IndexAction) RunGet(params struct {
return
}
var count = countResp.Count
this.Data["countLogs"] = count
var page = this.NewPage(count)
this.Data["page"] = page.AsHTML()