Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
youjj
cloud-platform-ui
Commits
acd591a8
Commit
acd591a8
authored
Jul 16, 2019
by
hanfeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加用户管理后台
parent
e3a5f04a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
50 additions
and
1 deletion
+50
-1
index.js
src/api/admin/UserMember/index.js
+17
-0
index.js
src/api/admin/userManagement/index.js
+25
-1
index.js
src/api/vehicle/vehicleInfo/index.js
+8
-0
No files found.
src/api/admin/UserMember/index.js
0 → 100644
View file @
acd591a8
import
fetch
from
'utils/fetch'
;
export
function
UploadMembershipList
(
form
)
{
return
fetch
({
url
:
'api/admin/admin/member/user/export'
,
method
:
'post'
,
data
:
form
});
}
export
function
saveNewMemberObject
(
obj
)
{
return
fetch
({
url
:
'api/admin/admin/member/save'
,
method
:
'post'
,
data
:
obj
});
}
src/api/admin/userManagement/index.js
View file @
acd591a8
import
fetch
from
'utils/fetch'
;
export
function
p
age
(
obj
)
{
export
function
appP
age
(
obj
)
{
return
fetch
({
url
:
'/api/admin/appUsersManage/findAll'
,
method
:
'post'
,
...
...
@@ -15,3 +15,27 @@ export function getObj(id) {
});
}
export
function
setAvailable
(
id
)
{
return
fetch
({
url
:
'/api/admin/appUsersManage/available/'
+
id
,
method
:
'put'
,
});
}
export
function
setDisable
(
id
)
{
return
fetch
({
url
:
'/api/admin/appUsersManage/disable/'
+
id
,
method
:
'put'
,
});
}
export
function
seveObj
(
obj
)
{
return
fetch
({
url
:
'/api/admin/baseUserMember/setUserMember/'
,
method
:
'put'
,
data
:
obj
});
}
src/api/vehicle/vehicleInfo/index.js
View file @
acd591a8
...
...
@@ -71,4 +71,12 @@ export function getSysRegionByIds(ids) {
url
:
'/vehicle/sysRegion/getSysRegionByIds/'
+
ids
,
method
:
'get'
});
}
export
function
getSysRegionById
(
id
)
{
return
fetch
({
url
:
'/vehicle/sysRegion/getSysRegionById//'
+
id
,
method
:
'get'
});
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment