|
|
|
@ -14,37 +14,43 @@ |
|
|
|
|
|
|
|
<view wx:if="{{checkList.length}}"> |
|
|
|
<van-index-anchor use-slot><text>待审核</text></van-index-anchor> |
|
|
|
<van-cell wx:for="{{ checkList }}" wx:key="index"> |
|
|
|
<view slot="title" class="flex flex-justify"> |
|
|
|
<view class="flex flex-center"> |
|
|
|
<van-image custom-class="e-image" round fit="{{ fit }}" width="90rpx" height="90rpx" src="{{ item.avatarUrl }}" /> |
|
|
|
<view class="bg-white" wx:for="{{ checkList }}" wx:key="index"> |
|
|
|
<view class="flex flex-justify item-content"> |
|
|
|
<view class="flex flex-center" style="height:90rpx"> |
|
|
|
<van-image use-loading-slot width="90rpx" height="90rpx" lazy-load round src="{{ item.avatarUrl || '/assets/image/ygImg.png' }}"> |
|
|
|
<image class="image-load" slot="loading" src="/assets/image/ygImg.png"></image> |
|
|
|
</van-image> |
|
|
|
<view class="flex flex-column" style="margin-left:18rpx"> |
|
|
|
<text class="text-sg text-bold">{{item.applicantName || item.enterpriseMemberName}}</text> |
|
|
|
<text class="text-sm text-gray" style="line-height:18px">{{item.phone || ''}}</text> |
|
|
|
<text class="text-sm text-gray" style="line-height:18px">{{item.phone || item.applicationMobile || ''}}</text> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="flex" wx:if="{{item.applicantStatus == 0}}"> |
|
|
|
<van-button type="info" size="small" custom-style="margin-right:12rpx" data-index="{{index}}" |
|
|
|
bind:click="agreeItem">同意加入</van-button> |
|
|
|
<view class="flex flex-center" wx:if="{{item.status == 0}}" style="height:90rpx"> |
|
|
|
<van-button type="info" size="small" custom-style="margin-right:12rpx" data-index="{{index}}" bind:click="agreeItem">同意加入</van-button> |
|
|
|
<van-button type="danger" size="small" data-index="{{index}}" bind:click="refuseItem">拒绝加入</van-button> |
|
|
|
</view> |
|
|
|
<view class="text-gray" wx:if="{{item.applicantStatus == 2}}">已拒绝</view> |
|
|
|
<view class="flex flex-center" wx:if="{{item.status == 2}}" style="height:90rpx"> |
|
|
|
<view class="text-gray">已拒绝</view> |
|
|
|
</view> |
|
|
|
<view class="flex flex-center" wx:if="{{item.status == 3}}" style="height:90rpx"> |
|
|
|
<view class="text-gray">已过期</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</van-cell> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
<view wx:if="{{memberList.length}}"> |
|
|
|
<van-index-anchor use-slot><text>所有员工</text></van-index-anchor> |
|
|
|
<van-cell clickable wx:for="{{ memberList }}" wx:key="index" data-index="{{index}}" bindtap="lookItem"> |
|
|
|
<view slot="title" class="flex" style="align-items: center"> |
|
|
|
<van-image custom-class="e-image" round fit="{{ fit }}" width="90rpx" height="90rpx" src="{{ item.avatarUrl }}" /> |
|
|
|
<view slot="title" class="flex" style="margin-bottom:-12rpx"> |
|
|
|
<van-image round width="90rpx" height="90rpx" src="{{ item.avatarUrl || '/assets/image/ygImg.png' }}" /> |
|
|
|
<view style="margin-left:18rpx;width:100%"> |
|
|
|
<view class="flex flex-justify"> |
|
|
|
<text class="text-sg text-bold">{{item.userName || ''}}</text> |
|
|
|
<text class="text-sg text-bold">{{item.enterpriseMemberName || ''}}</text> |
|
|
|
<van-tag plain round type="primary" wx:if="{{item.position == 'PRIMARY'}}">企业主</van-tag> |
|
|
|
<van-tag plain round type="primary" wx:elif="{{item.position == 'ADMINISTRATOR'}}">管理员</van-tag> |
|
|
|
</view> |
|
|
|
<view class="text-sm text-gray" style="line-height:18px">{{item.phone || ''}}</view> |
|
|
|
<view class="text-sm text-gray" style="line-height:18px">{{item.mobile || ''}}</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</van-cell> |
|
|
|
|