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 | 36 +++++++++++++++++++++++++++++++-----
1 files changed, 31 insertions(+), 5 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 c342358..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,14 +26,17 @@
<el-option v-for="item in stationOptions" :key="item.value" :label="item.label" :value="item.value" />
</el-select>
</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>
@@ -104,6 +107,11 @@
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("璇疯緭鍏ュ瘑鐮�");
@@ -122,7 +130,7 @@
getVierificationCode();
return $message.error(result.message);
}
- $message.success("鐧诲綍鎴愬姛,姝e湪璺宠浆!");
+ $message.success(result.message);
store.commit("setUserInfo", result.data);
router.push({ path: "/" });
@@ -147,6 +155,7 @@
stationOptions,
stationValue,
handleStationChange,
+ goChangePassword // 鏂板锛氭毚闇茶烦杞柟娉�
};
},
directives: {
@@ -264,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;
+ }
}
}
@@ -517,7 +542,8 @@
}
.form-user,
- .loging-btn {
+ .loging-btn,
+ .change-pwd-btn { // 鏂板锛氬搷搴斿紡閫傞厤淇敼瀵嗙爜鎸夐挳
width: 100%;
}
}
--
Gitblit v1.9.3