From 37aa1274e7e075a03dbb8726fbd2f5233c85c83b Mon Sep 17 00:00:00 2001
From: liding <756868258@qq.com>
Date: 星期三, 21 五月 2025 15:56:23 +0800
Subject: [PATCH] 1.来票登记逻辑更改 2.来票台账更改

---
 src/api/system/user.js |   18 +++++++++++++++++-
 1 files changed, 17 insertions(+), 1 deletions(-)

diff --git a/src/api/system/user.js b/src/api/system/user.js
index ad227f9..3a45768 100644
--- a/src/api/system/user.js
+++ b/src/api/system/user.js
@@ -96,7 +96,7 @@
   return request({
     url: '/system/user/profile/updatePwd',
     method: 'put',
-    params: data
+    data: data
   })
 }
 
@@ -105,6 +105,7 @@
   return request({
     url: '/system/user/profile/avatar',
     method: 'post',
+    headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
     data: data
   })
 }
@@ -125,3 +126,18 @@
     params: data
   })
 }
+
+// 鏌ヨ閮ㄩ棬涓嬫媺鏍戠粨鏋�
+export function deptTreeSelect() {
+  return request({
+    url: '/system/user/deptTree',
+    method: 'get'
+  })
+}
+// 鏌ヨ鐢ㄦ埛鍒楄〃
+export function userListNoPage() {
+  return request({
+    url: '/system/user/userListNoPage',
+    method: 'get'
+  })
+}

--
Gitblit v1.9.3