issueTicket.wxml 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <wxs src="../../../utils/format.wxs" module="format" />
  2. <view>
  3. <van-tabs active="{{ activeTab }}" color="#1677FF" id="tabs" bind:change="onTabChange">
  4. <van-tab title="处理中" name="1"></van-tab>
  5. <van-tab title="已完结" name="2"></van-tab>
  6. </van-tabs>
  7. <view class="ticket-list">
  8. <view class="ticket-item" wx:for="{{ticketList}}" wx:key="index">
  9. <view class="ticket-top">
  10. <view class="top-left">
  11. <image src="/static/images/upgrade/icon-wtgd.png" mode="aspectFit"></image>
  12. <view>问题工单</view>
  13. </view>
  14. <view class="top-right" wx:if="{{!format.indexOf(item.relationBookTradeNo,'JZ')}}">
  15. <image src="/static/images/upgrade/icon-hm.png" mode="aspectFit"></image>
  16. <view>盒马</view>
  17. </view>
  18. </view>
  19. <view class="ticket-content">
  20. <view>工单类型:{{item.ticketTypeStr}}</view>
  21. <view>工单状态:{{item.ticketStatusStr}}</view>
  22. <view>工单时间:{{item.createTime}}</view>
  23. <view>关联单据:{{item.relationBookTradeNo}}</view>
  24. <view>最新进度:</view>
  25. </view>
  26. <!-- 进度 -->
  27. <view class="prorgress">
  28. <view class="progress-dot"></view>
  29. <view>{{item.content}}</view>
  30. </view>
  31. <view class="progress-tip">
  32. {{item.processTime}}
  33. </view>
  34. <view class="ticket-bottom">
  35. <image src="/static/images/upgrade/icon-detail.png" mode="aspectFit"></image>
  36. <view bindtap="goDetail" data-id="{{item.relationBookTradeNo}}">查看详情</view>
  37. </view>
  38. </view>
  39. <view class="no-order">暂无数据</view>
  40. </view>
  41. </view>