From d93ed5c5aadcf3d49f824339c26ebfac911be06d Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期五, 07 十一月 2025 14:39:38 +0800
Subject: [PATCH] 测试完成

---
 src/views/followvisit/record/detailpage/index.vue |   16 +++++++++++++---
 1 files changed, 13 insertions(+), 3 deletions(-)

diff --git a/src/views/followvisit/record/detailpage/index.vue b/src/views/followvisit/record/detailpage/index.vue
index e6ba598..26a60fe 100644
--- a/src/views/followvisit/record/detailpage/index.vue
+++ b/src/views/followvisit/record/detailpage/index.vue
@@ -1032,7 +1032,7 @@
         width="60%"
       >
         <CallCenterLs
-          ref="callCenterModal"
+          ref="CallCenterLs"
           :initial-phone="currentPhoneNumber"
         />
       </el-dialog>
@@ -1153,6 +1153,9 @@
       isEndingCall: false,
       CaldialogVisible: false,
       currentCall: null, // 褰撳墠閫氳瘽瀵硅薄
+      // 璺敱鐩戝惉鐩稿叧
+      routeWatcher: null,
+      lastRoutePath: this.$route.path,
       input: "浠婂ぉ韬綋杩樹笉閿�",
       radio: "2",
       taskname: "",
@@ -1377,6 +1380,8 @@
       patid: null,
     };
   },
+
+
   computed: {
     callStatusText() {
       const statusMap = {
@@ -2356,6 +2361,11 @@
   // },
   beforeRouteLeave(to, from, next) {
     this.$refs.callButton.cleanupResources();
+    if (this.$refs.CallCenterLs) {
+      console.log(1);
+
+      this.$refs.CallCenterLs.handleSeatLogout();
+    }
     next(); // 纭繚璋冪敤 nex
   },
   // beforeRouteUpdate() {
@@ -2550,7 +2560,7 @@
 .CONTENT {
   padding: 10px;
   height: 100%;
-  min-height: 660px; /* 璁剧疆鏈�灏忛珮搴� */
+  min-height: 738px; /* 璁剧疆鏈�灏忛珮搴� */
 
   .title {
     font-size: 22px;
@@ -2565,7 +2575,7 @@
   padding: 30px;
   border: 1px solid #dcdfe6;
   box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.12), 0 0 6px 0 rgba(0, 0, 0, 0.04);
-  max-height: 580px; /* 璁剧疆鏈�澶ч珮搴� */
+  max-height: 618px; /* 璁剧疆鏈�澶ч珮搴� */
   overflow-y: auto; /* 鍐呭瓒呰繃楂樺害鏃舵樉绀烘粴鍔ㄦ潯 */
 
   .topic-dev {

--
Gitblit v1.9.3