|
@@ -117,7 +117,7 @@ function renderContent(list, contentWrapClassName){
|
|
item.content = item.content&&item.content.replace(/{imageUrlPrefix}/g, imageUrlPrefix);
|
|
item.content = item.content&&item.content.replace(/{imageUrlPrefix}/g, imageUrlPrefix);
|
|
anchors = '<li><i></i><a href="#' + contentWrapClassName+i +
|
|
anchors = '<li><i></i><a href="#' + contentWrapClassName+i +
|
|
'">' + item.title + '</a></li><li class="anchor-line"></li>';
|
|
'">' + item.title + '</a></li><li class="anchor-line"></li>';
|
|
- str = '<div class="infoBox"><div class="title"> <div class= "circleBox"><span class="circle"> </span></div> <h2 class="titleH2" id="' + contentWrapClassName+i +
|
|
|
|
|
|
+ str = '<div class="infoBox"><div class="title"> <h2 class="titleH2" id="' + contentWrapClassName+i +
|
|
'">'
|
|
'">'
|
|
if (getUrlArgObject('type') == 8) {
|
|
if (getUrlArgObject('type') == 8) {
|
|
str += '【' + item.title + '】'
|
|
str += '【' + item.title + '】'
|
|
@@ -169,15 +169,15 @@ function renderTab(detailList){
|
|
$(".tabList").html('')
|
|
$(".tabList").html('')
|
|
if(detailList['静态知识']){
|
|
if(detailList['静态知识']){
|
|
$(".tabList").append(`<span class="tab" data-module="staticKnowledge">静态知识</span>`)
|
|
$(".tabList").append(`<span class="tab" data-module="staticKnowledge">静态知识</span>`)
|
|
- $(".staticKnowledge h1").html(showName);
|
|
|
|
|
|
+ $(".titleCont .title").html(showName);
|
|
}
|
|
}
|
|
if(detailList['临床路径']){
|
|
if(detailList['临床路径']){
|
|
$(".tabList").append(`<span class="tab" data-module="clinicalPathway">临床路径</span>`)
|
|
$(".tabList").append(`<span class="tab" data-module="clinicalPathway">临床路径</span>`)
|
|
- $(".clinicalPathway h1").html(clinicalPathwayName);
|
|
|
|
|
|
+ $(".titleCont .title").html(clinicalPathwayName);
|
|
}
|
|
}
|
|
if(detailList['注意事项']){
|
|
if(detailList['注意事项']){
|
|
$(".tabList").append(`<span class="tab" data-module="notice">注意事项</span>`)
|
|
$(".tabList").append(`<span class="tab" data-module="notice">注意事项</span>`)
|
|
- $(".notice h1").html(noticeName);
|
|
|
|
|
|
+ $(".titleCont .title").html(noticeName);
|
|
}
|
|
}
|
|
$(".tabList .tab").eq(0).addClass("activeTab")
|
|
$(".tabList .tab").eq(0).addClass("activeTab")
|
|
let defaultModuleName = $(".tabList .tab").eq(0).attr("data-module")
|
|
let defaultModuleName = $(".tabList .tab").eq(0).attr("data-module")
|
|
@@ -202,12 +202,12 @@ function bindTabClick(){
|
|
const hospitalId= getUrlArgObject('hospitalId');
|
|
const hospitalId= getUrlArgObject('hospitalId');
|
|
const hisName= getUrlArgObject('hisName');
|
|
const hisName= getUrlArgObject('hisName');
|
|
const hisDetailName= getUrlArgObject('hisDetailName');
|
|
const hisDetailName= getUrlArgObject('hisDetailName');
|
|
- openNewWin("informationOut.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() {
|
|
function adjustHeight() {
|
|
var ht = window.innerHeight || document.documentElement.clientHeight;
|
|
var ht = window.innerHeight || document.documentElement.clientHeight;
|
|
- $(".content").height(ht - 90 + "px");
|
|
|
|
|
|
+ $(".content").height(ht - 200 + "px");
|
|
}
|
|
}
|
|
function adjustWidth() {
|
|
function adjustWidth() {
|
|
var wt = window.innerWidth || document.documentElement.clientWidth;
|
|
var wt = window.innerWidth || document.documentElement.clientWidth;
|