[操作日志]操作日志可以导出为Excel

This commit is contained in:
GoEdgeLab
2020-11-20 17:08:10 +08:00
parent f4409363f0
commit f8b6116c73
6 changed files with 142 additions and 4 deletions

View File

@@ -11,4 +11,11 @@ Tea.context(function () {
this.showMore = function (log) {
log.moreVisible = !log.moreVisible
}
this.exportExcel = function () {
let that = this
teaweb.confirm("确定要将当前列表导出到Excel吗", function () {
window.location = "/log/exportExcel?dayFrom=" + that.dayFrom + "&dayTo=" + that.dayTo + "&keyword=" + that.keyword
})
}
})