瀏覽代碼

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

zhouna 4 年之前
父節點
當前提交
d846a7107b
共有 1 個文件被更改,包括 3 次插入4 次删除
  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() {