2020-11-02 14:37:28 +08:00
|
|
|
Tea.context(function () {
|
|
|
|
|
this.$delay(function () {
|
|
|
|
|
let that = this
|
|
|
|
|
teaweb.datepicker("day-input", function (day) {
|
|
|
|
|
that.day = day
|
|
|
|
|
})
|
|
|
|
|
})
|
2021-01-20 14:19:10 +08:00
|
|
|
|
|
|
|
|
let that = this
|
|
|
|
|
this.accessLogs.forEach(function (accessLog) {
|
|
|
|
|
if (typeof (that.regions[accessLog.remoteAddr]) == "string") {
|
|
|
|
|
accessLog.region = that.regions[accessLog.remoteAddr]
|
|
|
|
|
} else {
|
|
|
|
|
accessLog.region = ""
|
|
|
|
|
}
|
2022-04-21 19:45:25 +08:00
|
|
|
if (accessLog.firewallRuleSetId > 0 && typeof (that.wafInfos[accessLog.firewallRuleSetId]) == "object") {
|
|
|
|
|
accessLog.wafInfo = that.wafInfos[accessLog.firewallRuleSetId]
|
|
|
|
|
} else {
|
|
|
|
|
accessLog.wafInfo = null
|
|
|
|
|
}
|
2021-01-20 14:19:10 +08:00
|
|
|
})
|
2020-11-02 14:37:28 +08:00
|
|
|
})
|