1.用户多角色菜单重复bug修改 2.配置界面日志总量链接查询

This commit is contained in:
zhangwenqing
2018-08-29 21:58:56 +08:00
parent db37557139
commit dd59389e0a
10 changed files with 111 additions and 5 deletions

View File

@@ -48,8 +48,13 @@ $(document).ready(function() {
this.setAttribute('width',tdPx+'px');
}
});
});
// 添加由配置界面跳转到日志查询界面后的返回按钮
var cfgId = $("#cfgId").val();
if(cfgId != undefined && cfgId != ''){
$(".theme-panel").html("<button type='button' onclick='back()' class='btn btn-primary'>cancel</button>");
}
});
// 获取字符串对等的像素值
function getPixelsCount(str, strFontSize){
@@ -76,4 +81,9 @@ function getPixelsCount(str, strFontSize){
}
return stringPixelsCount;
}
function back(){
// 获取配置界面URl并跳转
var url = sessionStorage.getItem('cfgUrl');
window.location.href = url;
}