|
|
@ -54,9 +54,9 @@ export default { |
|
|
|
}, |
|
|
|
}, |
|
|
|
getUserDetail () { // 获取用户详情 |
|
|
|
getUserDetail () { // 获取用户详情 |
|
|
|
this.$get(this.api.queryUserInfoDetails).then(res => { |
|
|
|
this.$get(this.api.queryUserInfoDetails).then(res => { |
|
|
|
let info = res.result.hrUserInfo; |
|
|
|
let {userAvatars, userName} = res.result.hrUserInfo; |
|
|
|
this.setAvatar(info.userAvatars ? info.userAvatars : ""); |
|
|
|
userAvatars && this.setAvatar(userAvatars); |
|
|
|
this.setUserName(info.userName); |
|
|
|
this.setUserName(userName); |
|
|
|
}).catch(res => {}); |
|
|
|
}).catch(res => {}); |
|
|
|
}, |
|
|
|
}, |
|
|
|
} |
|
|
|
} |
|
|
|