Vue.component("ip-list-table", { props: ["v-items", "v-keyword"], 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: `
` })