Commit f7702538 authored by guoyou's avatar guoyou

员工管理

parent 9003b850
...@@ -539,6 +539,7 @@ export default { ...@@ -539,6 +539,7 @@ export default {
params.name = this.staffTitleFrom.name params.name = this.staffTitleFrom.name
params.phone = this.staffTitleFrom.phone params.phone = this.staffTitleFrom.phone
params.id = this.staffTitleFrom.id params.id = this.staffTitleFrom.id
params.userId = this.staffTitleFrom.userId
editorUpd(params).then(data=>{ editorUpd(params).then(data=>{
if (data.status == 200) { if (data.status == 200) {
this.$message.success('编辑成功') this.$message.success('编辑成功')
...@@ -555,6 +556,7 @@ export default { ...@@ -555,6 +556,7 @@ export default {
params.phone = this.staffTitleFrom.phone params.phone = this.staffTitleFrom.phone
params.id = this.staffTitleFrom.id params.id = this.staffTitleFrom.id
params.name = this.staffTitleFrom.name params.name = this.staffTitleFrom.name
params.userId = this.staffTitleFrom.userId
updUserChange(params).then(data => { updUserChange(params).then(data => {
if (data.status == 200) { if (data.status == 200) {
this.$message.success('编辑成功') this.$message.success('编辑成功')
...@@ -848,6 +850,7 @@ export default { ...@@ -848,6 +850,7 @@ export default {
companyName: row.companyName, companyName: row.companyName,
relTime: row.relTime, relTime: row.relTime,
id:row.id, id:row.id,
userId:row.userId,
jobId:row.jobId ==0 ? null : row.jobId, jobId:row.jobId ==0 ? null : row.jobId,
isQuit: row.isQuit == 1 ? '离职' : '在职' isQuit: row.isQuit == 1 ? '离职' : '在职'
} }
......
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