<!--pages/followUp/index.wxml-->
<view class="follow-up">
  <view class="follow-item">
    <view>随访信息</view>
    <view class="input-example">
      <view class="input-example__label"> 随访名称</view>
      <t-input placeholder="请输入" size="small" bind:tap="onInput" data-key="follow_name" borderless="{{true}}" style="{{style}}" />
    </view>
    <view class="input-example">
      <view class="input-example__label"> 随访日期</view>
      <t-input placeholder="请输入" bindtap="showPicker" size="small" borderless="{{true}}" style="{{style}}" data-mode="birth"  suffixIcon="{{ { name: 'calendar-1', ariaLabel: '通讯录' } }}" />
   
    </view>
    <view class="input-example">
      <view class="input-example__label"> 随访医院</view>
      <t-input placeholder="请输入" size="small" bind:tap="onInput" data-key="follow_hospital" borderless="{{true}}" style="{{style}}" />
    </view>
    
  </view>
  <view class="follow-item">
    <view>生长指数</view>

    <t-row gutter="12">
      <t-col span="12">
        <view class="dark">
          <view class="input-example">
            <view class="input-example__label"> 身高（cm） </view>
            <t-input placeholder="请输入" size="small" bind:tap="onInput" data-key="height" borderless="{{true}}" style="{{style}}" />
          </view>

        </view>
      </t-col>
      <t-col span="12">
        <view class="dark">
          <view class="input-example">
            <view class="input-example__label"> 体重（kg） </view>
            <t-input placeholder="请输入" bind:tap="onInput" data-key="weight" borderless="{{true}}" style="{{style}}" />
          </view>
        </view>
      </t-col>
      <t-col span="12">
        <view class="dark">
          <view class="input-example">
            <view class="input-example__label"> 头围（cm） </view>
            <t-input placeholder="请输入" bind:tap="onInput" data-key="head_circumference" borderless="{{true}}" style="{{style}}" />
          </view>

        </view>
      </t-col>
      <t-col span="12">
        <view class="dark">
          <view class="input-example">
            <view class="input-example__label"> 上臀围（cm） </view>
            <t-input placeholder="请输入" bind:tap="onInput" data-key="high_hip" borderless="{{true}}" style="{{style}}" />
          </view>
        </view>
      </t-col>
    </t-row>
  </view>
  <view class="follow-item">
    <view>肝功能</view>

    <view class="wrapper">
      <view class="input-example">
        <view class="input-example__label"> 上传肝功能检查报告（支持OCR识别）</view>
      </view>
      <t-upload media-type="{{['image']}}" files="{{originFiles}}" gridConfig="{{gridConfig}}" removeBtn="{{false}}" bind:success="handleSuccess" bind:remove="handleRemove" bind:click="handleClick" bind:sort-end="handleSortEnd" />
    </view>

    <t-row gutter="12">
      <t-col span="12">
        <view class="dark">
          <view class="input-example">
            <view class="input-example__label"> 总胆红素（µmol/L) </view>
            <t-input placeholder="请输入" size="small" bind:tap="onInput" data-key="total_bilirubin" borderless="{{true}}" style="{{style}}" />
          </view>

        </view>
      </t-col>
      <t-col span="12">
        <view class="dark">
          <view class="input-example">
            <view class="input-example__label">直接胆红素(µmol/L)</view>
            <t-input placeholder="请输入" bind:tap="onInput" data-key="direct_bilirubin" borderless="{{true}}" style="{{style}}" />
          </view>
        </view>
      </t-col>
      <t-col span="12">
        <view class="dark">
          <view class="input-example">
            <view class="input-example__label"> 总胆汁酸（g/L） </view>
            <t-input placeholder="请输入" bind:tap="onInput" data-key="total_bile_acid" borderless="{{true}}" style="{{style}}" />
          </view>

        </view>
      </t-col>
      <t-col span="12">
        <view class="dark">
          <view class="input-example">
            <view class="input-example__label"> 白蛋白（g/L） </view>
            <t-input placeholder="请输入" bind:tap="onInput" data-key="albumin" borderless="{{true}}" style="{{style}}" />
          </view>
        </view>
      </t-col>
      <t-col span="12">
        <view class="dark">
          <view class="input-example">
            <view class="input-example__label"> 谷草（U/L）</view>
            <t-input placeholder="请输入" size="small" bind:tap="onInput" data-key="grain_grass" borderless="{{true}}" style="{{style}}" />
          </view>

        </view>
      </t-col>
      <t-col span="12">
        <view class="dark">
          <view class="input-example">
            <view class="input-example__label"> 谷丙（U/L）</view>
            <t-input placeholder="请输入" bind:tap="onInput" data-key="gu_bing" borderless="{{true}}" style="{{style}}" />
          </view>
        </view>
      </t-col>
      <t-col span="12">
        <view class="dark">
          <view class="input-example">
            <view class="input-example__label"> GGT（U/L）</view>
            <t-input placeholder="请输入" bind:tap="onInput" data-key="ggt" borderless="{{true}}" style="{{style}}" />
          </view>

        </view>
      </t-col>
      <t-col span="12">
        <view class="dark">
          <view class="input-example">
            <view class="input-example__label"> ALP（U/L）</view>
            <t-input placeholder="请输入" bind:tap="onInput" data-key="alp" borderless="{{true}}" style="{{style}}" />
          </view>
        </view>
      </t-col>
    </t-row>
  </view>
  <view class="follow-item">
    <view>
      凝血功能</view>

    <view class="wrapper">
      <view class="input-example">
        <view class="input-example__label"> 上传凝血功能检查报告（支持OCR识别）</view>
      </view>
      <t-upload media-type="{{['image']}}" files="{{originFiles}}" gridConfig="{{gridConfig}}" removeBtn="{{false}}" bind:success="handleSuccess" bind:remove="handleRemove" bind:click="handleClick" bind:sort-end="handleSortEnd" />
    </view>

    <t-row gutter="12">
      <t-col span="12">
        <view class="dark">
          <view class="input-example">
            <view class="input-example__label"> 凝血酶原时间（s）</view>
            <t-input placeholder="请输入" bind:tap="onInput" data-key="follow_name" size="small" borderless="{{true}}" style="{{style}}" />
          </view>

        </view>
      </t-col>
      <t-col span="12">
        <view class="dark">
          <view class="input-example">
            <view class="input-example__label"> 国际标准化比</view>
            <t-input placeholder="请输入" bind:tap="onInput" data-key="follow_name" borderless="{{true}}" style="{{style}}" />
          </view>
        </view>
      </t-col>
      <t-col span="13">
        <view class="dark">
          <view class="input-example">
            <view class="input-example__label"> 活化的部分凝血酶时间（s）</view>
            <t-input placeholder="请输入" bind:tap="onInput" data-key="follow_name" borderless="{{true}}" style="{{style}}" />
          </view>

        </view>
      </t-col>

    </t-row>
  </view>
  <view class="follow-item">
    <view>
      血常规</view>

    <view class="wrapper">
      <view class="input-example">
        <view class="input-example__label"> 上传血常规检查报告（支持OCR识别）</view>
      </view>
      <t-upload media-type="{{['image']}}" files="{{originFiles}}" gridConfig="{{gridConfig}}" removeBtn="{{false}}" bind:success="handleSuccess" bind:remove="handleRemove" bind:click="handleClick" bind:sort-end="handleSortEnd" />
    </view>

    <t-row gutter="12">
      <t-col span="12">
        <view class="dark">
          <view class="input-example">
            <view class="input-example__label"> 血小板（10^9/L） </view>
            <t-input placeholder="请输入" bind:tap="onInput" data-key="platelets" size="small" borderless="{{true}}" style="{{style}}" />
          </view>

        </view>
      </t-col>
      <t-col span="12">
        <view class="dark">
          <view class="input-example">
            <view class="input-example__label"> 血红蛋白（g/L）</view>
            <t-input placeholder="请输入" bind:tap="onInput" data-key="hemoglobin" borderless="{{true}}" style="{{style}}" />
          </view>
        </view>
      </t-col>
      <t-col span="12">
        <view class="dark">
          <view class="input-example">
            <view class="input-example__label"> 白细胞（10^9/L）</view>
            <t-input placeholder="请输入" bind:tap="onInput" data-key="white_blood_cells" borderless="{{true}}" style="{{style}}" />
          </view>

        </view>
      </t-col>

    </t-row>
  </view>
  <view class="follow-item">
    <view>
      营养指标</view>

    <view class="wrapper">
      <view class="input-example">
        <view class="input-example__label"> 上传营养指标检查报告（支持OCR识别）</view>
      </view>
      <t-upload media-type="{{['image']}}" files="{{originFiles}}" gridConfig="{{gridConfig}}" removeBtn="{{false}}" bind:success="handleSuccess" bind:remove="handleRemove" bind:click="handleClick" bind:sort-end="handleSortEnd" />
    </view>

    <t-row gutter="12">
      <t-col span="12">
        <view class="dark">
          <view class="input-example">
            <view class="input-example__label"> 25（OH）D3 (ng/ml) </view>
            <t-input placeholder="请输入" bind:tap="onInput" data-key="oh_d3" size="small" borderless="{{true}}" style="{{style}}" />
          </view>

        </view>
      </t-col>
      <t-col span="12">
        <view class="dark">
          <view class="input-example">
            <view class="input-example__label"> 维生素A (ng/ml)</view>
            <t-input placeholder="请输入" bind:tap="onInput" data-key="vitamin_a" borderless="{{true}}" style="{{style}}" />
          </view>
        </view>
      </t-col>
      <t-col span="12">
        <view class="dark">
          <view class="input-example">
            <view class="input-example__label"> 维生素K (ng/ml)</view>
            <t-input placeholder="请输入" bind:tap="onInput" data-key="vitamin_k" borderless="{{true}}" style="{{style}}" />
          </view>

        </view>
      </t-col>
      <t-col span="12">
        <view class="dark">
          <view class="input-example">
            <view class="input-example__label"> 维生素E (ng/ml)</view>
            <t-input placeholder="请输入" bind:tap="onInput" data-key="vitamin_e" borderless="{{true}}" style="{{style}}" />
          </view>

        </view>
      </t-col>
    </t-row>
  </view>
  <view class="follow-item">
    <view>
      B超</view>

    <view class="wrapper">
      <view class="input-example">
        <view class="input-example__label"> 上传B超报告（支持OCR识别）</view>
      </view>
      <t-upload media-type="{{['image']}}" files="{{originFiles}}" gridConfig="{{gridConfig}}" removeBtn="{{false}}" bind:success="handleSuccess" bind:remove="handleRemove" bind:click="handleClick" bind:sort-end="handleSortEnd" />
    </view>

    <t-row gutter="12">
      <t-col span="12">
        <view class="dark">
          <view class="input-example">
            <view class="input-example__label"> 肝肋下(mm)</view>
            <t-input placeholder="请输入" bind:tap="onInput" data-key="under_the_liver_rib" size="small" borderless="{{true}}" style="{{style}}" />
          </view>

        </view>
      </t-col>
      <t-col span="12">
        <view class="dark">
          <view class="input-example">
            <view class="input-example__label"> 肝剑突下(mm)</view>
            <t-input placeholder="请输入" bind:tap="onInput" data-key="under_the_xiphoid_liver" borderless="{{true}}" style="{{style}}" />
          </view>
        </view>
      </t-col>
      <t-col span="12">
        <view class="dark">
          <view class="input-example">
            <view class="input-example__label"> 脾肋下(mm)</view>
            <t-input placeholder="请输入" bind:tap="onInput" data-key="spleen_rib_area" borderless="{{true}}" style="{{style}}" />
          </view>

        </view>
      </t-col>
      <t-col span="12">
        <view class="dark">
          <view class="input-example">
            <view class="input-example__label"> 门静脉主干(mm)</view>
            <t-input placeholder="请输入" bind:tap="onInput" data-key="main_portal_vein" borderless="{{true}}" style="{{style}}" />
          </view>

        </view>
      </t-col>
      <t-col span="12">
        <view class="dark">
          <view class="input-example">
            <view class="input-example__label"> 门静脉流速</view>
            <t-input placeholder="请输入" bind:tap="onInput" data-key="pvv" size="small" borderless="{{true}}" style="{{style}}" />
          </view>

        </view>
      </t-col>
      <t-col span="12">
        <view class="dark">
          <view class="input-example">
            <view class="input-example__label"> 肝弹性值</view>
            <t-input placeholder="请输入" bind:tap="onInput" data-key="liver_elasticity_value" borderless="{{true}}" style="{{style}}" />
          </view>
        </view>
      </t-col>
      <t-col span="12">
        <view class="dark">
          <view class="input-example">
            <view class="input-example__label"> 有无肝囊肿</view>
            <t-radio-group default-value="0" borderless t-class="box">
              <t-radio block="{{false}}" label="有" value="0" />
              <t-radio block="{{false}}" label="无" value="1" />
            </t-radio-group>
          </view>

        </view>
      </t-col>
      <t-col span="12">
        <view class="dark">
          <view class="input-example">
            <view class="input-example__label"> 有无腹水</view>
            <t-radio-group default-value="0" borderless t-class="box">
              <t-radio block="{{false}}" label="有" value="0" />
              <t-radio block="{{false}}" label="无" value="1" />
            </t-radio-group>
          </view>

        </view>
      </t-col>
    </t-row>
  </view>
  <view class="follow-item">
    <view>
      MDT电子病历</view>

    <view class="wrapper">
      <view class="input-example">
        <view class="input-example__label"> 上传本次随访的电子病历</view>
      </view>
      <t-upload media-type="{{['image']}}" files="{{originFiles}}" gridConfig="{{gridConfig}}" removeBtn="{{false}}" bind:success="handleSuccess" bind:remove="handleRemove" bind:click="handleClick" bind:sort-end="handleSortEnd" />
    </view>
  </view>

  <t-button bindtap="clockIn" theme="primary" block bindtap="toQuestionnaire">提交</t-button>



  <t-date-time-picker auto-close bind:cancel="hidePicker" bind:change="onPickerChange" cancelBtn="取消" confirmBtn="确认" data-mode="birth" defaultValue="{{personInfo.birth}}" end="{{birthEnd}}" filter="{{birthFilter}}" format="YYYY-MM-DD" mode="date" popup-props="{{ { usingCustomNavbar: true } }}" start="{{birthStart}}" title="选择生日" value="{{personInfo.birth}}" visible="{{birthVisible}}" />
</view>