|
@@ -493,6 +493,7 @@ export default {
|
|
|
disabledForm:false,//是否禁用表单的某些选项
|
|
|
disabledStatus:false,//是否禁用表单的状态项
|
|
|
departmentName:'',//所属一级部门名称
|
|
|
+ IsLdap:0,//用户类型
|
|
|
},//用户弹框表单
|
|
|
// 是否有工号
|
|
|
hasEmployeeNo:false,
|
|
@@ -986,7 +987,8 @@ export default {
|
|
|
email:'',
|
|
|
areacode:'86',
|
|
|
auth:0,
|
|
|
- status:1
|
|
|
+ status:1,
|
|
|
+ IsLdap:0,
|
|
|
}
|
|
|
},
|
|
|
// 同步每刻
|
|
@@ -1041,7 +1043,8 @@ export default {
|
|
|
Province:this.userForm.province,
|
|
|
City:this.userForm.city,
|
|
|
Email:this.userForm.email,
|
|
|
- TelAreaCode:this.userForm.areacode
|
|
|
+ TelAreaCode:this.userForm.areacode,
|
|
|
+ IsLdap:this.userForm.IsLdap
|
|
|
}
|
|
|
//console.log('testAdd',params)
|
|
|
departInterence.addUser(params).then(res => {
|
|
@@ -1064,7 +1067,8 @@ export default {
|
|
|
email:'',
|
|
|
areacode:'86',
|
|
|
auth:0,
|
|
|
- status:1
|
|
|
+ status:1,
|
|
|
+ IsLdap:0
|
|
|
}
|
|
|
this.getTableUser();
|
|
|
}
|
|
@@ -1093,7 +1097,8 @@ export default {
|
|
|
Province:this.userForm.province,
|
|
|
City:this.userForm.city,
|
|
|
Email:this.userForm.email,
|
|
|
- TelAreaCode:this.userForm.areacode
|
|
|
+ TelAreaCode:this.userForm.areacode,
|
|
|
+ IsLdap:this.userForm.IsLdap
|
|
|
}
|
|
|
//console.log('testEdit',params)
|
|
|
departInterence.editUser(params).then(res => {
|
|
@@ -1116,7 +1121,8 @@ export default {
|
|
|
email:'',
|
|
|
areacode:'86',
|
|
|
auth:0,
|
|
|
- status:1
|
|
|
+ status:1,
|
|
|
+ IsLdap:0
|
|
|
}
|
|
|
this.getTableUser();
|
|
|
}
|
|
@@ -1158,7 +1164,8 @@ export default {
|
|
|
email:'',
|
|
|
areacode:'86',
|
|
|
auth:'无',
|
|
|
- status:1
|
|
|
+ status:1,
|
|
|
+ IsLdap:0
|
|
|
},
|
|
|
this.$refs.addUserDialog.$refs.userForm.resetFields();//重置校验
|
|
|
this.isAddUser = false;
|
|
@@ -1255,7 +1262,8 @@ export default {
|
|
|
disabledForm:false,
|
|
|
disabledStatus:false,
|
|
|
email:item.Email,
|
|
|
- areacode:item.TelAreaCode
|
|
|
+ areacode:item.TelAreaCode,
|
|
|
+ IsLdap:item.IsLdap||0
|
|
|
}
|
|
|
this.hasEmployeeNo=!!item.EmployeeId
|
|
|
this.isAddUser = true;
|