From 4155e844855e22f52e82f657eab6d3c1e616706e Mon Sep 17 00:00:00 2001
From: lkk <364857242@qq.com>
Date: 星期五, 11 四月 2025 11:59:29 +0800
Subject: [PATCH] 1

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

diff --git a/src/views/login.vue b/src/views/login.vue
index d3fb315..e305535 100644
--- a/src/views/login.vue
+++ b/src/views/login.vue
@@ -64,7 +64,8 @@
   </div>
 </template>
 
-<script>
+<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,23 @@
           case '8096':
             this.loginForm.hospId = "sqyy";
             break;
+          case '8097':
+            this.loginForm.hospId = "wbzxyy";
+            break;
+          case '9011':
+            this.loginForm.hospId = "chkwyy";
+            break;
+
+          case '9012':
+
+            this.loginForm.hospId = "xamjyy";
+            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 +201,12 @@
           case '9015':
             this.loginForm.hospId = "sqyy";
             break;
+          case '9016':
+            this.loginForm.hospId = "wbzxyy";
+            break;
         }
         Cookies.set("hospId", this.loginForm.hospId);
-      } 
+      }
       // 瀛樺偍hospId鍒癈ookie
       // 鏇存柊URL鍙傛暟
       if (this.loginForm.hospId) {

--
Gitblit v1.8.0