From fda152b544ed0b3ceb8309df5b7eca2de888f3f1 Mon Sep 17 00:00:00 2001
From: chenrui <1187576398@qq.com>
Date: 星期二, 10 六月 2025 11:39:55 +0800
Subject: [PATCH] 开票登记编辑功能开发

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

diff --git a/src/api/system/user.js b/src/api/system/user.js
index ad227f9..7192d9b 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,26 @@
     params: data
   })
 }
+
+// 鏌ヨ閮ㄩ棬涓嬫媺鏍戠粨鏋�
+export function deptTreeSelect() {
+  return request({
+    url: '/system/user/deptTree',
+    method: 'get'
+  })
+}
+// 鏌ヨ鐢ㄦ埛鍒楄〃
+export function userListNoPage() {
+  return request({
+    url: '/system/user/userListNoPage',
+    method: 'get'
+  })
+}
+// 閮ㄩ棬鍒楄〃
+export function userLoginFacotryList(params) {
+  return request({
+    url: '/userLoginFacotryList',
+    method: 'get',
+    params: params
+  })
+}

--
Gitblit v1.9.3