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
59899f38
Commit
59899f38
authored
Jul 20, 2019
by
lixy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
会员录入
parent
ebd8e868
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
529 additions
and
1 deletion
+529
-1
index.js
src/api/admin/userManagement/index.js
+20
-1
validate.js
src/utils/validate.js
+11
-0
memberEnter.vue
src/views/userManagement/memberEnter.vue
+498
-0
No files found.
src/api/admin/userManagement/index.js
View file @
59899f38
...
...
@@ -30,7 +30,6 @@ export function setDisable(id) {
});
}
export
function
seveObj
(
obj
)
{
return
fetch
({
url
:
'/api/admin/baseUserMember/setUserMember/'
,
...
...
@@ -38,4 +37,24 @@ export function seveObj(obj) {
data
:
obj
});
}
/**
* 会员录入-列表
* */
export
function
getMemberEntryList
(
query
)
{
return
fetch
({
url
:
'/api/admin/admin/member/page'
,
method
:
'get'
,
params
:
query
});
}
/**
* 会员录入-删除
*/
export
function
delMemberObj
(
id
)
{
return
fetch
({
url
:
'/api/admin/admin/member/'
+
id
,
method
:
'delete'
});
}
src/utils/validate.js
View file @
59899f38
...
...
@@ -38,4 +38,15 @@ export function validatAlphabets(str) {
return
reg
.
test
(
str
);
}
/**
* 深拷贝
*/
export
function
objDeepCopy
(
source
)
{
const
sourceCopy
=
source
instanceof
Array
?
[]
:
{};
for
(
const
item
in
source
)
{
sourceCopy
[
item
]
=
typeof
source
[
item
]
===
'object'
?
objDeepCopy
(
source
[
item
])
:
source
[
item
];
}
return
sourceCopy
;
}
src/views/userManagement/memberEnter.vue
0 → 100644
View file @
59899f38
This diff is collapsed.
Click to expand it.
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