<!--pages/errataDetail/errataDetail.wxml-->
<view class="errata-detail-page">
  <view class="field-box">
    <view class="field-item">
      <text class="label">字段名称：</text>{{info.data.dataName}}
    </view>
    <view class="field-item">
      <text class="label">数据来源：</text>{{info.data.dataSourceName}}
    </view>
    <view class="field-item">
      <text class="label">采集时间：</text><filter type="parseTime" value="{{info.data.collectionDate}}" params="{{['{y}-{m}-{d} {h}:{i}']}}"/>
    </view>
    <view class="field-item">
      <text class="label">收录时间：</text><filter type="parseTime" value="{{info.data.createDate}}" params="{{['{y}-{m}-{d}']}}"/>
    </view>
    <view class="field-item">
      <text class="label">数据内容：</text>{{info.data.dataValue}}
    </view>
  </view>
  <view class="remark-box">
    <view class="remark-item">
      <view class="label">勘误内容：</view>
      <view >{{info.applyRemark || '无'}}</view>
    </view>
    <view class="remark-item">
      <view class="label">勘误结果：<view class="status {{info.status === 'WAIT' ? 'warning' : ''}}">{{status[info.status]}}</view></view>
      <view wx:if="{{info.dealRemark}}">备注：{{info.dealRemark}}</view>
    </view>
  </view>
</view>
