WXL (wul)
17 小时以前 a9d2b856e0f6be6475319c2dc36bf405c2f908fc
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 如果传入的redirect存在,使用传入的重定向路径
          // 7.3 如果传入的redirect存在,使用传入的重定向路径
          try {
            redirectPath = decodeURIComponent(redirect);
            console.log("使用传入的重定向路径:", redirectPath);
@@ -239,7 +251,7 @@
            redirectPath = this.getDefaultRedirectPath();
          }
        } else {
          // 7.3 使用默认路径
          // 7.4 使用默认路径
          redirectPath = this.getDefaultRedirectPath();
        }