zhouna %!s(int64=4) %!d(string=hai) anos
pai
achega
ac3137923f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/js/staticInfoOut.js

+ 1 - 1
src/js/staticInfoOut.js

@@ -202,7 +202,7 @@ function bindTabClick(){
     const hospitalId= getUrlArgObject('hospitalId');
     const hisName= getUrlArgObject('hisName');
     const hisDetailName= getUrlArgObject('hisDetailName');
-    openNewWin("staticInfoOut.html?hospitalId="+encodeURIComponent(hospitalId)+"&hisName="+encodeURIComponent(hisName)+"&hisDetailName="+encodeURIComponent(hisDetailName)+"&type="+encodeURIComponent(type));
+    openNewWin("staticInfoOut.html?hospitalId="+encodeURIComponent(hospitalId)+"&hisName="+encodeURIComponent(hisName)+"&hisDetailName="+encodeURIComponent(hisDetailName||'')+"&type="+encodeURIComponent(type));
   })
 }
 function adjustHeight() {