个人中心bug
This commit is contained in:
parent
aa5637dc8d
commit
755a1415e4
@ -228,7 +228,8 @@
|
|||||||
id:'',
|
id:'',
|
||||||
signPic:'',
|
signPic:'',
|
||||||
replyPhone:'',
|
replyPhone:'',
|
||||||
cardNo:''
|
cardNo:'',
|
||||||
|
roleIds:[]
|
||||||
},
|
},
|
||||||
signUrl:'',
|
signUrl:'',
|
||||||
rulesClient: {
|
rulesClient: {
|
||||||
@ -265,6 +266,9 @@
|
|||||||
this.PersonalInfo.signPic = res.signPic
|
this.PersonalInfo.signPic = res.signPic
|
||||||
this.PersonalInfo.replyPhone = res.replyPhone
|
this.PersonalInfo.replyPhone = res.replyPhone
|
||||||
this.PersonalInfo.cardNo = res.cardNo
|
this.PersonalInfo.cardNo = res.cardNo
|
||||||
|
|
||||||
|
this.PersonalInfo.deptId = res.deptId
|
||||||
|
this.PersonalInfo.roleIds = res.roleIds
|
||||||
})
|
})
|
||||||
api.getQrCode().then(res => {
|
api.getQrCode().then(res => {
|
||||||
this.signUrl = 'data:image/jpg;base64,'+res
|
this.signUrl = 'data:image/jpg;base64,'+res
|
||||||
|
|||||||
@ -219,13 +219,14 @@ export default {
|
|||||||
if (valid) {
|
if (valid) {
|
||||||
_this.userInfo.username = _this.userInfo.phone;
|
_this.userInfo.username = _this.userInfo.phone;
|
||||||
|
|
||||||
if(_this.userInfo.teamId!=''){
|
if(_this.userInfo.teamId!=''&&_this.userInfo.teamId!=null){
|
||||||
_this.userInfo.deptId = _this.userInfo.teamId;
|
_this.userInfo.deptId = _this.userInfo.teamId;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
_this.userInfo.deptId = _this.userInfo.regionId;
|
_this.userInfo.deptId = _this.userInfo.regionId;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(Object.keys(this.addOrEditUserConfig.data).length>0)
|
if(Object.keys(this.addOrEditUserConfig.data).length>0)
|
||||||
{
|
{
|
||||||
api.updateUserById(_this.userInfo).then(res => {
|
api.updateUserById(_this.userInfo).then(res => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user