<t-navbar title="随访评估报告" left-arrow />
<scroll-view class="page-container" scroll-y>

  <view wx:if="{{tasks.length>0}}">
    <view class="follow-box" style="padding-top:20px">
      <view class="title">随访计划：</view>
      <view class="content">{{followDetail.followupPlanName}}</view>
    </view>

    <view class="follow-box">
      <view class="title">评估结果：</view>
      <view class="content">{{followDetail.evaluate.evaluateDeal==='1'?'复诊':followDetail.evaluate.evaluateDeal==='2'?'中医调养':''}}</view>
    </view>

    <view class="follow-box">
      <view class="title">疾病专归：</view>
      <view class="content">{{followDetail.evaluate.evaluateSituation==='1'?'痊愈':followDetail.evaluate.evaluateSituation==='2'?'好转':followDetail.evaluate.evaluateSituation==='3'?'无变化':followDetail.evaluate.evaluateSituation==='4'?'恶化':''}}</view>
    </view>
    <view class="follow-box">
      <view class="title">评估备注：</view>
      <view class="content">{{followDetail.evaluate.evaluateDesc}}</view>
    </view>
    <view class="follow-box">
      <view class="title">评估医生：</view>
      <view class="content">{{followDetail.evaluateBy}}</view>
    </view>
    <view class="follow-box" style="padding-bottom:20px">
      <view class="title">评估日期：</view>
      <view class="content">{{followDetail.evaluateTime}}</view>
    </view>
  </view>


  <view class="follow-record">随访记录</view>

  <block wx:for="{{tasks}}" wx:key="id" wx:for-item="task">
    <view style="margin-bottom:16px">
      <view class="time-box">{{task.arrangeTime}}</view>
      <view class="record-box">
        <view class="new-symptoms">
          <view class="questions">1、请问您的症状是否已经好转？</view>
          <view style="margin-top:10px">
            <view class="symptoms">
              <view class="improved">好转：</view>
              <view>{{task.fillin?task.improve:'无'}}</view>
            </view>
            <view class="symptoms sym-center">
              <view class="improved">恶化：</view>
              <view>{{task.worse?task.worse:'无'}}</view>
            </view>
            <view class="symptoms">
              <view class="improved">无变化：</view>
              <view>{{task.noChange?task.noChange:'无'}}</view>
            </view>
          </view>
        </view>

        <view class="new-symptoms">
          <view>2、请问有没有出现新的症状？</view>
          <view style="margin-left:20px;margin-top:10px">{{task.fillin.isHaveNewSyndrome==='Y'?'有':task.fillin.isHaveNewSyndrome==='N'?'没有':'无'}}</view>
        </view>

        <view class="new-symptoms">
          <view>3、如果有其他情况吗，请留言？</view>
          <view style="margin-left:20px;margin-top:10px">{{task.fillin.otherDesc?task.fillin.otherDesc:'用户暂无留言~'}}</view>
        </view>

        <view class="image-box" wx:if="{{task.fiilin.upImg || task.fillin.downImg || task.fillin.faceImg}}">
          <image class="tongue__img" src="{{task.fiilin.upImg}}" mode="aspectFit" />
          <image class="tongue__img" src="{{task.fillin.downImg}}" mode="aspectFit" />
          <image class="tongue__img" src="{{task.fillin.faceImg}}" mode="aspectFit" />
        </view>

        <view class="report-box" wx:if="{{task.tonguefaceAnalysisReportId}}">
          <image class="icon-bg" src="../../assets/icon/icon_report.png" />
          <view bind:tap="goSeeFaceReport" data-id="{{task.tonguefaceAnalysisReportId}}">查看舌面象分析报告</view>
        </view>



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

</scroll-view>