resultValueEntry.axml 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <view>
  2. <view class="flex-box-ce header">
  3. <view class="{{tabIndex==1? 'tabs':''}} flex-1" onTap="tabAction" data-index="1">未录入
  4. <text a:if="{{age.num1}}" class="red">({{age.num1}})</text></view>
  5. <view class="{{tabIndex==2? 'tabs':''}} flex-1" onTap="tabAction" data-index="2">已录入
  6. <text a:if="{{age.num2}}" class="red">({{age.num2}})</text></view>
  7. </view>
  8. <view class="main">
  9. <scroll-view class="scroll" a:if="{{rvenotList.length>0}}" scroll-y="{{true}}" onScrollToLower="onScrollToLower">
  10. <view a:for="{{rvenotList}}" style="margin: 0.2rem 0px;padding: 0.24rem ;background-color: rgb(255, 255, 255);">
  11. <view class="flex-box-ce" style="border-bottom: 1px dashed rgb(243, 243, 243);padding-bottom: 0.25rem;">
  12. <img-box name="{{item.userName}}" id="{{item.userId}}" height="70rpx" width="70rpx" fSize="24rpx"></img-box>
  13. <view style="padding:0 10rpx">{{item.userName}}</view>
  14. <view class="fontColorX" style="font-size:0.26rem;">
  15. <text a:for="{{item.dept_list}}" a:for-index="e">{{item.name}}
  16. <text a:if="{{item.dept_list.length - e > 1}}">,</text></text>
  17. </view>
  18. </view>
  19. <view class="title">{{ item.name }}</view>
  20. <view a:for="{{item.dil}}" a:for-item="arr" a:if="{{arr.prop}}" style="margin-top:10rpx">
  21. <text style="color:#929292;font-size:.27rem;">{{ arr.lab }}:</text>
  22. <text style="font-size:.28rem;">{{ arr.prop }}</text>
  23. </view>
  24. <view a:if="{{tabIndex == 1}}" class="flex-box">
  25. <input class="flex-1 input" onInput="bindTextAreaBlur" data-index="{{index}}" data-item="{{item}}" value="{{item.result}}" placeholder="请输入结果值" />
  26. </view>
  27. <view a:else>
  28. <text style="color:#929292;font-size:.27rem;">结果值:</text>
  29. <text style="font-size:.28rem;">{{ item.result }} {{ item.unit }}</text>
  30. </view>
  31. </view>
  32. <view class="noDatas">没有更多咯</view>
  33. </scroll-view>
  34. <no-data a:if="{{rvenotList.length==0}}"></no-data>
  35. </view>
  36. <view class="footer" a:if="{{tabIndex==1}}">
  37. <view class="footfoot flex-box-ce">
  38. <view class="footcol flex-1" data-index='1' catchTap="save">
  39. <text class="iconfont icon-wj-jlb"></text>
  40. <view>暂存</view>
  41. </view>
  42. <view class="footBut flex-box-ce">
  43. <!-- <view class="footcolButno" catchTap="scorerveno">取消</view> -->
  44. <view class="footcolButok" data-index='0' catchTap="save">提交</view>
  45. </view>
  46. </view>
  47. </view>
  48. </view>