-
- {/* 顶部统计区 */}
- {[
- { label: '累计会议记录', value: stats?.totalMeetings, icon: , color: '#1890ff' },
- { label: '当前分析中任务', value: stats?.processingTasks, icon: , color: '#faad14' },
- { label: '今日新增分析', value: stats?.todayNew, icon: , color: '#52c41a' },
- { label: 'AI 处理成功率', value: `${stats?.successRate || 100}%`, icon: , color: '#13c2c2' },
- ].map((s, idx) => (
+ {statCards.map((s, idx) => (
- {s.label}}
- value={s.value || 0}
+ {s.label}}
+ value={s.value || 0}
valueStyle={{ color: s.color, fontWeight: 700 }}
- prefix={React.cloneElement(s.icon as React.ReactElement, { style: { marginRight: 8 } })}
+ prefix={React.cloneElement(s.icon as React.ReactElement, { style: { marginRight: 8 } })}
/>
))}
- {/* 核心任务流 - 垂直卡片列表 */}
-
最近任务动态
}
- bordered={false}
+ bordered={false}
style={{ borderRadius: 16, boxShadow: '0 4px 20px rgba(0,0,0,0.04)' }}
>
(
- {/* 左:会议基础信息 */}
navigate(`/meetings/${item.id}`)}>
{item.title}
}>
- {dayjs(item.meetingTime).format('MM-DD HH:mm')}
- {item.participants || '系统记录'}
+ {dayjs(item.meetingTime).format('MM-DD HH:mm')}
+ {item.participants || item.creatorName || '未指定'}
- {item.tags?.split(',').filter(Boolean).map(t => {t})}
+ {item.tags?.split(',').filter(Boolean).map((t) => (
+ {t}
+ ))}
- {/* 中:线性进度条 */}
{renderTaskProgress(item)}
- {/* 右:操作入口 */}
- : }
onClick={() => navigate(`/meetings/${item.id}`)}
@@ -193,8 +203,7 @@ const Dashboard: React.FC = () => {
-
- {/* 进度实时展示 */}
+
@@ -203,6 +212,7 @@ const Dashboard: React.FC = () => {
/>
+
- {/* 修改基础信息弹窗 - 仅限 Owner */}
{isOwner && (
-