1.用户多角色菜单重复bug修改 2.配置界面日志总量链接查询
This commit is contained in:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user