index.wxml 2.5 KB

123456789101112131415161718192021222324252627282930313233343536
  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 value="{{baseRefresh.value}}" loadingProps="{{loadingProps}}" loadingTexts="{{['下拉刷新', '松手刷新', '正在刷新', '刷新完成']}}" bind:refresh="onPullDownRefresh" bind:scrolltolower="onReachBottom">
  10. <view style="padding:10px">
  11. <t-card url="{{'/Eservice/agent/serviceBillDetail/index?id=' + item.sa_serviceorderid}}" wx:for="{{list}}" wx:key="sa_serviceorderid">
  12. <view style="flex:1" slot="content">
  13. <view class="flex-align-center flex-between card__header">
  14. <view>
  15. <t-tag class="mr-5" wx:if="{{item.servicetype}}" variant="light" shape="round" theme="primary" size="small">{{item.servicetype}}</t-tag>
  16. <t-tag class="mr-5" wx:if="{{item.class1}}" variant="light" shape="round" theme="primary" size="small">{{item.class1}}</t-tag>
  17. <t-tag class="mr-5" wx:if="{{item.class2}}" variant="light" shape="round" theme="primary" size="small">{{item.class2}}</t-tag>
  18. </view>
  19. <text>{{language[item.status]||item.status}}</text>
  20. </view>
  21. <view class="card__body">
  22. <view>服务地址:{{item.province}}{{item.city}}{{item.county}}{{item.address}}</view>
  23. <view style="margin-top:3px">
  24. <!-- <view class="colorInfo small">关联订单:{{item.sonum}}</view> -->
  25. <view class="colorInfo small">申请单号:{{item.billno}}</view>
  26. <view class="colorInfo small">
  27. <text class="mr-5">现场联系人:{{item.scenecontact}}</text><text class="mr-5">{{item.scenecontactrole}}</text><text class="mr-5">{{item.scenecontactphonenumber}}</text>
  28. </view>
  29. </view>
  30. </view>
  31. </view>
  32. </t-card>
  33. <Yl_Empty wx:if="{{!list.length}}" />
  34. <t-fab icon="add" style="position:fixed;right:16px;bottom:72px" bind:click="handleClick" aria-label="增加"></t-fab>
  35. </view>
  36. </t-pull-down-refresh>