<view>
  <view class="flex-box-ce header">
    <view class="{{tabIndex==1? 'tabs':''}} flex-1" onTap="tabAction" data-index="1">未录入
      <text a:if="{{age.num1}}" class="red">({{age.num1}})</text></view>
    <view class="{{tabIndex==2? 'tabs':''}} flex-1" onTap="tabAction" data-index="2">已录入
      <text a:if="{{age.num2}}" class="red">({{age.num2}})</text></view>
  </view>
  <view class="main">
    <scroll-view class="scroll" a:if="{{rvenotList.length>0}}" scroll-y="{{true}}" onScrollToLower="onScrollToLower">
      <view a:for="{{rvenotList}}" style="margin: 0.2rem 0px;padding: 0.24rem ;background-color: rgb(255, 255, 255);">
        <view class="flex-box-ce" style="border-bottom: 1px dashed rgb(243, 243, 243);padding-bottom: 0.25rem;">
          <img-box name="{{item.userName}}" id="{{item.userId}}" height="70rpx" width="70rpx" fSize="24rpx"></img-box>
          <view style="padding:0 10rpx">{{item.userName}}</view>
          <view class="fontColorX" style="font-size:0.26rem;">
            <text a:for="{{item.dept_list}}" a:for-index="e">{{item.name}}
              <text a:if="{{item.dept_list.length - e > 1}}">,</text></text>
          </view>
        </view>
        <view class="title">{{ item.name }}</view>
        <view a:for="{{item.dil}}" a:for-item="arr" a:if="{{arr.prop}}" style="margin-top:10rpx">
          <text style="color:#929292;font-size:.27rem;">{{ arr.lab }}：</text>
          <text style="font-size:.28rem;">{{ arr.prop }}</text>
        </view>
        <view a:if="{{tabIndex == 1}}" class="flex-box">
          <input class="flex-1 input" onInput="bindTextAreaBlur" data-index="{{index}}" data-item="{{item}}" value="{{item.result}}" placeholder="请输入结果值" />
        </view>
        <view a:else>
          <text style="color:#929292;font-size:.27rem;">结果值：</text>
          <text style="font-size:.28rem;">{{ item.result }} {{ item.unit }}</text>
        </view>
      </view>
      <view class="noDatas">没有更多咯</view>
    </scroll-view>
    <no-data a:if="{{rvenotList.length==0}}"></no-data>
  </view>
  <view class="footer" a:if="{{tabIndex==1}}">
    <view class="footfoot flex-box-ce">
      <view class="footcol flex-1" data-index='1' catchTap="save">
        <text class="iconfont icon-wj-jlb"></text>
        <view>暂存</view>
      </view>
      <view class="footBut flex-box-ce">
        <!-- <view class="footcolButno" catchTap="scorerveno">取消</view> -->
        <view class="footcolButok" data-index='0' catchTap="save">提交</view>
      </view>
    </view>
  </view>
  
</view>