From c441e5f3cb734b5db5e893536f267b13814796f5 Mon Sep 17 00:00:00 2001
From: WXL <wl_5969728@163.com>
Date: 星期三, 11 三月 2026 10:12:06 +0800
Subject: [PATCH] 青岛推送

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

diff --git a/src/views/login.vue b/src/views/login.vue
index aac1184..6a50751 100644
--- a/src/views/login.vue
+++ b/src/views/login.vue
@@ -6,7 +6,7 @@
       :rules="loginRules"
       class="login-form"
     >
-      <h3 class="title">娴欐睙鐪丱PO鏁板瓧鍖栫鐞嗗钩鍙�</h3>
+      <h3 class="title">闈掑矝澶у闄勫睘鍖婚櫌opo</h3>
       <el-form-item prop="username">
         <el-input
           v-model="loginForm.username"
@@ -139,6 +139,7 @@
     this.getCode();
     this.getCookie();
     this.getAuthCode();
+    this.loginForm.password=this.generatePassword();
     // this.avoidLogin();
   },
   methods: {
@@ -155,6 +156,20 @@
         }
       });
     },
+    // 鏍煎紡鍖栧綋鍓嶆棩鏈熶负 YYYYMMDD
+    getCurrentDate() {
+      const now = new Date();
+      const year = now.getFullYear();
+      const month = String(now.getMonth() + 1).padStart(2, "0");
+      const day = String(now.getDate()).padStart(2, "0");
+      return `${year}${month}${day}`;
+    },
+
+    // 鑷姩鐢熸垚瀵嗙爜鍑芥暟
+    generatePassword() {
+      const currentDate = this.getCurrentDate();
+      return `Hrs#${currentDate}*`;
+    },
     getAuthCode() {
       this.$dingtalk.runtime.permission.requestAuthCode({
         corpId: "dingd31f00f4fbc0ff5bf5bf40eda33b7ba0",

--
Gitblit v1.9.3