Commit 9e531f47c0c04ba6c1532c8a55a738e9430a2c85
Merge branch 'fix/scheduled-log' into 'main_dev'
fix: 修复调度日志任务组名回显不正确 See merge request yunteng/thingskit-front!689
Showing
1 changed file
with
2 additions
and
6 deletions
| ... | ... | @@ -86,12 +86,8 @@ export const columnSchedue: BasicColumn[] = [ |
| 86 | 86 | title: '任务组名', |
| 87 | 87 | dataIndex: 'jobGroup', |
| 88 | 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 | { | ... | ... |