feature(web): 优化 yarn 页面显示

This commit is contained in:
2023-06-02 16:04:49 +08:00
parent 7d44c24b55
commit a894484a4c
4 changed files with 53 additions and 36 deletions

View File

@@ -36,6 +36,7 @@ function queueCrud(name) {
{
name: 'data.alias',
label: '别名',
className: 'nowrap',
...copyField('data.alias')
},
{
@@ -49,19 +50,21 @@ function queueCrud(name) {
name: 'priority',
label: '优先级',
width: 60,
align: 'center',
type: 'tpl',
tpl: '<span class="label bg-info">${priority}</span>'
},
{
name: 'data.comment',
label: '备注',
width: 150,
className: 'nowrap',
},
{
name: 'createTime',
label: '任务提交时间',
...time('createTime'),
width: 140,
fixed: 'right'
},
]
}