perf: 优化任务列表展示
This commit is contained in:
@@ -23,6 +23,7 @@ function TaskList() {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
interval: 30000,
|
||||||
...crudCommonOptions(),
|
...crudCommonOptions(),
|
||||||
...paginationTemplate(15),
|
...paginationTemplate(15),
|
||||||
columns: [
|
columns: [
|
||||||
@@ -38,6 +39,7 @@ function TaskList() {
|
|||||||
{
|
{
|
||||||
name: 'status',
|
name: 'status',
|
||||||
label: '状态',
|
label: '状态',
|
||||||
|
align: 'center',
|
||||||
width: 100,
|
width: 100,
|
||||||
...remoteMappings('task_status', 'status'),
|
...remoteMappings('task_status', 'status'),
|
||||||
},
|
},
|
||||||
@@ -45,7 +47,7 @@ function TaskList() {
|
|||||||
name: 'step',
|
name: 'step',
|
||||||
label: '进度',
|
label: '进度',
|
||||||
type: 'progress',
|
type: 'progress',
|
||||||
showLabel: false,
|
width: 200,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '耗时',
|
label: '耗时',
|
||||||
|
|||||||
Reference in New Issue
Block a user