fix(web): 修复列表 mapping 无法正常显示
This commit is contained in:
@@ -19,8 +19,8 @@ function tableTab() {
|
||||
direction: '${orderDir|default:undefined}',
|
||||
search_flink_job_id: '${flinkJobId|default:undefined}',
|
||||
search_alias: '${alias|default:undefined}',
|
||||
filter_run_mode: '${run_mode|default:undefined}',
|
||||
filter_compaction_status: '${compaction_status|default:undefined}'
|
||||
filter_run_mode: '${flinkJob\\.runMode|default:undefined}',
|
||||
filter_compaction_status: '${syncState\\.compactionStatus|default:undefined}'
|
||||
}
|
||||
},
|
||||
syncLocation: false,
|
||||
@@ -145,7 +145,7 @@ function tableTab() {
|
||||
],
|
||||
},
|
||||
{
|
||||
name: 'run_mode',
|
||||
name: 'flinkJob.runMode',
|
||||
label: '表类型',
|
||||
width: 60,
|
||||
align: 'center',
|
||||
@@ -197,21 +197,13 @@ function tableTab() {
|
||||
width: 75,
|
||||
},
|
||||
{
|
||||
name: 'compaction_status',
|
||||
name: 'syncState.compactionStatus',
|
||||
label: '压缩状态',
|
||||
width: 60,
|
||||
align: 'center',
|
||||
...mappingField('syncState.compactionStatus', compactionStatusMapping),
|
||||
filterable: filterableField(compactionStatusMapping, true),
|
||||
className: 'bg-cyan-50',
|
||||
/*filterable: {
|
||||
multiple: true,
|
||||
options: [
|
||||
{label: '调度', value: 'SCHEDULE'},
|
||||
{label: '开始', value: 'START'},
|
||||
{label: '完成', value: 'FINISH'},
|
||||
{label: '失败', value: 'FAIL'},
|
||||
]
|
||||
}*/
|
||||
},
|
||||
{
|
||||
name: 'compaction_start_time',
|
||||
|
||||
Reference in New Issue
Block a user