mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-13 20:00:25 +08:00
[日志审计]增加删除、清理和别的一些设置
This commit is contained in:
@@ -18,4 +18,15 @@ Tea.context(function () {
|
||||
window.location = "/log/exportExcel?dayFrom=" + that.dayFrom + "&dayTo=" + that.dayTo + "&keyword=" + that.keyword
|
||||
})
|
||||
}
|
||||
|
||||
this.deleteLog = function (logId) {
|
||||
let that = this
|
||||
teaweb.confirm("确定要删除此日志吗?", function () {
|
||||
that.$post(".delete")
|
||||
.params({
|
||||
logId: logId
|
||||
})
|
||||
.refresh()
|
||||
})
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user