<import-sjs name="utils" from="./index.sjs"/>
<view class="report-record-item" onTap="onTapItem">
  <view class="item-content">
    <view class="item-header">
      <view class="header-left">
          <view class="record-name">
            {{ item.itemName }}
          </view>
          <view class="num-type">
            {{ item.type }}
          </view>
      </view>
    </view>
  </view>
  <view class="item-container">
    <view a:if="{{ item.userName }}" class="item-box">
      <view class="item-label">就诊人</view>
      <view class="item-value">
        {{ item.userName || '--' }}
      </view>
    </view>
    <view a:if="{{ item.diagnosis }}" class="item-box">
      <view class="item-label">临床诊断</view>
      <view class="item-value clinical-diagnosis">
        {{ item.diagnosis || '--' }}
      </view>
    </view>
    <view a:if="{{ item.applyDate }}" class="item-box">
      <view class="item-label">报告时间</view>
      <view class="item-value">
        <view>
          {{ item.applyDate }}
        </view>
        <!-- <view class="line" />
        <view>
          {{ item.queueNum }}号
        </view> -->
      </view>
    </view>
    <view a:if="{{ item.departmentName }}" class="item-box">
      <view class="item-label">就诊科室</view>
      <view class="item-value">
        {{ item.departmentName || '--' }}

      </view>
    </view>
  </view>
</view>

