Browse Source

添加网页查看按钮-bug修改

zhouna 4 năm trước cách đây
mục cha
commit
d846a7107b
1 tập tin đã thay đổi với 3 bổ sung4 xóa
  1. 3 4
      src/js/information.js

+ 3 - 4
src/js/information.js

@@ -156,10 +156,9 @@ function bindTabClick(){
   })
   $("#openWin").on("click",function(){
     const type= getUrlArgObject('type');
-    const hospitalId= getUrlArgObject('hospitalId');
-    const hisName= getUrlArgObject('hisName');
-    const hisDetailName= getUrlArgObject('hisDetailName');
-    openNewWin("informationOut.html?hospitalId="+encodeURIComponent(hospitalId)+"&hisName="+encodeURIComponent(hisName)+"&hisDetailName="+encodeURIComponent(hisDetailName)+"&type="+encodeURIComponent(type));
+    const name= getUrlArgObject('name');
+    const position= getUrlArgObject('position');
+    openNewWin("information.html?name="+encodeURIComponent(name)+"&position="+encodeURIComponent(position)+"&type="+encodeURIComponent(type));
   })
 }
 function adjustHeight() {