|
@@ -74,8 +74,6 @@ function getRecordDetail(){
|
|
|
}
|
|
|
//填充患者信息
|
|
|
function initPatientInfo(data){
|
|
|
- const date = data.birthday&&data.birthday.substr(0,10);
|
|
|
- const age=new Date(date).getTime()/(365*24*60*60*1000);
|
|
|
const obj=Object.assign({},data,{age:!global_age||global_age=="null"?"-":global_age});
|
|
|
$("#infoTmpl").tmpl(obj).appendTo("#patientInfo");
|
|
|
}
|