Commit 50ea9a1d authored by guoyou's avatar guoyou

员工管理设置离职

parent 2f20228b
...@@ -527,7 +527,7 @@ export default { ...@@ -527,7 +527,7 @@ export default {
this.amendCompany.companyName = name[0].name this.amendCompany.companyName = name[0].name
this.amendCompany.jobId = this.staffTitleFrom.jobId this.amendCompany.jobId = this.staffTitleFrom.jobId
this.amendCompany.positionId = this.staffTitleFrom.positionId this.amendCompany.positionId = this.staffTitleFrom.positionId
this.amendCompany.isQuit = 0 this.amendCompany.isQuit = this.staffTitleFrom.isQuit == '在职' ? 0 : 1
this.setApi(this.amendCompany) this.setApi(this.amendCompany)
} }
} else { } else {
...@@ -565,7 +565,7 @@ export default { ...@@ -565,7 +565,7 @@ export default {
this.amendIdentity.companyName = this.staffTitleFrom.companyName this.amendIdentity.companyName = this.staffTitleFrom.companyName
this.amendIdentity.jobId = this.staffTitleFrom.jobId this.amendIdentity.jobId = this.staffTitleFrom.jobId
this.amendIdentity.companyId = this.staffTitleFrom.companyId this.amendIdentity.companyId = this.staffTitleFrom.companyId
this.amendIdentity.isQuit = 0 this.amendIdentity.isQuit = this.staffTitleFrom.isQuit == '在职' ? 0 : 1
this.setApi(this.amendIdentity) this.setApi(this.amendIdentity)
} }
...@@ -621,7 +621,7 @@ export default { ...@@ -621,7 +621,7 @@ export default {
this.position.companyName = this.staffTitleFrom.companyName this.position.companyName = this.staffTitleFrom.companyName
this.position.positionId = this.staffTitleFrom.positionId this.position.positionId = this.staffTitleFrom.positionId
this.position.companyId = this.staffTitleFrom.companyId this.position.companyId = this.staffTitleFrom.companyId
this.position.isQuit = 0 this.position.isQuit = this.staffTitleFrom.isQuit == '在职' ? 0 : 1
this.setApi(this.position) this.setApi(this.position)
} }
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment