|
|
|
@ -82,8 +82,10 @@ |
|
|
|
|
|
|
|
|
|
<view v-else class="block" style="padding-bottom: 0;"> |
|
|
|
|
<view class="identity"> |
|
|
|
|
<view class="title">我是{{ platformName }}</view> |
|
|
|
|
<view v-if="!isMember" class="badge">{{ platformName }}负责人</view> |
|
|
|
|
<view class="left"> |
|
|
|
|
<view class="title">我是{{ platformName }}</view> |
|
|
|
|
<view v-if="!isMember" class="badge">{{ platformName }}负责人</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="auth">{{ auditStatus }}</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="identity-bg"> |
|
|
|
@ -213,14 +215,14 @@ |
|
|
|
|
openId: this.openId |
|
|
|
|
}) |
|
|
|
|
// status为false,说明用户被删除了,则退出登录 |
|
|
|
|
if (result.status === false) { |
|
|
|
|
this.$util.errMsg(result.message) |
|
|
|
|
setTimeout(() => { |
|
|
|
|
uni.clearStorageSync() |
|
|
|
|
this.$util.to('/pages/login/login') |
|
|
|
|
}, 1500) |
|
|
|
|
return false |
|
|
|
|
} |
|
|
|
|
// if (result.status === false) { |
|
|
|
|
// this.$util.errMsg(result.message) |
|
|
|
|
// setTimeout(() => { |
|
|
|
|
// uni.clearStorageSync() |
|
|
|
|
// this.$util.to('/pages/login/login') |
|
|
|
|
// }, 1500) |
|
|
|
|
// return false |
|
|
|
|
// } |
|
|
|
|
|
|
|
|
|
if (result.hrUserInfo) { |
|
|
|
|
if (!result.hrUserInfo.userAvatars) result.hrUserInfo.userAvatars = Common.avatar // 没有头像则显示默认头像 |
|
|
|
@ -435,11 +437,16 @@ |
|
|
|
|
display: flex; |
|
|
|
|
justify-content: space-between; |
|
|
|
|
align-items: center; |
|
|
|
|
.left { |
|
|
|
|
display: inline-flex; |
|
|
|
|
align-items: center; |
|
|
|
|
} |
|
|
|
|
.title { |
|
|
|
|
margin-bottom: 0; |
|
|
|
|
} |
|
|
|
|
.badge { |
|
|
|
|
padding: 8rpx 16rpx; |
|
|
|
|
margin-left: 20rpx; |
|
|
|
|
font-size: 24rpx; |
|
|
|
|
color: #fff; |
|
|
|
|
background-color: #37cc07; |
|
|
|
|