From 94e3b64fbb8d3d4b148174cabcfbbccad2e9809f Mon Sep 17 00:00:00 2001
From: qx <1084500556@qq.com>
Date: 星期五, 27 六月 2025 17:48:55 +0800
Subject: [PATCH] qx

---
 src/views/login.vue |   41 +++++++++++++++++++++++++----------------
 1 files changed, 25 insertions(+), 16 deletions(-)

diff --git a/src/views/login.vue b/src/views/login.vue
index d3fb315..a4e01dc 100644
--- a/src/views/login.vue
+++ b/src/views/login.vue
@@ -58,13 +58,14 @@
 
     <!--  搴曢儴  -->
     <div class="el-login-footer">
-      <span>Copyright 漏 2023-2024 All Rights Reserved.</span>
+      <span>Copyright 漏 2024-2025 All Rights Reserved.</span>
       <!-- <span>Copyright 漏 2022-2023榫欑編缃戠粶 All Rights Reserved.</span> -->
     </div>
   </div>
 </template>
 
 <script>
+
 import { getCodeImg, getconfigKey } from "@/api/login";
 import Cookies from "js-cookie";
 import { encrypt, decrypt } from '@/utils/jsencrypt'
@@ -157,18 +158,10 @@
         this.loginForm.hospId = this.$route.query.hospId
         Cookies.set("hospId", this.loginForm.hospId);
       } else if (env === 'production') {
-              // 鑾峰彇褰撳墠URL鐨勭鍙e彿
-      const port = window.location.port;
-    
+        // 鑾峰彇褰撳墠URL鐨勭鍙e彿
+        const port = window.location.port;
+
         switch (port) {
-          case '9011':
-            this.loginForm.hospId = "chkwyy";
-            break;
-
-          case '9012':
-
-            this.loginForm.hospId = "xamjyy";
-            break;
 
           case '8094':
 
@@ -180,12 +173,21 @@
           case '8096':
             this.loginForm.hospId = "sqyy";
             break;
+          case '8097':
+            this.loginForm.hospId = "wbzxyy";
+            break;
+          case '8098':
+            this.loginForm.hospId = "bjxjyy";
+            break;
+            case '8099':
+            this.loginForm.hospId = "bjfhyy";
+            break;
         }
         Cookies.set("hospId", this.loginForm.hospId);
       } else if (env === 'staging') {
-              // 鑾峰彇褰撳墠URL鐨勭鍙e彿
-      const port = window.location.port;
-    
+        // 鑾峰彇褰撳墠URL鐨勭鍙e彿
+        const port = window.location.port;
+
         switch (port) {
           case '9013':
             this.loginForm.hospId = "pbkwyy";
@@ -197,9 +199,15 @@
           case '9015':
             this.loginForm.hospId = "sqyy";
             break;
+          case '9016':
+            this.loginForm.hospId = "wbzxyy";
+            break;
+          case '9017':
+            this.loginForm.hospId = "bjxjyy";
+            break;
         }
         Cookies.set("hospId", this.loginForm.hospId);
-      } 
+      }
       // 瀛樺偍hospId鍒癈ookie
       // 鏇存柊URL鍙傛暟
       if (this.loginForm.hospId) {
@@ -291,6 +299,7 @@
                 }
               }
               this.$router.push({ path: this.redirect || "/" }).catch(() => { });
+              location.reload();
             }
 
           }).catch(() => {

--
Gitblit v1.8.0