index.axml 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <view class='page' a:if='{{headerData}}' ref='saveChildRef0'>
  2. <view class='header'>
  3. <view class='tit'>
  4. 当前消杀点为{{headerData.disinfectAreaName || '*****'}} <image src='../../../static/function-bar/switch.png' onTap='antmoveAction' data-antmove-tap='goQrcode'>
  5. </image>
  6. </view>
  7. <view class='address'>
  8. <image src='../../../static/function-bar/place.png'>
  9. </image>
  10. {{headerData.disinfectAreaAddress|| '*****'}}
  11. </view>
  12. <view class='today'>
  13. 今日消杀: <text a:for='{{headerData.disinfectAreaTimeVOList}}' a:key='{{index}}' class="{{item.disinfectAreaTimeType===1?'white':item.disinfectAreaTimeType===2?'red':''}}" ref-numbers='{{headerData.disinfectAreaTimeVOList}}'>
  14. </text> <view a:if='{{headerData.todayTotalDisinfectNum}}'>
  15. {{headerData.todayDisinfectNum}}/{{headerData.todayTotalDisinfectNum}}
  16. </view>
  17. </view> <view class='wait'>
  18. {{headerData.waitDisinfect}}
  19. </view>
  20. </view> <view class='content'>
  21. <view class='cu-form-group bgc'>
  22. <view class='title'>
  23. 消杀状态:
  24. </view>
  25. <van-radio-group value='{{ status }}' direction='horizontal' onChange='onChange' ref='saveChildRef1'>
  26. <van-radio icon-class='radio-icon' label-class='radio-color' name='2' ref='saveChildRef2'>
  27. 未完成
  28. </van-radio>
  29. <van-radio label-class='radio-color' name='1' ref='saveChildRef3'>
  30. 已完成
  31. </van-radio>
  32. </van-radio-group>
  33. </view>
  34. <view class='cu-form-group'>
  35. <view class='title'>
  36. <text class="{{timeBreak?'text-green':'text-red'}}">
  37. * </text> 消杀时间:
  38. </view> <picker data-index='{{index}}' value='{{timeBreak}}' range='{{headerData.disinfectAreaTimeVOList}}' range-key="{{'timeBreak'}}" onChange='getTime'>
  39. <view class='picker'>
  40. {{timeBreak?timeBreak:timeBreak||'请选择'}}
  41. </view>
  42. </picker>
  43. </view> <view class='cu-form-group'>
  44. <view class='title'>
  45. <text a:if='{{status==2}}' class="{{disinfectRemarks?'text-green':'text-red'}}">
  46. * </text> 备注:
  47. </view> <custom-input placeholder='请填写备注信息' placeholder-css='input-placeholder' value='{{disinfectRemarks}}' onInput='problemDetailFun'>
  48. </custom-input>
  49. </view> <view class='report' onTap='antmoveAction' data-antmove-tap='report'>
  50. 上报
  51. </view>
  52. </view>
  53. </view>