From 3de63514e769ac64da604a3e7e3262b33e653884 Mon Sep 17 00:00:00 2001
From: baoshiwei <baoshiwei@shlanbao.cn>
Date: 星期一, 16 六月 2025 13:55:29 +0800
Subject: [PATCH] feat(eims): 新增修改密码功能并优化用户初始密码设置- 在 SocialAuthStrategy 中使用 BCrypt 对用户初始密码进行加密- 在 eims-ui-mobile 中添加修改密码页面和相关功能 - 更新用户服务以支持修改密码操作 - 调整页面路由以包含新功能

---
 eims-ui-mobile/src/pages/scan/index.vue |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/eims-ui-mobile/src/pages/scan/index.vue b/eims-ui-mobile/src/pages/scan/index.vue
index eecf651..d8fca76 100644
--- a/eims-ui-mobile/src/pages/scan/index.vue
+++ b/eims-ui-mobile/src/pages/scan/index.vue
@@ -67,7 +67,7 @@
       <view class="h-[10px] bg-base"></view>
       <wd-tabs v-model="tab">
 
-        <wd-tab title="缁翠慨璇锋眰">
+        <wd-tab title="鎶ヤ慨鍗�">
           <view class="h-[10px] bg-base"></view>
           <!-- 缁翠慨璇锋眰鍖哄煙 -->
           <view class="mt-2" v-if="reqList.length > 0">
@@ -149,7 +149,7 @@
         exist.value = true
         Object.assign(model, res)
         // 鍔犺浇缁翠慨璇锋眰鍜岀淮淇崟鏁版嵁
-        loadRepairData(res.equId)
+        loadRepairData()
       } else {
         toast.error('鏈煡璇㈠埌璇ヨ祫浜х紪鍙风浉鍏虫暟鎹紒')
       }
@@ -161,10 +161,10 @@
 }
 
 // 鍔犺浇缁翠慨璇锋眰鍜岀淮淇崟鏁版嵁
-function loadRepairData(equId: string | number) {
+function loadRepairData() {
   // 鍔犺浇鏈帴鍗曠殑缁翠慨璇锋眰
   getRepairReqList({
-    equId,
+    equId: model.equId,
     status: '0',
   }).then((res: any) => {
     if (res?.rows) {
@@ -174,7 +174,7 @@
 
   // 鍔犺浇鏈畬鎴愮殑缁翠慨鍗�
   const params = {
-    equId,
+    equId: model.equId,
     params: {
       status: '0,1,2',
     },

--
Gitblit v1.9.3