Vue.component("ip-list-table", { props: ["v-items", "v-keyword", "v-show-search-button"], data: function () { return { items: this.vItems, keyword: (this.vKeyword != null) ? this.vKeyword : "" } }, methods: { updateItem: function (itemId) { this.$emit("update-item", itemId) }, deleteItem: function (itemId) { this.$emit("delete-item", itemId) }, viewLogs: function (itemId) { teaweb.popup("/servers/iplists/accessLogsPopup?itemId=" + itemId, { width: "50em", height: "30em" }) } }, template: `
| IP | 类型 | 级别 | 过期时间 | 备注 | 操作 |
|---|---|---|---|---|---|
|
添加于 {{item.createdTime}}
@
[黑白名单:{{item.list.name}}]
[黑白名单:{{item.list.name}}
[服务:{{item.policy.server.name}}]
[服务:{{item.policy.server.name}}]
[策略:{{item.policy.name}}]
|
IPv4 IPv4 IPv6 所有IP | {{item.eventLevelName}} - |
{{item.expiredTime}}
不过期
已过期
|
{{item.reason}} - | 日志 修改 删除 |