From a9d2b856e0f6be6475319c2dc36bf405c2f908fc Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期二, 22 九月 2026 14:04:52 +0800
Subject: [PATCH] 测试完成

---
 src/views/loginSSO.vue |   16 ++++++++++++++--
 1 files changed, 14 insertions(+), 2 deletions(-)

diff --git a/src/views/loginSSO.vue b/src/views/loginSSO.vue
index b11fb85..73f24c1 100644
--- a/src/views/loginSSO.vue
+++ b/src/views/loginSSO.vue
@@ -162,6 +162,8 @@
           id,
           Voicetype,
           visitCount,
+          followUpDeptCode,
+          followUpWardCode,
         } = params;
         console.log(
           token,
@@ -171,6 +173,8 @@
           deptCode,
           redirect,
           campusid,
+             followUpDeptCode,
+          followUpWardCode,
           "鍙傛暟鏃ュ織"
         );
 
@@ -229,8 +233,16 @@
             visitCount: visitCount || "",
           };
           console.log("浣跨敤taskid璺宠浆鍒拌鎯呴〉:", redirectPath, redirectQuery);
+        } else if (followUpDeptCode || followUpWardCode) {
+          // 7.2 鎼哄甫绉戝/鐥呭尯缂栫爜锛岃烦杞埌鍑洪櫌闅忚鍒楄〃骞舵寜绉戝/鐥呭尯鏌ヨ
+          redirectPath = "/followvisit/discharge";
+          redirectQuery = {
+            followUpDeptCode: followUpDeptCode || "",
+            followUpWardCode: followUpWardCode || "",
+          };
+          console.log("浣跨敤绉戝/鐥呭尯缂栫爜璺宠浆鍒板嚭闄㈤殢璁垮垪琛�:", redirectPath, redirectQuery);
         } else if (redirect) {
-          // 7.2 濡傛灉浼犲叆鐨剅edirect瀛樺湪锛屼娇鐢ㄤ紶鍏ョ殑閲嶅畾鍚戣矾寰�
+          // 7.3 濡傛灉浼犲叆鐨剅edirect瀛樺湪锛屼娇鐢ㄤ紶鍏ョ殑閲嶅畾鍚戣矾寰�
           try {
             redirectPath = decodeURIComponent(redirect);
             console.log("浣跨敤浼犲叆鐨勯噸瀹氬悜璺緞:", redirectPath);
@@ -239,7 +251,7 @@
             redirectPath = this.getDefaultRedirectPath();
           }
         } else {
-          // 7.3 浣跨敤榛樿璺緞
+          // 7.4 浣跨敤榛樿璺緞
           redirectPath = this.getDefaultRedirectPath();
         }
 

--
Gitblit v1.9.3