<wxs src="../../utils/filter.wxs" module="filter"></wxs>
<view class="container">
  <view style="height:100%;padding-bottom:100rpx;">
    <view class="flex">
      <view class="flex-sub bg-grey padding-sm text-center text-bold">姓名</view>
      <view class="flex-sub bg-grey padding-sm text-center text-bold">联系方式</view>
      <view class="flex-sub bg-grey padding-sm text-center text-bold">提交时间</view>
      <view class="flex-sub bg-grey padding-sm text-center text-bold">审核状态</view>
    </view>
    <block wx:for="{{repairList}}">
      <view class="flex" bindtap="toDetailRepairs" data-id="{{item.id}}">
        <view class="flex-sub padding-sm text-center">{{item.repairsBy}}</view>
        <view class="flex-sub padding-sm text-center">{{item.repairsPhone}}</view>
        <view class="flex-sub padding-sm text-center">{{item.createTime}}</view>
        <view class="flex-sub padding-sm text-center">{{filter.auditStatus(item.auditStatus)}}</view>
      </view>
  </block>
  </view>
  <tui-button type="blue" height="98rpx" shape="rightAngle" bindtap="toAddRepairs" style="position:fixed;bottom:0;width:100%;">添加报修</tui-button>

</view>