companyUser.wxml 1.4 KB

123456789101112131415161718192021222324252627282930313233343536
  1. <cu-custom bgColor="bg-color" isBack="{{true}}" title="员工管理">
  2. <!-- <view slot="content">员工管理</view> -->
  3. </cu-custom>
  4. <view class="worker_search">
  5. <view class="worker_search_con">
  6. <input type="text" placeholder="请输入名字" value="{{keyword}}" bindinput="setKeyword"></input>
  7. <view class="text-color" bindtap="searchList"><text class="cuIcon-search"></text>搜索</view>
  8. </view>
  9. </view>
  10. <view class="tabs">
  11. <view data-index="10" bindtap="tabs">
  12. <text class="{{activeIndex == '10' ? 'active' : ''}}">未授权</text>
  13. </view>
  14. <view data-index="20" bindtap="tabs">
  15. <text class="{{activeIndex == '20' ? 'active' : ''}}">已授权</text>
  16. </view>
  17. <view data-index="00" bindtap="tabs">
  18. <text class="{{activeIndex == '00' ? 'active' : ''}}">全部</text>
  19. </view>
  20. </view>
  21. <view class="userInfo">
  22. <view wx:for="{{companyUserList}}" wx:for-item="item">
  23. <view>
  24. <text>名字:{{item.nickName}}</text>
  25. <text>手机号:{{item.phoneNumber}}</text>
  26. </view>
  27. <view wx:if="{{item.status == '10'}}">
  28. <text bindtap="verify" data-index="20" data-id="{{item.id}}">授权</text>
  29. <text bindtap="verify" data-index="10" data-id="{{item.id}}">拒绝</text>
  30. <text bindtap="verify" data-index="40" data-id="{{item.id}}">退出、离职</text>
  31. </view>
  32. <view class="text" wx:if="{{item.status == 20}}">
  33. <view>已同意授权</view>
  34. </view>
  35. </view>
  36. </view>