mirror of
https://github.com/jumpserver/lina.git
synced 2026-01-29 21:28:52 +00:00
fix: 自动任务跳转执行列表显示结果不准确的问题
This commit is contained in:
@@ -57,7 +57,7 @@ export default {
|
||||
},
|
||||
getUrlQuery: {
|
||||
type: Boolean,
|
||||
default: () => true
|
||||
default: () => false
|
||||
},
|
||||
default: {
|
||||
type: Object,
|
||||
@@ -213,12 +213,10 @@ export default {
|
||||
delete routeFilter.search
|
||||
}
|
||||
const asFilterTags = _.cloneDeep(this.filterTags)
|
||||
setTimeout(() => {
|
||||
this.filterTags = {
|
||||
...asFilterTags,
|
||||
...routeFilter
|
||||
}
|
||||
}, 100)
|
||||
this.filterTags = {
|
||||
...asFilterTags,
|
||||
...routeFilter
|
||||
}
|
||||
},
|
||||
getValueLabel(key, value) {
|
||||
for (const field of this.options) {
|
||||
|
||||
@@ -99,6 +99,12 @@ export default {
|
||||
hasBulkUpdate: false
|
||||
}
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
const plan_id = this.$route.query.plan_id
|
||||
if (plan_id !== undefined) {
|
||||
this.tableConfig.url = `${this.tableConfig.url}?plan_id=${plan_id}`
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
@@ -119,6 +119,12 @@ export default {
|
||||
hasBulkUpdate: false
|
||||
}
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
const automation_id = this.$route.query.automation_id
|
||||
if (automation_id !== undefined) {
|
||||
this.tableConfig.url = `${this.tableConfig.url}?automation_id=${automation_id}`
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
@@ -101,6 +101,12 @@ export default {
|
||||
hasBulkUpdate: false
|
||||
}
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
const automation_id = this.$route.query.automation_id
|
||||
if (automation_id !== undefined) {
|
||||
this.tableConfig.url = `${this.tableConfig.url}?automation_id=${automation_id}`
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
@@ -119,6 +119,12 @@ export default {
|
||||
hasBulkUpdate: false
|
||||
}
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
const automation_id = this.$route.query.automation_id
|
||||
if (automation_id !== undefined) {
|
||||
this.tableConfig.url = `${this.tableConfig.url}?automation_id=${automation_id}`
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user