index.wxml 1.3 KB

123456789101112131415161718192021222324252627282930313233
  1. <view class='tab-box'>
  2. <view class="left">
  3. <van-tabs active="{{ active }}" tab-class='tab-class' color='#3874F6' bind:change="onChange">
  4. <van-tab wx:for="{{ops}}" wx:key="name" title="{{language[item.title]||item.title}}" name="{{item.name}}" />
  5. </van-tabs>
  6. </view>
  7. <view class="right">
  8. <view class="filtrate-box" hover-class="navigator-hover" bindtap="openFiltrate">
  9. <text class="iconfont icon-shaixuan" />
  10. <view wx:if="{{username}}">
  11. {{language[username]||username}}_{{language[isleave==1?'在职':'离职']||isleave==1?'在职':'离职'}}
  12. </view>
  13. </view>
  14. </view>
  15. </view>
  16. <view hidden="{{active != 'Clue'}}">
  17. <Clue id='Clue' wx:if="{{per.query(unfolds,'Clue')}}" bindupdate="getList" />
  18. </view>
  19. <view hidden="{{active != 'Client'}}">
  20. <Client id='Client' wx:if="{{per.query(unfolds,'Client')}}" bindupdate="getList" />
  21. </view>
  22. <view hidden="{{active != 'Project'}}">
  23. <Project id='Project' wx:if="{{per.query(unfolds,'Project')}}" bindupdate="getList" />
  24. </view>
  25. <view hidden="{{active != 'Cost'}}">
  26. <Cost id='Cost' wx:if="{{per.query(unfolds,'Cost')}}" bindupdate="getList" />
  27. </view>
  28. <wxs src='../../utils/wxmlQueryPer.wxs' module="per" />
  29. <Yl_Filtrate1 id="Yl_Filtrate1" show='{{showFiltrate}}' list="{{[]}}" bindhandle="handleFilter">
  30. <organization slot='head' defaultIsleave='1' dimissionF id='organization' />
  31. </Yl_Filtrate1>