mirror of
https://github.com/jumpserver/lina.git
synced 2026-01-25 06:15:08 +00:00
Compare commits
2 Commits
v4.10.15-l
...
v3.10.11
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f9f40cb3c9 | ||
|
|
93ea7f034a |
@@ -126,7 +126,6 @@ export default {
|
||||
filterTags: {
|
||||
handler() {
|
||||
this.$emit('tag-search', this.filterMaps)
|
||||
this.$eventBus.$emit('TagSearch', this.filterMaps)
|
||||
},
|
||||
deep: true
|
||||
},
|
||||
|
||||
@@ -81,7 +81,7 @@ export default {
|
||||
},
|
||||
{
|
||||
label: this.$t('common.Version'),
|
||||
value: 'version-dev'
|
||||
value: 'v3.10.11'
|
||||
},
|
||||
{
|
||||
label: this.$t('common.PermissionCompany'),
|
||||
|
||||
@@ -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