take.wxml 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. <navigator class="common_fix common_home" wx:if="{{currentPages == 1}}" open-type="reLaunch" url="/pages/home/index" hover-class="none">
  2. <text class="icon icon-home"></text>
  3. </navigator>
  4. <view class='picker'>
  5. <view class='selector'>
  6. <picker bindchange="bindPickerChange" disabled="{{childs.length <= 0}}" value="{{childIndex}}" range-key="name" range="{{childs}}">
  7. <text wx:if="{{childs.length > 0}}">{{childs[childIndex].name}}</text>
  8. <text wx:else>还没有儿童</text>
  9. </picker>
  10. </view>
  11. <view class='selector'>
  12. <picker bindchange="bindPickerActivity" disabled="{{actives.length <= 0}}" value="{{index}}" range="{{actives}}">
  13. <text wx:if="{{actives.length > 0}}">{{actives[index]}}</text>
  14. <text wx:else>暂无活动</text>
  15. </picker>
  16. </view>
  17. </view>
  18. <view class="time" wx:if="{{months.length > 0}}">
  19. <scroll-view scroll-x="true" class="scroll-x" scroll-left="{{scrollLeft}}" scroll-with-animation="true">
  20. <text bindtap='showTab' data-dtype="0" data-deadline="{{item.value}}" data-monthIndex="{{index}}" class="{{datas.monthIndex == index ? 'active':''}}" wx:for-items="{{months}}" wx:key="*this">{{item.text}}</text>
  21. <text class="time{{datas.monthIndex == months.length ? ' active':''}}" bindtap='showTab' data-dtype="1" data-deadline="" data-monthIndex="{{months.length}}">总结</text>
  22. </scroll-view>
  23. </view>
  24. <view wx:if="{{info.id != null && datas.dtype == 0}}" class='takeInfo'>
  25. <view class="score">
  26. <!-- <view class="subtitleColor h3">{{info.score}}</view> -->
  27. <view class="font14 text">{{info.deadlineText}}表现</view>
  28. </view>
  29. <view class="title">生理情况</view>
  30. <view class='row font14 mTop5' wx:if="{{datas.dayType == 1}}">
  31. <text class='col-33'>小便:{{info.urineNum}}次</text>
  32. </view>
  33. <view class='row font14 mTop5' wx:else>
  34. <block wx:if="{{edition==2}}">
  35. <text class='col-33'>喝水:{{info.drinkNum}}瓶</text>
  36. <text class='col-33'>体温:{{info.temperature2}}度</text>
  37. <text class='col-33'>大便:{{info.shitNum==1?'是':'否'}}</text>
  38. </block>
  39. <block wx:else>
  40. <text class='col-33'>体温:{{info.temperature==0?'正常':(info.temperature==1?'低烧':'高烧')}}</text>
  41. <text class='col-33'>大便:{{info.shitNum}}次</text>
  42. </block>
  43. </view>
  44. <view class="title">生活情况</view>
  45. <view class='row font14 mTop5' wx:if="{{datas.dayType == 1}}">
  46. <text class='col-33' wx:if="{{edition==1}}">喝水:{{info.drinkNum}}瓶</text>
  47. <text class='col-33'>午饭:{{info.lunch == 3 ? '满足':(info.lunch == 2 ? '正常':'较少')}}</text>
  48. </view>
  49. <view wx:else>
  50. <view class='row font14 mTop5'>
  51. <text class='col-33'>洗澡:{{info.bathe == 1 ? '洗了':'没洗'}}</text>
  52. <text class='col-33'>洗衣服:{{info.wash == 1 ? '洗了':'没洗'}}</text>
  53. <text class='col-33'>换内裤:{{info.trouser == 1 ? '换了':'没换'}}</text>
  54. </view>
  55. <view class='row font14 mTop5'>
  56. <text class='col-33'>整理内务:{{info.houseWork == 1 ? '是':'否'}}</text>
  57. <text class='col-33' wx:if="{{edition==2}}">一人一被:{{info.bathe == 1 ? '是':'否'}}</text>
  58. </view>
  59. <view class='row font14 mTop5'>
  60. <text class='col-66'>吃药:{{info.medicine == 1 ? '吃了':'没吃'}}<text wx:if="{{info.medicine == 1 && info.medicineRemark}}">({{info.medicineRemark}})</text></text>
  61. </view>
  62. </view>
  63. <block wx:if="{{edition == 1}}">
  64. <view class="title">身体情况</view>
  65. <view class='mTop5 font14 content' bindlongtap='copy' data-type="remark">{{info.fight == 0 && info.hurt == 0 && info.illness == 0 ? '活动中和小朋友和睦相处,身体无受伤并没有不适情况。'+info.remark:info.remark}}</view>
  66. <view class="title">活动表现</view>
  67. <view class='mTop5 font14 content'>对于领队的讲解,{{info.promote == 1 ? '全部接收到':'未完全接收到'}}</view>
  68. <view class="title">备注</view>
  69. <view class='mTop5 font14 content' wx:if="{{info.expression}}">{{info.expression}}</view>
  70. </block>
  71. <block wx:else>
  72. <view class="title">备注</view>
  73. <view class='mTop5 font14 content' bindlongtap='copy' data-type="remark">{{info.remark}}</view>
  74. </block>
  75. <view class='right font14 content' wx:if="{{info.crtUser}}">领队:{{info.crtUser}}</view>
  76. </view>
  77. <view wx:elif="{{info && datas.dtype == 1}}" class="takeInfo">
  78. <view class="score">
  79. <text class="font14">{{info.deadlineStart}}-{{info.deadlineEnd}}记录总结</text>
  80. </view>
  81. <view class='title'>生理情况</view>
  82. <block wx:if="{{edition==2}}">
  83. <view class='ui-course-content ec-canvas'>
  84. <view class="form_title">喝水情况:</view>
  85. <ec-canvas id="mychart" canvas-id="mychart-line" ec="{{ ec }}" wx:if="{{info.ydrinkArr.length>0}}"></ec-canvas>
  86. </view>
  87. <view class='ui-course-content ec-canvas'>
  88. <view class="form_title">体温情况:</view>
  89. <ec-canvas id="mychart1" canvas-id="mychart-line" ec="{{ ec }}" wx:if="{{info.ytemperatureArr.length>0}}"></ec-canvas>
  90. </view>
  91. </block>
  92. <block wx:else>
  93. <view class='mTop5 font14 content'>体温情况:{{info.temperatureMsg || ''}}</view>
  94. </block>
  95. <view class='mTop5 font14 content'>{{info.shitMsg || ''}}</view>
  96. <!-- <view class='mTop5 font14 content'>
  97. {{info.lifeInfo != undefined && info.lifeInfo.temperature1 == 0 && info.lifeInfo.temperature2 == 0 ? '体温'+(info.lifeInfo.temperature0 || "")+'天均正常;':(info.lifeInfo != undefined ? '体温'+(info.lifeInfo.temperature0 || "")+'天正常,'+(info.lifeInfo.temperature1 || "")+'天低烧,'+(info.lifeInfo.temperature2 || "")+'天高烧;':'')}}{{info.lifeInfo != undefined && info.lifeInfo.shit_num ? '大便累计'+info.lifeInfo.shit_num+'次。':''}}
  98. </view> -->
  99. <view class='title'>生活情况</view>
  100. <view class='mTop5 font14 content'>
  101. <view wx:for="{{info.lifeMsg}}" wx:key="*this">{{item}}</view>
  102. </view>
  103. <!-- <view class='mTop5 font14 content'>
  104. {{info.lifeInfo != undefined && info.lifeInfo.bathe0 > 0 && info.lifeInfo.bathe1 > 0 ? info.lifeInfo.bathe1+'天已洗澡,'+info.lifeInfo.bathe0+'天未洗,':(info.lifeInfo != undefined && info.lifeInfo.bathe0 == 0 && info.lifeInfo.bathe1 > 0 ? info.lifeInfo.bathe1+'天均已洗澡,':(info.lifeInfo != undefined && info.lifeInfo.bathe0 > 0 && info.lifeInfo.bathe1 == 0 ? info.lifeInfo.bathe0+'天未洗,':''))}}
  105. {{info.lifeInfo != undefined && info.lifeInfo.wash0 > 0 && info.lifeInfo.wash1 > 0 ? info.lifeInfo.wash1+'天已洗衣服,'+info.lifeInfo.wash0+'天未洗衣服,':(info.lifeInfo != undefined && info.lifeInfo.wash0 == 0 && info.lifeInfo.wash1 > 0 ? info.lifeInfo.wash1+'天均已洗衣服,':(info.lifeInfo != undefined && info.lifeInfo.wash0 > 0 && info.lifeInfo.bathe1 == 0 ? info.lifeInfo.wash0+'天未洗衣服,':''))}}
  106. {{info.lifeInfo != undefined && info.lifeInfo.trouser0 > 0 && info.lifeInfo.trouser1 > 0 ? info.lifeInfo.trouser1+'天换内裤,'+info.lifeInfo.trouser0+'天未换,':(info.lifeInfo != undefined && info.lifeInfo.trouser0 == 0 && info.lifeInfo.trouser1 > 0 ? info.lifeInfo.trouser1+'天均换内裤,':(info.lifeInfo != undefined && info.lifeInfo.trouser0 > 0 && info.lifeInfo.trouser1 == 0 ? info.lifeInfo.trouser0+'天未换,':''))}}
  107. {{info.lifeInfo != undefined && info.lifeInfo.house_work0 > 0 && info.lifeInfo.house_work1 > 0 ? info.lifeInfo.house_work1+'天整理内务,'+info.lifeInfo.house_work0+'天未整理,':(info.lifeInfo != undefined && info.lifeInfo.house_work0 == 0 && info.lifeInfo.house_work1 > 0 ? info.lifeInfo.house_work1+'天均整理内务,':(info.lifeInfo != undefined && info.lifeInfo.house_work0 > 0 && info.lifeInfo.house_work1 == 0 ? info.lifeInfo.house_work0+'天未整理,':''))}}
  108. {{info.lifeInfo != undefined && info.lifeInfo.medicine0 > 0 && info.lifeInfo.medicine1 > 0 ? info.lifeInfo.medicine1+'天吃药,'+info.lifeInfo.medicine0+'天未吃药。':(info.lifeInfo != undefined && info.lifeInfo.medicine0 == 0 && info.lifeInfo.medicine1 > 0 ? info.lifeInfo.medicine1+'天均吃药。':(info.lifeInfo != undefined && info.lifeInfo.medicine0 > 0 && info.lifeInfo.medicine1 == 0 ? info.lifeInfo.medicine0+'天未吃药。':''))}}
  109. </view> -->
  110. <view class='title'>身体情况总结</view>
  111. <view class="mTop5 font14 content" bindlongtap='copy' data-type="{{info.remark}}" wx:if="{{info.remark}}">{{info.remark}}</view>
  112. <view class='title'>活动表现总结</view>
  113. <view class='mTop5 font14 content' bindlongtap='copy' data-type="{{info.expression }}" wx:if="{{info.expression}}">
  114. <view class="expression">{{info.expression}}</view>
  115. </view>
  116. <!-- <view class='mTop5 font14 content' bindlongtap='copy' data-type="s_expression">
  117. <view wx:for-items="{{info.expressionList}}" wx:key="*this" class='mTop5'>
  118. <text class='subtitleColor'>{{item.deadline}}:</text>{{item.expression}}
  119. </view>
  120. <view class='mTop5'><text class='subtitleColor' wx:if="{{info.s_expression}}">总结:</text>{{info.s_expression}}</view>
  121. </view> -->
  122. </view>
  123. <view class='noData' wx:else><text class="icon icon-info"></text><text>暂无记录\n有问题请联系宝大大!</text></view>