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
87300f81
Commit
87300f81
authored
Oct 17, 2019
by
guoyou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
员工录入
parent
85bfe6b2
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
542 additions
and
467 deletions
+542
-467
dev.env.js
config/dev.env.js
+1
-1
index.js
src/api/admin/userManagement/index.js
+8
-0
employeesInput.vue
src/views/userManagement/employeesInput.vue
+533
-466
No files found.
config/dev.env.js
View file @
87300f81
module
.
exports
=
{
module
.
exports
=
{
NODE_ENV
:
'"development"'
,
NODE_ENV
:
'"development"'
,
BASE_API
:
'"https://xxtest.upyuns.com"'
,
//'"https://dev.dfangche.com"',//'"https://xxfcmgmt.upyuns.com"(正)',//http://10.1.37.192:9527(何), //https://xxtest.upyuns.com(测),10.1.37.246:9527(韩), 10.1.37.244(李斌)10.1.37.248:8765(小威)
BASE_API
:
'"http
://10.1.37.192:9527"'
,
//'"http
s://xxtest.upyuns.com"',//'"https://dev.dfangche.com"',//'"https://xxfcmgmt.upyuns.com"(正)',//http://10.1.37.192:9527(何), //https://xxtest.upyuns.com(测),10.1.37.246:9527(韩), 10.1.37.244(李斌)10.1.37.248:8765(小威)
APP_ORIGIN
:
'"https://wallstreetcn.com"'
APP_ORIGIN
:
'"https://wallstreetcn.com"'
}
}
src/api/admin/userManagement/index.js
View file @
87300f81
...
@@ -117,6 +117,14 @@ export function addEditor(obj) {
...
@@ -117,6 +117,14 @@ export function addEditor(obj) {
});
});
}
}
// 编辑员工
export
function
editorUpd
(
obj
)
{
return
fetch
({
url
:
'/api/admin/postion/admin/upd'
,
method
:
'post'
,
data
:
obj
});
}
//删除员工
//删除员工
export
function
deleteStaffs
(
id
)
{
export
function
deleteStaffs
(
id
)
{
return
fetch
({
return
fetch
({
...
...
src/views/userManagement/employeesInput.vue
View file @
87300f81
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