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

This commit is contained in:
刘祥超
2020-11-20 17:08:10 +08:00
parent db1a37e0c2
commit 71feb97c09
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
})
}
})