<!--pages/diet/measuret.wxml-->
<view class="card">
<view style="width:100%;height:100%;position:absolute;background-color:#999;z-index:9999;top:0;left:0;opacity:0.5;" wx:if="{{show}}"></view>
<view class="title">
<text class="time">录入时间:{{toDay}}</text>
<text bindtap="saveFoodlist" class="my_apport">确认记录</text>
</view>
<view class="measuret">
<view class="measuret_title" hover-stop-propagation="true">
<label class="checkbox">
<checkbox value="cb" checked="true" color="#68bcfa"/>表示已添加
</label>
<label class="checkbox">
<checkbox value="cb" checked="true" color="#ed7d31" />表示爱吃
</label>
</view>
<view class="measuret_body" wx:if="{{(hospitalId!=4055&&networkutil==1)||(hospitalId!=666668&&(networkutil==0||networkutil==4))}}">
<checkbox-group bindchange="foodClick">
<view class="section section_gap" wx:for="{{foodList}}" wx:for-index="$index" wx:for-item="item">
<view class="body-view">
<checkbox type="checkbox" value="{{foodListNames[$index]}}1" checked="{{item.add}}" color="#68bcfa" />
<checkbox type="checkbox" value="{{foodListNames[$index]}}2" disabled = "{{item.add == 0}}" checked="{{item.love}}" color="#ed7d31" />
</view>
<view class="section__title">{{foodListNames[$index]}}</view>
</view>
</checkbox-group>
</view>
<view class="measuret_body" wx:if="{{(hospitalId==4055&&networkutil==1)||(hospitalId==666668&&(networkutil==0||networkutil==4))}}">
<view style="font-size: 26rpx;">六月龄膳食调查</view>
<checkbox-group bindchange="foodClick1">
<view class="section section_gap" wx:for="{{foodList1}}" wx:for-index="$index" wx:for-item="item">
<view class="body-view">
<checkbox type="checkbox" value="{{foodListNames1[$index]}}1" checked="{{item.add}}" color="#68bcfa" />
<checkbox type="checkbox" value="{{foodListNames1[$index]}}2" disabled = "{{item.add == 0}}" checked="{{item.love}}" color="#ed7d31" />
</view>
<view class="section__title">{{foodListNames1[$index]}}</view>
</view>
</checkbox-group>
<view style="font-size: 26rpx;">七月龄膳食调查</view>
<checkbox-group bindchange="foodClick2">
<view class="section section_gap" wx:for="{{foodList2}}" wx:for-index="$index" wx:for-item="item">
<view class="body-view">
<checkbox type="checkbox" value="{{foodListNames2[$index]}}1" checked="{{item.add}}" color="#68bcfa" />
<checkbox type="checkbox" value="{{foodListNames2[$index]}}2" disabled = "{{item.add == 0}}" checked="{{item.love}}" color="#ed7d31" />
</view>
<view class="section__title">{{foodListNames2[$index]}}</view>
</view>
</checkbox-group>
<view style="font-size: 26rpx;">八月龄膳食调查</view>
<checkbox-group bindchange="foodClick3">
<view class="section section_gap" wx:for="{{foodList3}}" wx:for-index="$index" wx:for-item="item">
<view class="body-view">
<checkbox type="checkbox" value="{{foodListNames3[$index]}}1" checked="{{item.add}}" color="#68bcfa" />
<checkbox type="checkbox" value="{{foodListNames3[$index]}}2" disabled = "{{item.add == 0}}" checked="{{item.love}}" color="#ed7d31" />
</view>
<view class="section__title">{{foodListNames3[$index]}}</view>
</view>
</checkbox-group>
<view style="color: #fff;">1</view>
<view style="font-size: 26rpx;">九月龄膳食调查</view>
<checkbox-group bindchange="foodClick4">
<view class="section section_gap" wx:for="{{foodList4}}" wx:for-index="$index" wx:for-item="item">
<view class="body-view">
<checkbox type="checkbox" value="{{foodListNames4[$index]}}1" checked="{{item.add}}" color="#68bcfa" />
<checkbox type="checkbox" value="{{foodListNames4[$index]}}2" disabled = "{{item.add == 0}}" checked="{{item.love}}" color="#ed7d31" />
</view>
<view class="section__title">{{foodListNames4[$index]}}</view>
</view>
</checkbox-group>
<view style="color: #fff;">1</view>
<view style="font-size: 26rpx;">十月龄膳食调查</view>
<checkbox-group bindchange="foodClick5">
<view class="section section_gap" wx:for="{{foodList5}}" wx:for-index="$index" wx:for-item="item">
<view class="body-view">
<checkbox type="checkbox" value="{{foodListNames5[$index]}}1" checked="{{item.add}}" color="#68bcfa" />
<checkbox type="checkbox" value="{{foodListNames5[$index]}}2" disabled = "{{item.add == 0}}" checked="{{item.love}}" color="#ed7d31" />
</view>
<view class="section__title">{{foodListNames5[$index]}}</view>
</view>
</checkbox-group>
<view style="color: #fff;">1</view>
<view style="font-size: 26rpx;">十一月龄膳食调查</view>
<checkbox-group bindchange="foodClick6">
<view class="section section_gap" wx:for="{{foodList6}}" wx:for-index="$index" wx:for-item="item">
<view class="body-view">
<checkbox type="checkbox" value="{{foodListNames6[$index]}}1" checked="{{item.add}}" color="#68bcfa" />
<checkbox type="checkbox" value="{{foodListNames6[$index]}}2" disabled = "{{item.add == 0}}" checked="{{item.love}}" color="#ed7d31" />
</view>
<view class="section__title">{{foodListNames6[$index]}}</view>
</view>
</checkbox-group>
<view style="color: #fff;">1</view>
<view style="font-size: 26rpx;">十二月龄膳食调查</view>
<checkbox-group bindchange="foodClick7">
<view class="section section_gap" wx:for="{{foodList7}}" wx:for-index="$index" wx:for-item="item">
<view class="body-view">
<checkbox type="checkbox" value="{{foodListNames7[$index]}}1" checked="{{item.add}}" color="#68bcfa" />
<checkbox type="checkbox" value="{{foodListNames7[$index]}}2" disabled = "{{item.add == 0}}" checked="{{item.love}}" color="#ed7d31" />
</view>
<view class="section__title">{{foodListNames7[$index]}}</view>
</view>
</checkbox-group>
</view>
</view>
<view style="clear:both"></view>
</view>
<view class="my_apport" bindtap="getBabyNutritionList" style="margin: 5px auto;position: relative;width: 120px;">
查看历史报告
</view>
<scroll-view scroll-y="true" style="pointer-events:none" wx:if="{{(hospitalId==4055&&networkutil==1)||(hospitalId==666668&&(networkutil==0||networkutil==4))}}">
<view class="card" wx:for="{{array}}" wx:for-item="item">
<view class="title">
<text class="time">录入时间:{{item.createTime||yyyy/mm/dd}}</text>
</view>
<view class="measuret_body list">
<view style="font-size: 26rpx;">六月龄膳食调查</view>
<view class="section section_gap" wx:for="{{item.diets1}}" wx:for-index="$index" wx:for-item="item">
<view class="body-view">
<checkbox type="checkbox" checked="{{item.add}}" color="#68bcfa" />
<checkbox type="checkbox" checked="{{item.love}}" color="#ed7d31" />
</view>
<view class="section__title">{{foodListNames1[$index]}}</view>
</view>
<view style="font-size: 26rpx;">七月龄膳食调查</view>
<view class="section section_gap" wx:for="{{item.diets2}}" wx:for-index="$index" wx:for-item="item">
<view class="body-view">
<checkbox type="checkbox" checked="{{item.add}}" color="#68bcfa" />
<checkbox type="checkbox" checked="{{item.love}}" color="#ed7d31" />
</view>
<view class="section__title">{{foodListNames2[$index]}}</view>
</view>
<view style="color: #fff;"> 1</view>
<view style="font-size: 26rpx;">八月龄膳食调查</view>
<view class="section section_gap" wx:for="{{item.diets3}}" wx:for-index="$index" wx:for-item="item">
<view class="body-view">
<checkbox type="checkbox" checked="{{item.add}}" color="#68bcfa" />
<checkbox type="checkbox" checked="{{item.love}}" color="#ed7d31" />
</view>
<view class="section__title">{{foodListNames3[$index]}}</view>
</view>
<view style="color: #fff;"> 1</view>
<view style="font-size: 26rpx;">九月龄膳食调查</view>
<view class="section section_gap" wx:for="{{item.diets4}}" wx:for-index="$index" wx:for-item="item">
<view class="body-view">
<checkbox type="checkbox" checked="{{item.add}}" color="#68bcfa" />
<checkbox type="checkbox" checked="{{item.love}}" color="#ed7d31" />
</view>
<view class="section__title">{{foodListNames4[$index]}}</view>
</view>
<view style="color: #fff;"> 1</view>
<view style="font-size: 26rpx;">十月龄膳食调查</view>
<view class="section section_gap" wx:for="{{item.diets5}}" wx:for-index="$index" wx:for-item="item">
<view class="body-view">
<checkbox type="checkbox" checked="{{item.add}}" color="#68bcfa" />
<checkbox type="checkbox" checked="{{item.love}}" color="#ed7d31" />
</view>
<view class="section__title">{{foodListNames5[$index]}}</view>
</view>
<view style="color: #fff;"> 1</view>
<view style="font-size: 26rpx;">十一月龄膳食调查</view>
<view class="section section_gap" wx:for="{{item.diets6}}" wx:for-index="$index" wx:for-item="item">
<view class="body-view">
<checkbox type="checkbox" checked="{{item.add}}" color="#68bcfa" />
<checkbox type="checkbox" checked="{{item.love}}" color="#ed7d31" />
</view>
<view class="section__title">{{foodListNames6[$index]}}</view>
</view>
<view style="color: #fff;"> 1</view>
<view style="font-size: 26rpx;">十二月龄膳食调查</view>
<view class="section section_gap" wx:for="{{item.diets7}}" wx:for-index="$index" wx:for-item="item">
<view class="body-view">
<checkbox type="checkbox" checked="{{item.add}}" color="#68bcfa" />
<checkbox type="checkbox" checked="{{item.love}}" color="#ed7d31" />
</view>
<view class="section__title">{{foodListNames7[$index]}}</view>
</view>
</view>
<view style="clear:both"></view>
</view>
</scroll-view>
<scroll-view scroll-y="true" style="pointer-events:none" wx:if="{{(hospitalId!=4055&&networkutil==1)||(hospitalId!=666668&&(networkutil==0||networkutil==4))}}">
<view class="card" wx:for="{{array}}" wx:for-item="item">
<view class="title">
<text class="time">录入时间:{{item.createTime||yyyy/mm/dd}}</text>
</view>
<view class="measuret_body list">
<view class="section section_gap" wx:for="{{item.diets}}" wx:for-index="$index" wx:for-item="item">
<view class="body-view">
<checkbox type="checkbox" checked="{{item.add}}" color="#68bcfa" />
<checkbox type="checkbox" checked="{{item.love}}" color="#ed7d31" />
</view>
<view class="section__title">{{foodListNames[$index]}}</view>
</view>
</view>
<view style="clear:both"></view>
</view>
</scroll-view>