refactor(web): 优化字段显示
This commit is contained in:
@@ -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'},
|
||||
{
|
||||
|
||||
@@ -21,7 +21,7 @@ function queueCrud(name) {
|
||||
{
|
||||
name: 'data.flinkJobId',
|
||||
label: '任务 ID',
|
||||
width: 170,
|
||||
width: 190,
|
||||
...copyField('data.flinkJobId')
|
||||
},
|
||||
{
|
||||
@@ -54,7 +54,7 @@ function queueCrud(name) {
|
||||
name: 'createTime',
|
||||
label: '任务提交时间',
|
||||
...time('createTime'),
|
||||
width: 140,
|
||||
width: 160,
|
||||
fixed: 'right'
|
||||
},
|
||||
]
|
||||
|
||||
@@ -70,7 +70,7 @@ function tableTab() {
|
||||
columns: [
|
||||
{
|
||||
label: 'Flink job id',
|
||||
width: 190,
|
||||
width: 195,
|
||||
fixed: 'left',
|
||||
type: 'wrapper',
|
||||
size: 'none',
|
||||
|
||||
@@ -90,7 +90,7 @@ function versionTab() {
|
||||
columns: [
|
||||
{
|
||||
label: 'Flink job id',
|
||||
width: 170,
|
||||
width: 195,
|
||||
fixed: 'left',
|
||||
type: 'wrapper',
|
||||
size: 'none',
|
||||
|
||||
Reference in New Issue
Block a user