From fbec0a50ff9a4e4afb5ac7cbb965020acb9db2c7 Mon Sep 17 00:00:00 2001
From: yz3456 <2753272399@qq.com>
Date: 星期五, 10 五月 2024 15:35:10 +0800
Subject: [PATCH] 备忘录添加了fid
---
ruoyi-ui/src/api/system/user.js | 71 ++++++++++++++++++++++++++++++++++-
1 files changed, 69 insertions(+), 2 deletions(-)
diff --git a/ruoyi-ui/src/api/system/user.js b/ruoyi-ui/src/api/system/user.js
index 32ddbe5..027b6f1 100644
--- a/ruoyi-ui/src/api/system/user.js
+++ b/ruoyi-ui/src/api/system/user.js
@@ -35,7 +35,14 @@
data: data
})
}
-
+export function updateUserInfo(data)
+{
+ return request({
+ url: '/self/user',
+ method: 'put',
+ data: data
+ })
+}
// 鍒犻櫎鐢ㄦ埛
export function delUser(userId) {
return request({
@@ -137,9 +144,69 @@
export function getSelfPermission(data) {
return request({
url: '/authority/condition',
- method: 'get',
+ method: 'post',
data: data
})
}
+//鏌ョ湅
+export function getFamilyids(id) {
+ return request({
+ url: '/family/'+id ,
+ method: 'get',
+ })
+}
+//鏌ョ湅瀹跺涵淇℃伅
+export function getAllFamilys(){
+ return request({
+ url: '/family/all' ,
+ method: 'get',
+
+ })
+}
+
+export function getInfoByFid(fid)
+{
+ return request({
+ url:'/self/user/list/getInfoByfid/'+fid,
+ method: 'get'
+ })
+}
+export function getIndividual(id){
+ return request({
+ url:'/self/user/'+id,
+ method: 'get'
+ })
+}
+export function getAllInfo(){
+ return request({
+ url:'/self/user/allFamInfo',
+ method: 'get'
+ })
+}
+export function setAuority(data)
+{
+ return request({
+ url:'/authority/empower',
+ method:'post',
+ data:data
+ })
+}
+export function getUserByFidAid(data)
+{
+ return request({
+ url:'/authority/getInfoByAidFid',
+ method: 'post',
+ data: data
+ })
+}
+export function deleteUserByFidAid(data)
+{
+ return request({
+ url:'/authority/deleteInfoByAidFid',
+ method: 'post',
+ data: data
+ })
+}
+// export function get
--
Gitblit v1.9.1