mirror of
https://github.com/jumpserver/lina.git
synced 2025-08-02 07:27:01 +00:00
perf: 增加celery输出
This commit is contained in:
parent
4c8819c039
commit
1c80faede4
@ -4,6 +4,7 @@
|
||||
|
||||
<script type="text/jsx">
|
||||
import ListTable from '@/components/ListTable'
|
||||
import { openTaskPage } from '@/utils/jms'
|
||||
|
||||
export default {
|
||||
name: 'TaskHistory',
|
||||
@ -21,13 +22,9 @@ export default {
|
||||
tableConfig: {
|
||||
url: `/api/v1/ops/task-executions/?task_id=${this.object.id}`,
|
||||
columns: [
|
||||
'date_start', 'date_finished', 'state', 'is_finished', 'actions'
|
||||
'date_start', 'date_finished', 'is_success', 'is_finished', 'actions'
|
||||
],
|
||||
columnsMeta: {
|
||||
state: {
|
||||
formatter: (row) => {
|
||||
}
|
||||
},
|
||||
actions: {
|
||||
prop: 'id',
|
||||
formatterArgs: {
|
||||
@ -38,10 +35,10 @@ export default {
|
||||
extraActions: [
|
||||
{
|
||||
name: 'detail',
|
||||
title: this.$t('ops.detail'),
|
||||
title: this.$t('ops.output'),
|
||||
type: 'primary',
|
||||
callback: function({ row, tableData }) {
|
||||
return this.$router.push({ name: 'HistoryExecutionDetail', params: { id: row.id }})
|
||||
openTaskPage(row.id)
|
||||
}
|
||||
}
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user