index.wxml 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <!--pages/agent/serviceBillList/index.wxml-->
  2. <t-tabs defaultValue="新建" bind:change="onTabsChange" t-class="custom-tabs">
  3. <t-tab-panel label="新建" value="新建" />
  4. <t-tab-panel label="待指派" value="待指派" />
  5. <t-tab-panel label="待处理" value="待处理" />
  6. <t-tab-panel label="进行中" value="进行中" />
  7. <t-tab-panel label="已完成" value="已完成" />
  8. </t-tabs>
  9. <t-pull-down-refresh
  10. style="padding-bottom:60px"
  11. value="{{baseRefresh.value}}"
  12. loadingProps="{{loadingProps}}"
  13. loadingTexts="{{['下拉刷新', '松手刷新', '正在刷新', '刷新完成']}}"
  14. bind:refresh="onPullDownRefresh"
  15. bind:scrolltolower="onReachBottom"
  16. >
  17. <view style="padding:10px">
  18. <t-card url="{{'/Eservice/workerLeader/serviceBillDetail/index?id=' + item.sa_serviceorderid}}" wx:for="{{list}}" wx:key="sa_serviceorderid">
  19. <view style="flex:1" slot="content">
  20. <view class="flex-align-center flex-between card__header">
  21. <view>
  22. <t-tag class="mr-5" wx:if="{{item.servicetype}}" variant="light" shape="round" theme="primary" size="small">{{item.servicetype}}</t-tag>
  23. <t-tag class="mr-5" wx:if="{{item.class1}}" variant="light" shape="round" theme="primary" size="small">{{item.class1}}</t-tag>
  24. <t-tag class="mr-5" wx:if="{{item.class1}}" variant="light" shape="round" theme="primary" size="small">{{item.class1}}</t-tag>
  25. </view>
  26. <text>{{item.status}}</text>
  27. </view>
  28. <view class="card__body">
  29. <view>服务地址:{{item.province}}{{item.city}}{{item.county}}{{item.address}}</view>
  30. <view style="margin-top:3px">
  31. <!-- <view class="colorInfo small">关联订单:{{item.sonum}}</view> -->
  32. <view class="colorInfo small">申请单号:{{item.billno}}</view>
  33. <view class="colorInfo small">
  34. <text class="mr-5">现场联系人:{{item.scenecontact}}</text><text class="mr-5">{{item.scenecontactrole}}</text><text class="mr-5">{{item.scenecontactphonenumber}}</text>
  35. </view>
  36. </view>
  37. </view>
  38. </view>
  39. </t-card>
  40. <t-empty wx:if="{{list.length === 0}}" icon="root-list" t-class="empty-cls" t-class-image="t-empty__image" description="暂无数据" />
  41. <t-fab icon="add" style="position:fixed;right:16px;bottom:72px" bind:click="handleClick" aria-label="增加"></t-fab>
  42. </view>
  43. </t-pull-down-refresh>