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