Commit 9e531f47c0c04ba6c1532c8a55a738e9430a2c85

Authored by xp.Huang
2 parents 01e68456 e40441df

Merge branch 'fix/scheduled-log' into 'main_dev'

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

See merge request yunteng/thingskit-front!689
@@ -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 {