Commit e40441df0ed224bb6ee5cb639527e7facda7160f

Authored by ww
1 parent f77f5c45

fix: 修复调度日志任务组名回显不正确

@@ -86,12 +86,8 @@ export const columnSchedue: BasicColumn[] = [ @@ -86,12 +86,8 @@ export const columnSchedue: BasicColumn[] = [
86 title: '任务组名', 86 title: '任务组名',
87 dataIndex: 'jobGroup', 87 dataIndex: 'jobGroup',
88 width: 120, 88 width: 120,
89 - format: (_text: string, record: Recordable) => {  
90 - return record.jobGroup === EJobGroup.DEFAULT  
91 - ? '默认'  
92 - : record.jobGroup === EJobGroup.SYSTEM  
93 - ? '系统'  
94 - : '报表'; 89 + format: (text: string) => {
  90 + return EJobGroupName[text] || EJobGroupName.REPORT;
95 }, 91 },
96 }, 92 },
97 { 93 {