index.wxml 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <Yl_nav search list='{{navList}}' sort='{{content.sort}}' bind:onClick='navClick' bind:onSearch='onSearch' />
  2. <view class="global-total">
  3. 总共{{content.total}}个
  4. </view>
  5. <Yl_ListBox id='ListBox' bind:getlist='getList'>
  6. <navigator url="/prsx/tryOut/detail?id={{item.sa_trialid}}" class="project-item global-card" wx:for="{{list}}" wx:key="sa_trialid">
  7. <view class="label">
  8. <view class="title line-1">{{item.billno}}</view>
  9. <view class="state" style="background-color: {{sColors[item.status]}}">{{item.status}}</view>
  10. </view>
  11. <view class="tag-box">
  12. <view class="systemtag" wx:for="{{item.tag_sys}}" wx:key="item">{{language[item]||item}}</view>
  13. <view class="datatag" wx:for="{{item.tag}}" wx:key="item">{{language[item]||item}}</view>
  14. </view>
  15. <view class="replenish">
  16. <text style="color: #666;">试用类型:</text>
  17. <text>{{item.type || ' --'}}</text>
  18. </view>
  19. <view class="replenish">
  20. <text style="color: #666;">医院:</text>
  21. <text>{{item.hospitalname || ' --'}}</text>
  22. </view>
  23. <view class="replenish">
  24. <text style="color: #666;">科室:</text>
  25. <text>{{item.hospitaldepname || ' --'}}</text>
  26. </view>
  27. <view class="replenish">
  28. <text style="color: #666;">经销商:</text>
  29. <text>{{item.agentname || ' --'}}</text>
  30. </view>
  31. <view class="replenish">
  32. <text style="color: #666;">申请日期:</text>
  33. <text>{{item.applydate || ' --'}}</text>
  34. </view>
  35. <view class="replenish">
  36. <text style="color: #666;">发货日期:</text>
  37. <text>{{item.deliverydate || ' --'}}</text>
  38. </view>
  39. <view class="replenish">
  40. <text style="color: #666;">试用结束日期:</text>
  41. <text>{{item.enddate || ' --'}}</text>
  42. </view>
  43. <view class="replenish">
  44. <text style="color: #666;">负责人:</text>
  45. <text>{{item.leader.length? item.leader[0].name : ' --'}}</text>
  46. </view>
  47. </navigator>
  48. <My_empty wx:if="{{list.length==0}}" />
  49. </Yl_ListBox>
  50. <!-- 显示类型 -->
  51. <van-action-sheet show="{{ classShow }}" actions="{{ classActions }}" cancel-text="取消" bind:click-overlay='classClose' bind:cancel="classClose" bind:select="classSelect" />
  52. <!-- 筛选条件 -->
  53. <Yl_Filtrate1 show='{{filterShow}}' list="{{filter}}" dateRange dateRangeName='申请日期' dateRange1 dateRangeName1='发货日期' bind:handle="handleFilter" />
  54. <!-- 浮动按钮 -->
  55. <Yl_FloatingButton wx:if="{{insert}}" bindtap="toAdd" />