index.wxml 1.7 KB

12345678910111213141516171819202122232425262728293031
  1. <!-- 部门筛选 -->
  2. <view wx:if="{{isdep}}" class="groud {{exclution && takeEffect !='dep' ? 'exclution' : '' }}" wx:for="{{depGroud}}" wx:key="label">
  3. <view class="title">
  4. <view class="label">
  5. {{language[item.label]||item.label}}
  6. </view>
  7. <view class="tabs-box" wx:if="{{dimissionF && index==0}}">
  8. <view class="item {{isleave == item.value?'active':''}}" wx:for="{{tabs}}" wx:key="{{item.value}}" data-value="{{item.value}}" bind:tap="changLeave">{{language[item.name]||item.name}}</view>
  9. </view>
  10. </view>
  11. <view class="content">
  12. <van-button custom-class='but {{data.departmentid == item.active?" active":""}}' wx:for="{{item.list}}" wx:for-item="data" wx:for-index="i" wx:key="i" data-item="{{data}}" data-index="{{index}}" data-i="{{i}}" bindtap="selectDep">{{language[data.depname]||data.depname}}</van-button>
  13. </view>
  14. </view>
  15. <!-- 人员筛选 -->
  16. <view wx:if="{{isusers}}" class="groud {{exclution && takeEffect != 'user'? 'exclution' : ''}}" wx:key="label">
  17. <view class="title" style="align-items: center;">
  18. <view class="label">
  19. {{language[users.label]||users.label}}
  20. </view>
  21. <view class="tabs-box" style="margin-right: 20rpx;">
  22. <van-search value="{{ searchValue }}" shape='round' bind:change='searchChange' bind:clear='searchClear' placeholder="{{language['搜索姓名/账号']||'搜索姓名/账号'}}" />
  23. </view>
  24. </view>
  25. <view class="content">
  26. <van-button custom-class='but {{item.userid == users.active?" active":""}}' wx:for="{{users.list}}" wx:key="userid" data-item="{{item}}" bindtap="selectUser">{{item.name}} {{item.accountno}}</van-button>
  27. </view>
  28. </view>
  29. <wxs src='../../utils/wxmlQueryPer.wxs' module="per" />