|
@@ -12,7 +12,8 @@ const {
|
|
throttle,
|
|
throttle,
|
|
imageUrlPrefix,
|
|
imageUrlPrefix,
|
|
config,
|
|
config,
|
|
- getUrlArgObject
|
|
|
|
|
|
+ getUrlArgObject,
|
|
|
|
+ openNewWin
|
|
} = require('./promise.js');
|
|
} = require('./promise.js');
|
|
const $ = require("jquery");
|
|
const $ = require("jquery");
|
|
let showName,noticeName,clinicalPathwayName,showLis=[]
|
|
let showName,noticeName,clinicalPathwayName,showLis=[]
|
|
@@ -196,6 +197,13 @@ function bindTabClick(){
|
|
$(`.${moduleName} .infos`).scrollTop(0)
|
|
$(`.${moduleName} .infos`).scrollTop(0)
|
|
}
|
|
}
|
|
})
|
|
})
|
|
|
|
+ $("#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));
|
|
|
|
+ })
|
|
}
|
|
}
|
|
function adjustHeight() {
|
|
function adjustHeight() {
|
|
var ht = window.innerHeight || document.documentElement.clientHeight;
|
|
var ht = window.innerHeight || document.documentElement.clientHeight;
|
|
@@ -210,4 +218,8 @@ $(window).on('resize', function(){
|
|
adjustHeight()
|
|
adjustHeight()
|
|
adjustWidth()
|
|
adjustWidth()
|
|
})
|
|
})
|
|
|
|
+//如果是子窗口,隐藏网页查看按钮
|
|
|
|
+if(window.opener){
|
|
|
|
+ $("#openWin").hide();
|
|
|
|
+}
|
|
|
|
|