<!--pages/inspectedRecords/inspectedRecords.wxml-->
<view class="inspected-records-page">
  <view wx:if="{{list && list.length}}">
    <view wx:for="{{list}}" wx:key="id" class="white-box">
      <view class="title-box">
        <text>申请查验{{item.name}}</text>
        <text class="status {{item.status === 'WAIT' ? 'warning' : ''}}">{{status[item.status]}}</text>
      </view>
      <view class="info-box">申请时间：
        <filter type="parseTime" value="{{item.createDate}}" params="{{['{y}-{m}-{d} {h}:{i}']}}" />
      </view>
      <view class="info-box">手机号：{{item.phone}}</view>
      <view class="btn-container">
        <view class="btn-box">
          <text class="btn" bindtap="commingsoon">发送联系方式</text>
          <view class="line"></view>
          <text class="btn" bindtap="commingsoon">发留言</text>
        </view>
        <view wx:if="{{item.status === 'AGREE'}}" class="primary-btn" bindtap="jumpReport" data-id="{{item.id}}">查看授权报告</view>
      </view>
    </view>
  </view>
  <not wx:else top="250rpx"></not>
</view>