From bc2b5cf668bbe6ebbb4f090bc476781d8630c2bb Mon Sep 17 00:00:00 2001
From: tony.cheng <chengmingwei_1984122@126.com>
Date: Thu, 12 Mar 2026 16:05:59 +0800
Subject: [PATCH] feat: 优化外呼提示文案,使用perTypeName字段动态显示当事人类型
---
web-app/src/components/dashboard/TopSection.jsx | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/web-app/src/components/dashboard/TopSection.jsx b/web-app/src/components/dashboard/TopSection.jsx
index fe61d02..2e1fbaf 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">
@@ -24,11 +24,11 @@
<img
style={{ width: 36 }}
src="http://gz.hugeinfo.com.cn/dyh/wx414ae04ac3f10b4e/images/pngAI_logo.png"
- alt="云小调"
+ alt="解纷智能体"
/>
</div>
<div className="title-text">
- <h1>"云小调"劳动争议AI调解智能体</h1>
+ <h1>白云区人和镇劳动争议"解纷智能体"</h1>
<div className="title-subtitle">
<div className="subtitle-text">AI调解员驾驶舱 - 全自动调解系统</div>
<div className="ai-status-tag">
--
Gitblit v1.8.0