From 3c738f4fe2762bba8087e5a22fc0dc06560eab0e Mon Sep 17 00:00:00 2001
From: linwe <872216996@qq.com>
Date: Thu, 08 Aug 2024 10:01:17 +0800
Subject: [PATCH] 三色任务与自查任务
---
api/user.js | 13 ++++++++++++-
1 files changed, 12 insertions(+), 1 deletions(-)
diff --git a/api/user.js b/api/user.js
index 9cd92a0..41ff5d4 100644
--- a/api/user.js
+++ b/api/user.js
@@ -90,13 +90,14 @@
return http.request({
url: '/blade-system/user/update',
method: 'POST',
- data: data
+ data: data
})
}
// 获取用户信息
export const getUser = (id) => {
+ console.log('************************', id)
return http.request({
url: '/blade-system/user/detail',
method: 'GET',
@@ -117,6 +118,16 @@
})
}
+// 获取人员类型
+export const getPeopleType = (params) => {
+ return http.request({
+ url: '/blade-system/user/getUserInfoByCode',
+ method: 'GET',
+ params: params
+ })
+}
+
+
export default {
token,
--
Gitblit v1.9.3