处理新增账号问题
This commit is contained in:
parent
d80fe249f2
commit
9aa780b617
@ -1261,9 +1261,9 @@ export default {
|
||||
},
|
||||
reEmployment(row){
|
||||
reEmployment(row.userId).then(response => {
|
||||
if(response.data.code==200){
|
||||
if(response.code==200){
|
||||
this.$modal.msgSuccess("重新入职成功");
|
||||
this.getList();
|
||||
this.getList();
|
||||
}else{
|
||||
this.$modal.msgError(response.data.msg);
|
||||
}
|
||||
|
||||
@ -352,6 +352,7 @@ export default {
|
||||
status: undefined,
|
||||
deptId: undefined
|
||||
},
|
||||
columns:[],
|
||||
// 表单校验
|
||||
rules: {
|
||||
userName: [
|
||||
@ -583,7 +584,7 @@ export default {
|
||||
for(var i=0;i<this.staffList.length;i++){
|
||||
if(val == this.staffList[i].name){
|
||||
this.form.deptName = this.staffList[i].deptName
|
||||
this.form.deptId = this.staffList[i].dept
|
||||
this.form.deptId = this.staffList[i].deptId
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user