From dfd32b299236e015fe80e10fae01548288d91000 Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期一, 02 十一月 2026 09:56:32 +0800
Subject: [PATCH] Merge branch 'subtask' of http://116.62.18.175:6699/r/~yxh/smartor-web into subtask

---
 src/components/CallCenterLs/index.vue |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/src/components/CallCenterLs/index.vue b/src/components/CallCenterLs/index.vue
index 1ffc805..f5fb0fb 100644
--- a/src/components/CallCenterLs/index.vue
+++ b/src/components/CallCenterLs/index.vue
@@ -267,9 +267,14 @@
     },
 
     onCallStatusChange(status) {
+      const wasConnected = this.callStatus === "connected";
       this.callStatus = status.status;
       if (status.status == "connected") {
         this.startCallTimer();
+        // 浠呭湪浠庨潪鎺ラ�氱姸鎬佸垏鎹㈠埌鎺ラ�氭椂閫氱煡鐖剁粍浠讹紙閬垮厤閲嶅璁℃暟锛�
+        if (!wasConnected) {
+          this.$emit("call-connected");
+        }
       } else if (status.status == "idle") {
         this.stopCallTimer();
       }

--
Gitblit v1.9.3