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/common/OutboundCallWidget.jsx |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/web-app/src/components/common/OutboundCallWidget.jsx b/web-app/src/components/common/OutboundCallWidget.jsx
index f189e73..5eb7fab 100644
--- a/web-app/src/components/common/OutboundCallWidget.jsx
+++ b/web-app/src/components/common/OutboundCallWidget.jsx
@@ -628,14 +628,14 @@
               {call.errorCode > 0 ? (
                 // 失败任务显示
                 <span>
-                  {call.perClassName || '联系人'}
+                  {call.perTypeName || '联系人'}
                   {call.trueName && `(${call.trueName})`}:
                   {call.message}
                 </span>
               ) : (
-                // 成功任务显示
+                // 成功任务显示 - 使用 perTypeName 字段(申请方当事人/被申请方当事人)
                 <span>
-                  正在与{call.perClassName || '申请方'}({call.trueName || call.personId})电话沟通中...
+                  正在与{call.perTypeName || '申请方当事人'}({call.trueName || call.personId})电话沟通中...
                 </span>
               )}
             </div>

--
Gitblit v1.8.0