index.wxml 1.1 KB

123456789101112131415161718192021
  1. <wxs src="../../utils/filter.wxs" module="filter"></wxs>
  2. <view class="container">
  3. <view style="height:100%;padding-bottom:100rpx;">
  4. <view class="flex">
  5. <view class="flex-sub bg-grey padding-sm text-center text-bold">姓名</view>
  6. <view class="flex-sub bg-grey padding-sm text-center text-bold">联系方式</view>
  7. <view class="flex-sub bg-grey padding-sm text-center text-bold">提交时间</view>
  8. <view class="flex-sub bg-grey padding-sm text-center text-bold">审核状态</view>
  9. </view>
  10. <block wx:for="{{repairList}}">
  11. <view class="flex" bindtap="toDetailRepairs" data-id="{{item.id}}">
  12. <view class="flex-sub padding-sm text-center">{{item.repairsBy}}</view>
  13. <view class="flex-sub padding-sm text-center">{{item.repairsPhone}}</view>
  14. <view class="flex-sub padding-sm text-center">{{item.createTime}}</view>
  15. <view class="flex-sub padding-sm text-center">{{filter.auditStatus(item.auditStatus)}}</view>
  16. </view>
  17. </block>
  18. </view>
  19. <tui-button type="blue" height="98rpx" shape="rightAngle" bindtap="toAddRepairs" style="position:fixed;bottom:0;width:100%;">添加报修</tui-button>
  20. </view>