Kaynağa Gözat

为右边的区域内容添加title

raolu 7 yıl önce
ebeveyn
işleme
62e397bad5

+ 7 - 1
css/style.css

@ -5611,7 +5611,13 @@ body.skin-3 {
    }
}
.navbar-header {
    width:60%
    width:60%;
    height: 50px;
    line-height: 50px;
    margin-left: 15px;
    font-size: 16px;
    color: #333;
    font-weight: bold;
}
.bs-glyphicons {
    margin:0 -10px 20px;

+ 1 - 1
index.html

@ -79,7 +79,7 @@
        <div id="page-wrapper" class="white-bg dashbard-1">
            <div class="row border-bottom">
                <nav class="navbar navbar-static-top" role="navigation" style="margin-bottom: 0">
                    <div class="navbar-header">
                    <div class="navbar-header" id="pageTitle">
                        
                    </div>
                    <ul class="nav navbar-top-links navbar-right">

+ 2 - 1
js/buz/consulting-list.js

@ -9,6 +9,7 @@ var doctor = APIService.userAgent.uid,
    totalCount = 0;
$(function(){
    setTitle("续方咨询");
    getListData();
    bindEvents();
});
@ -77,7 +78,7 @@ function getListData(isRefresh){
                    field: '',
                    title: '操作',
                    formatter: function(val, row, index){
                        return '<a class="c-12b7f5" href="prescription-main.html?sessionId='+row.session_id+'&patiCode='+row.patient+'">查看</a>';
                        return '<a class="c-12b7f5" href="prescription-main.html?sessionId='+row.session_id+'&patiCode='+row.patient+'&patiName='+row.patientName+'">查看</a>';
                    }
                }]
            });

+ 2 - 1
js/buz/order-list-jg.js

@ -15,6 +15,7 @@ var startDate = '',
    totalOrderCount = 0,
    selectDoctor; //选中的医生
$(function(){
    setTitle("续方订单");
    //填充下拉框数据
    orderAPI.getHFilterInfo().then(function(res){
        fillDropDown(res);
@ -65,7 +66,7 @@ function getPrescriptionList( refresh){
                        o.statusName = getStatusName(o.status);
                        o.express = getExpressName(o.dispensaryType);
                        o.address = address;
                        o.action = '<a class="c-12b7f5" href="prescription-main.html?code='+o.code+'&patiCode='+o.patientCode+'&teamCode='+teamCode+'&tab=2">查看</a>';
                        o.action = '<a class="c-12b7f5" href="prescription-main.html?code='+o.code+'&patiCode='+o.patientCode+'&teamCode='+teamCode+'&tab=2&patiCode='+o.name+'">查看</a>';
                        return o;
                    });
                    

+ 2 - 1
js/buz/order-list.js

@ -20,6 +20,7 @@ var startDate = '',
    totalHealthDoctorCount = 0,
    selectDoctor; //选中的医生
$(function(){
    setTitle("续方订单");
    //非团队长隐藏操作按钮
    if(!isLeader || isLeader == 'false'){
        $("#arrange").hide();
@ -96,7 +97,7 @@ function getPrescriptionList( refresh){
                        }
                        o.expressage = expressage;
                        o.address = address;
                        o.action = '<a class="c-12b7f5" href="prescription-main.html?code='+o.code+'&patiCode='+o.patientCode+'&teamCode='+teamCode+'&tab=2">查看</a>';
                        o.action = '<a class="c-12b7f5" href="prescription-main.html?code='+o.code+'&patiCode='+o.patientCode+'&teamCode='+teamCode+'&tab=2&patiName='+o.name+'">查看</a>';
                        o.checkbox = '<input name="orderItem" type="checkbox" class="icon-checkbox" data-status="'+o.status+'" data-type="'+o.dispensaryType+'" data-expressage="'+o.expressageCode+'" data-code="'+o.code+'">';
                        return o;
                    });

+ 2 - 1
js/buz/prescription-management.js

@ -13,6 +13,7 @@ var startDate = '',
    totalCount = 0,
    selectDoctor; //选中的医生
$(function(){
    setTitle("续方管理");
    //非团队长隐藏操作按钮
    if(!isLeader){
        $("#arrange").hide();
@ -74,7 +75,7 @@ function getPrescriptionList( refresh){
				    	}
                        o.drugs = getDrugs(o.prescriptionInfo);
                        o.daysRemaining = getDaysRemaining(o)
                        o.action = '<a class="c-12b7f5" href="prescription-main.html?tab=1&teamCode='+teamCode+'&code='+o.code+'">查看</a>';
                        o.action = '<a class="c-12b7f5" href="prescription-main.html?tab=1&teamCode='+teamCode+'&code='+o.code+'&patiName='+o.name+'">查看</a>';
                        return o;
                    });
                    

+ 2 - 0
js/buz/prescription-tabs.js

@ -2,6 +2,7 @@ var request = getRequest(),
    tab = request.tab || 0,
    sessionId = request.sessionId, //续方咨询的sessionId 格式: 居民code+咨询code+咨询类型( 8 )
    patiCode = request.patiCode || '',
    patiName = request.patiName ? decodeURI(request.patiName) : '',
    consultCode,
    prescriptionCode = request.code || '',
    teamCode = request.teamCode || '',
@ -44,6 +45,7 @@ var links = [{
}];
$(function(){
    setTitle(patiName+"续方咨询");
    if(!prescriptionCode){
        //没有续方的code,就从咨询中获取对应的code
        //这种情况下,患者的签约团队一定是医生所在的团队的id

+ 5 - 0
js/util.js

@ -241,3 +241,8 @@ function isTeamLeader() {
    return docInfo.isLeader == '1'? true: false;
}
//设置title
function setTitle(title){
    var a = top.document.getElementById("pageTitle");
    $(a).text(title);
}