| 12345678910111213141516171819202122232425262728293031323334 | 
							- var patientCode = "";
 
- var self = null;
 
- mui.plusReady(function() {
 
- 	self = plus.webview.currentWebview();
 
- 	patientCode = self.code;
 
- 	
 
- 	var now = new Date()
 
- 	var year = now.getFullYear()
 
- 	var month = now.getMonth()+1
 
- 	var date = now.getDate()
 
- 	
 
- 	var params={
 
- 		patient:patientCode,
 
- 		page:1,
 
- 		pagesize:100,
 
- 		type:3,
 
- 		begin:(year*1-1)+'-'+month+'-'+date+' 00:00:00',
 
- 		end:year+'-'+month+'-'+date+' 23:59:59'
 
- 	}
 
- 	sendPost("doctor/health_index/list",params,function(){
 
- 		mui.toast("请求失败");
 
- 	}, function(res){
 
- 		if(res.status == 200){
 
- 			if(res.list.length>0){
 
- 				$('#no_result_wrap').hide()
 
- 				var html = template('tzList_tmp',{data:res.list})
 
- 				$('.tv-ul').html(html)
 
- 			}else{
 
- 				$('#no_result_wrap').show()
 
- 			}
 
- 		}
 
- 	})
 
- })
 
 
  |