重构消息通知弹窗

This commit is contained in:
dengqichen 2025-11-28 16:42:53 +08:00
parent 9292cde650
commit 52d1f0ef27
2 changed files with 6 additions and 0 deletions

View File

@ -127,6 +127,7 @@ const ScheduleJobList: React.FC = () => {
// 列定义
const columns: ColumnDef<ScheduleJobResponse>[] = useMemo(() => [
{ key: 'id', title: 'ID', dataIndex: 'id', width: '80px' },
{ key: 'jobName', title: '任务名称', width: '180px', dataIndex: 'jobName', className: 'font-medium whitespace-nowrap' },
{ key: 'category', title: '任务分类', width: '120px', className: 'whitespace-nowrap', render: (_, record) => record.category?.name || '-' },
{ key: 'cronExpression', title: 'Cron表达式', width: '150px', className: 'whitespace-nowrap', render: (_, record) => <code className="text-xs bg-muted px-1 py-0.5 rounded">{record.cronExpression}</code> },

View File

@ -201,6 +201,11 @@ const TeamList: React.FC = () => {
};
const columns: Column[] = [
{
accessorKey: 'id',
header: 'ID',
size: 80,
},
{
accessorKey: 'teamCode',
header: '团队编码',