0:上午,1:下午,2:全天
"<td>"+changeDate(data[i].date)+"</td>"+
function changeDate(date){
switch(date){
case 0:
return "上午";
case 1:
return "下午";
case 2:
return "全天";
}
0:男,1:女
"<p><span>性 别:"+loadSex(data.data[i].patientSex)+"</span></p>"+
function loadSex(sex){
switch(parseInt(sex)){ case 0: return "男"; case 1: return "女"; default: return ""; }}