mirror of
https://github.com/jumpserver/lina.git
synced 2026-01-13 19:35:24 +00:00
Compare commits
1 Commits
v4.10.14-l
...
v3.10.11-l
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
93ea7f034a |
@@ -126,7 +126,6 @@ export default {
|
||||
filterTags: {
|
||||
handler() {
|
||||
this.$emit('tag-search', this.filterMaps)
|
||||
this.$eventBus.$emit('TagSearch', this.filterMaps)
|
||||
},
|
||||
deep: true
|
||||
},
|
||||
|
||||
@@ -201,9 +201,6 @@ export default {
|
||||
return Object.assign({}, this.defaultTicketActions, this.extraTicketAction)
|
||||
}
|
||||
},
|
||||
created() {
|
||||
this.$eventBus.$on('TagSearch', this.handleTagSearchEvent)
|
||||
},
|
||||
mounted() {
|
||||
setTimeout(() => {
|
||||
this.loading = false
|
||||
@@ -212,14 +209,6 @@ export default {
|
||||
methods: {
|
||||
reloadTable() {
|
||||
this.$refs.ListPage.$refs.ListTable.$refs.ListTable.reloadTable()
|
||||
},
|
||||
handleTagSearchEvent(tags) {
|
||||
if (tags.hasOwnProperty('state')) {
|
||||
const delimiter = this.url.indexOf('?') === -1 ? '?' : '&'
|
||||
this.ticketTableConfig.url = `${this.url}${delimiter}state=${tags.state}`
|
||||
} else {
|
||||
this.ticketTableConfig.url = this.url
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user