Compare commits
2 Commits
97ee737f8c
...
9585033303
| Author | SHA1 | Date |
|---|---|---|
|
|
9585033303 | |
|
|
7b0e100f6c |
|
|
@ -209,7 +209,7 @@ const applyRealtimeSessionStatus = (item: MeetingVO, sessionStatus?: RealtimeMee
|
|||
return { ...item, realtimeSessionStatus: sessionStatus.status };
|
||||
};
|
||||
|
||||
const IntegratedStatusTag: React.FC<{ meeting: MeetingVO; progress: MeetingProgress | null }> = ({ meeting, progress }) => {
|
||||
const IntegratedStatusTag: React.FC<{ meeting: MeetingVO; progress: MeetingProgress | null; style?: React.CSSProperties }> = ({ meeting, progress, style }) => {
|
||||
const effectiveStatus = getEffectiveStatus(meeting, progress);
|
||||
const statusConfig: Record<number, { text: string; color: string; bgColor: string; icon: React.ReactNode }> = {
|
||||
0: { text: "数据初始化", color: "#8c8c8c", bgColor: "rgba(140, 140, 140, 0.1)", icon: <SyncOutlined spin /> },
|
||||
|
|
@ -243,7 +243,8 @@ const IntegratedStatusTag: React.FC<{ meeting: MeetingVO; progress: MeetingProgr
|
|||
border: `1px solid ${displayConfig.color}20`,
|
||||
gap: "4px",
|
||||
position: "relative",
|
||||
overflow: "hidden"
|
||||
overflow: "hidden",
|
||||
...style
|
||||
}}
|
||||
>
|
||||
{isProcessing && percent > 0 && (
|
||||
|
|
@ -270,7 +271,7 @@ const IntegratedStatusTag: React.FC<{ meeting: MeetingVO; progress: MeetingProgr
|
|||
};
|
||||
|
||||
const TableStatusCell: React.FC<{ meeting: MeetingVO; progress: MeetingProgress | null }> = ({ meeting, progress }) => {
|
||||
return <IntegratedStatusTag meeting={meeting} progress={progress} />;
|
||||
return <IntegratedStatusTag meeting={meeting} progress={progress} style={{ width: 155 }} />;
|
||||
};
|
||||
|
||||
const MeetingCardItem: React.FC<{
|
||||
|
|
@ -315,7 +316,7 @@ const MeetingCardItem: React.FC<{
|
|||
>
|
||||
{/* Top Section: Status & Source */}
|
||||
<div style={{ display: "flex", justifyContent: "space-between", alignItems: "center", marginBottom: 14 }}>
|
||||
<IntegratedStatusTag meeting={item} progress={progress} />
|
||||
<IntegratedStatusTag meeting={item} progress={progress} style={{ width: 155 }} />
|
||||
<div
|
||||
style={{
|
||||
display: "flex",
|
||||
|
|
|
|||
Loading…
Reference in New Issue