refactor(web): 优化字段显示

This commit is contained in:
2024-01-04 16:42:32 +08:00
parent efcb40b31e
commit a95aa5fc53
4 changed files with 5 additions and 6 deletions

View File

@@ -105,7 +105,7 @@ function overviewYarnJob(cluster, search, queue, yarnQueue) {
{
type: 'tpl',
className: 'mr-1 font-bold',
tpl: `\${PADSTART('${cluster}', 7)}`,
tpl: `\${PADSTART('${cluster}', 3)}`,
},
queue === undefined ? {} : {
type: 'service',
@@ -231,7 +231,6 @@ function overviewTab() {
},
{type: 'divider'},
'<span class="italic text-gray-500 my-2">集群 (集群总资源使用,队列资源使用)(总任务数,调度中任务数,运行中任务数,失败任务数)</span>',
overviewYarnJob('b5-sync', 'Sync', undefined, 'default'),
overviewYarnJob('b12', 'Sync', undefined, 'default'),
{type: 'divider'},
{