From 2cfe2f7e5c51dc4cb2c312bb8acc4d664779005d Mon Sep 17 00:00:00 2001
From: shimai <shimai@example.com>
Date: Mon, 09 Mar 2026 14:58:05 +0800
Subject: [PATCH] refactor:重构状态等逻辑

---
 web-app/src/components/dashboard/TopSection.jsx |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/web-app/src/components/dashboard/TopSection.jsx b/web-app/src/components/dashboard/TopSection.jsx
index fe61d02..bc55e94 100644
--- a/web-app/src/components/dashboard/TopSection.jsx
+++ b/web-app/src/components/dashboard/TopSection.jsx
@@ -10,11 +10,11 @@
   const timeline = caseData || {};
   
   // 从 timeline 中获取数据,提供默认值
-  const caseNumber = timeline.case_ref || 'LD-2026-0014';
-  const disputeType = timeline.case_type_first_name || '劳动争议/拖欠、克扣工资';
-  const startTime = timeline.mediation?.start_date || '2026-01-15 09:30';
-  const endTime = timeline.mediation?.end_date || '2026-01-15 11:00';
-  const aiStatus = translateMediationState(timeline.mediation?.state) || 'AI调解中';
+  const caseNumber = timeline.case_ref || '---';
+  const disputeType = timeline.case_type_first_name || '---';
+  const startTime = timeline.mediation?.start_date || '---';
+  const endTime = timeline.mediation?.end_date || '---';
+  const aiStatus = translateMediationState(timeline.mediation?.state) || '---';
 
   return (
     <section className="top-section">

--
Gitblit v1.8.0