From c17d401cd7aa87f9c1adc25733a74da6a8a210e7 Mon Sep 17 00:00:00 2001
From: 647556386 <647556386@qq.com>
Date: 星期四, 19 三月 2026 17:00:13 +0800
Subject: [PATCH] Merge branch 'htq20251215' of http://115.159.85.185:8098/r/ZhongRui/ALDbanyunxiangmu into htq20251215

---
 项目代码/WIDESEA_WMSClient/src/views/Login.vue |   50 ++++++++++++++++++++++++++++++++++----------------
 1 files changed, 34 insertions(+), 16 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEA_WMSClient/src/views/Login.vue" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEA_WMSClient/src/views/Login.vue"
index 99d69b8..527ecfe 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEA_WMSClient/src/views/Login.vue"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEA_WMSClient/src/views/Login.vue"
@@ -26,20 +26,17 @@
             <el-option v-for="item in stationOptions" :key="item.value" :label="item.label" :value="item.value" />
           </el-select>
         </div>
-
-
-        <div class="item">
-          <div class="input-icon el-icon-mobile"></div>
-          <input v-focus type="text" v-model="userInfo.verificationCode" placeholder="杈撳叆楠岃瘉鐮�" />
-          <div class="code" @click="getVierificationCode">
-            <img v-show="codeImgSrc != ''" :src="codeImgSrc" />
-          </div>
-        </div>
       </div>
       <div class="loging-btn">
         <el-button size="large" :loading="loading" color="#3a6cd1" :dark="true" @click="login" long>
           <span v-if="!loading">鐧诲綍</span>
           <span v-else>姝e湪鐧诲綍...</span>
+        </el-button>
+      </div>
+      <!-- 鏂板锛氫慨鏀瑰瘑鐮佹寜閽紙鏍峰紡涓庣櫥褰曢〉缁熶竴锛� -->
+      <div class="change-pwd-btn">
+        <el-button size="large" type="text" @click="goChangePassword" long>
+          <span style="color: #3a6cd1; font-size: 13px;">淇敼瀵嗙爜</span>
         </el-button>
       </div>
     </div>
@@ -68,8 +65,8 @@
     const codeImgSrc = ref("");
     const value = ref("");
     const userInfo = reactive({
-      userName: "admin",
-      password: "123456",
+      userName: "",
+      password: "",
       verificationCode: "1234",
       UUID: undefined,
     });
@@ -110,12 +107,15 @@
     let $message = appContext.config.globalProperties.$message;
     let router = useRouter();
 
+    // 鏂板锛氳烦杞埌淇敼瀵嗙爜椤甸潰
+    const goChangePassword = () => {
+      router.push({ path: "/change-password" });
+    };
+
     const login = () => {
       if (!userInfo.userName) return $message.error("璇疯緭鍏ョ敤鎴峰悕");
       if (!userInfo.password) return $message.error("璇疯緭鍏ュ瘑鐮�");
-      if (!userInfo.verificationCode) {
-        return $message.error("璇疯緭鍏ラ獙璇佺爜");
-      }
+      
 
       // 纭繚绔欏彴鍊煎凡淇濆瓨
       if (stationValue.value) {
@@ -130,7 +130,7 @@
           getVierificationCode();
           return $message.error(result.message);
         }
-        $message.success("鐧诲綍鎴愬姛,姝e湪璺宠浆!");
+        $message.success(result.message);
         store.commit("setUserInfo", result.data);
 
         router.push({ path: "/" });
@@ -155,6 +155,7 @@
       stationOptions,
       stationValue,
       handleStationChange,
+      goChangePassword // 鏂板锛氭毚闇茶烦杞柟娉�
     };
   },
   directives: {
@@ -272,6 +273,22 @@
     padding: 21px;
     font-size: 14px !important;
     width: 100%;
+  }
+}
+
+// 鏂板锛氫慨鏀瑰瘑鐮佹寜閽牱寮忥紙涓庣櫥褰曢〉椋庢牸缁熶竴锛�
+.change-pwd-btn {
+  width: 400px;
+  margin-top: 15px;
+  text-align: center;
+
+  button {
+    font-size: 13px;
+    padding: 0;
+
+    &:hover {
+      color: #1850c1 !important;
+    }
   }
 }
 
@@ -525,7 +542,8 @@
   }
 
   .form-user,
-  .loging-btn {
+  .loging-btn,
+  .change-pwd-btn { // 鏂板锛氬搷搴斿紡閫傞厤淇敼瀵嗙爜鎸夐挳
     width: 100%;
   }
 }

--
Gitblit v1.9.3