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
f793014d
Commit
f793014d
authored
Dec 23, 2019
by
guoyou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
员工管理
parent
f7702538
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
23 deletions
+24
-23
employeesInput.vue
src/views/interior/employeesInput.vue
+24
-23
No files found.
src/views/interior/employeesInput.vue
View file @
f793014d
...
@@ -601,29 +601,30 @@ export default {
...
@@ -601,29 +601,30 @@ export default {
if
(
val
==
'离职时间'
){
if
(
val
==
'离职时间'
){
this
.
setApi
(
this
.
isJobForm
)
this
.
setApi
(
this
.
isJobForm
)
}
else
{
//复职
}
else
{
//复职
this
.
isJobForm
.
isQuit
=
2
// this.isJobForm.isQuit = 2
this
.
isJobForm
.
changeStatus
=
6
// this.isJobForm.changeStatus = 6
this
.
setApi
(
this
.
isJobForm
)
// this.setApi(this.isJobForm)
// let params = {}
let
params
=
{}
// params.phone = this.staffTitleFrom.phone
params
.
phone
=
this
.
staffTitleFrom
.
phone
// params.id = this.staffTitleFrom.id
params
.
id
=
this
.
staffTitleFrom
.
id
// params.companyName = this.staffTitleFrom.companyName
params
.
companyName
=
this
.
staffTitleFrom
.
companyName
// params.positionId = this.staffTitleFrom.positionId
params
.
positionId
=
this
.
staffTitleFrom
.
positionId
// params.companyId = this.staffTitleFrom.companyId
params
.
companyId
=
this
.
staffTitleFrom
.
companyId
// params.isQuit = 0
params
.
isQuit
=
0
// params.changeStatus = 6
params
.
changeStatus
=
6
// params.jobId = this.staffTitleFrom.jobId
params
.
jobId
=
this
.
staffTitleFrom
.
jobId
// params.name = this.staffTitleFrom.name
params
.
name
=
this
.
staffTitleFrom
.
name
// updAddPositionChangeRecord(params).then(data=>{
params
.
userId
=
this
.
staffTitleFrom
.
userId
// if (data.status == 200) {
updAddPositionChangeRecord
(
params
).
then
(
data
=>
{
// this.$message.success('编辑成功')
if
(
data
.
status
==
200
)
{
// this.amendPop = false;
this
.
$message
.
success
(
'编辑成功'
)
// this.bulkUploadMember = false
this
.
amendPop
=
false
;
// this.getList()
this
.
bulkUploadMember
=
false
// }else{
this
.
getList
()
// this.$message.error(data.message)
}
else
{
// }
this
.
$message
.
error
(
data
.
message
)
// })
}
})
}
}
}
}
},
},
...
...
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