diff --git a/.gitignore b/.gitignore index f3cefb9..7a45b09 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ -/target/ +target /.idea/ -emr_medical_record.iml \ No newline at end of file +*.iml \ No newline at end of file diff --git a/src/main/webapp/WEB-INF/jspf/comm.jspf b/src/main/webapp/WEB-INF/jspf/comm.jspf index 62c1ab8..b7f1ecb 100644 --- a/src/main/webapp/WEB-INF/jspf/comm.jspf +++ b/src/main/webapp/WEB-INF/jspf/comm.jspf @@ -73,13 +73,15 @@ * 判断出院时间是否是1801-02-03 * */ function operDisTime(value){ - if(value != '' && '1801-02-03' == value.substring(0, 10)){ - value = ''; - } - if(value.length >= 19){ - return value.substring(0, 19); - }else{ - return value; + if(value != '' && value != null){ + if (value.length >= 10 && '1801-02-03' == value.substring(0, 10)) { + value = ''; + } + if(value.length >= 19){ + return value.substring(0, 19); + }else{ + return value; + } } } //封装改变日期方法 diff --git a/src/main/webapp/WEB-INF/views/beHospitaledDir/beHospList.jsp b/src/main/webapp/WEB-INF/views/beHospitaledDir/beHospList.jsp index bf41283..f8ca0d4 100644 --- a/src/main/webapp/WEB-INF/views/beHospitaledDir/beHospList.jsp +++ b/src/main/webapp/WEB-INF/views/beHospitaledDir/beHospList.jsp @@ -167,14 +167,14 @@
- + -