|  | @ -94,7 +94,7 @@
 | 
	
		
			
				|  |  |             <div class="body-record-item" @click="openBodyRecordDetail(0,bodyData.xy.recordDate)" v-if="bodyData.xy">
 | 
	
		
			
				|  |  |               <div class="record-label">
 | 
	
		
			
				|  |  |                 <div>血压</div>
 | 
	
		
			
				|  |  |                 <div>{{bodyData.xy.recordDate}} {{getRecordType(bodyData.xy.deviceSn)}}</div>
 | 
	
		
			
				|  |  |                 <div>{{formatDate(bodyData.xy.recordDate)}} {{getRecordType(bodyData.xy.deviceSn)}}</div>
 | 
	
		
			
				|  |  |               </div>
 | 
	
		
			
				|  |  |               <div class="record-value flex">
 | 
	
		
			
				|  |  |                 <div>
 | 
	
	
		
			
				|  | @ -107,7 +107,7 @@
 | 
	
		
			
				|  |  |             <div class="body-record-item" @click="openBodyRecordDetail(1,bodyData.xt.recordDate)" v-if="bodyData.xt">
 | 
	
		
			
				|  |  |               <div class="record-label">
 | 
	
		
			
				|  |  |                 <div>血糖</div>
 | 
	
		
			
				|  |  |                 <div>{{bodyData.xt.recordDate}} {{bodyData.xt.during}} {{getRecordType(bodyData.xt.deviceSn)}}</div>
 | 
	
		
			
				|  |  |                 <div>{{formatDate(bodyData.xt.recordDate)}} {{bodyData.xt.during}} {{getRecordType(bodyData.xt.deviceSn)}}</div>
 | 
	
		
			
				|  |  |               </div>
 | 
	
		
			
				|  |  |               <div class="record-value flex">
 | 
	
		
			
				|  |  |                 <el-tag :type="bodyData.xt.tagType" v-if="bodyData.xt.tagName" style="margin-right: 10px">{{bodyData.xt.tagName}}</el-tag>
 | 
	
	
		
			
				|  | @ -119,7 +119,7 @@
 | 
	
		
			
				|  |  |             <div class="body-record-item" @click="openBodyRecordDetail(2, bodyData.tz.recordDate)" v-if="bodyData.tz">
 | 
	
		
			
				|  |  |               <div class="record-label">
 | 
	
		
			
				|  |  |                 <div>身高体重</div>
 | 
	
		
			
				|  |  |                 <div>{{bodyData.tz.recordDate}} {{getRecordType(bodyData.tz.deviceSn)}}</div>
 | 
	
		
			
				|  |  |                 <div>{{formatDate(bodyData.tz.recordDate)}} {{getRecordType(bodyData.tz.deviceSn)}}</div>
 | 
	
		
			
				|  |  |               </div>
 | 
	
		
			
				|  |  |               <div class="record-value flex">
 | 
	
		
			
				|  |  |                 <el-tag :type="getTixingType(bodyData.tz.value4)" effect="dark">{{getTixingName(bodyData.tz.value4)}}</el-tag>
 | 
	
	
		
			
				|  | @ -129,7 +129,7 @@
 | 
	
		
			
				|  |  |             <div class="body-record-item" @click="openBodyRecordDetail(3, bodyData.sg.recordDate)" v-if="bodyData.sg">
 | 
	
		
			
				|  |  |               <div class="record-label">
 | 
	
		
			
				|  |  |                 <div>腰围</div>
 | 
	
		
			
				|  |  |                 <div>{{bodyData.sg.recordDate}} {{getRecordType(bodyData.sg.deviceSn)}}</div>
 | 
	
		
			
				|  |  |                 <div>{{formatDate(bodyData.sg.recordDate)}} {{getRecordType(bodyData.sg.deviceSn)}}</div>
 | 
	
		
			
				|  |  |               </div>
 | 
	
		
			
				|  |  |               <div class="record-value flex">
 | 
	
		
			
				|  |  |                 <span>{{bodyData.sg.value1}}cm</span>
 | 
	
	
		
			
				|  | @ -155,7 +155,7 @@
 | 
	
		
			
				|  |  |                 <img :src="item.devicePhoto" alt="" style="width: 100px" />
 | 
	
		
			
				|  |  |                 <div style="margin-left: 16px">
 | 
	
		
			
				|  |  |                   <div class="device-info device-title">{{item.deviceName}}</div>
 | 
	
		
			
				|  |  |                   <div class="device-info">绑定时间:{{item.czrq}}</div>
 | 
	
		
			
				|  |  |                   <div class="device-info">绑定时间:{{formatDate(item.czrq)}}</div>
 | 
	
		
			
				|  |  |                   <div class="device-info" v-if="item.categoryCode != 10 && item.categoryCode != 11">绑定人:{{item.people}}</div>
 | 
	
		
			
				|  |  |                 </div>
 | 
	
		
			
				|  |  |               </div>
 | 
	
	
		
			
				|  | @ -276,7 +276,7 @@
 | 
	
		
			
				|  |  |                     break
 | 
	
		
			
				|  |  |                   case 'diet':
 | 
	
		
			
				|  |  |                     vm.healthProtectList[2].lastData = healthProtect.diet.diet
 | 
	
		
			
				|  |  |                     vm.healthProtectList[2].time = healthProtect.diet.recordDate
 | 
	
		
			
				|  |  |                     vm.healthProtectList[2].time = healthProtect.diet.recordDate.substring(0,10)
 | 
	
		
			
				|  |  |                     vm.healthProtectList[2].recordMethod = vm.getBJRecordType(healthProtect.diet.source)
 | 
	
		
			
				|  |  |                     break
 | 
	
		
			
				|  |  |                 }
 | 
	
	
		
			
				|  | @ -453,7 +453,6 @@
 | 
	
		
			
				|  |  |             }
 | 
	
		
			
				|  |  |           },
 | 
	
		
			
				|  |  |           getLevelClazzName(value, max, min) {
 | 
	
		
			
				|  |  |             console.log(5)
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |             if (!value || (!max && !min)) {
 | 
	
		
			
				|  |  |               return ''
 | 
	
	
		
			
				|  | @ -476,6 +475,9 @@
 | 
	
		
			
				|  |  |               }
 | 
	
		
			
				|  |  |               item.people = bindUser
 | 
	
		
			
				|  |  |             })
 | 
	
		
			
				|  |  |           },
 | 
	
		
			
				|  |  |           formatDate(date){
 | 
	
		
			
				|  |  |             return date.substring(0,16)
 | 
	
		
			
				|  |  |           }
 | 
	
		
			
				|  |  |         }
 | 
	
		
			
				|  |  |       })
 |