1.用户多角色菜单重复bug修改 2.配置界面日志总量链接查询
This commit is contained in:
@@ -1222,7 +1222,8 @@ var GetLogTotal=function(_data){
|
||||
totalTrs.each(function(){
|
||||
for(var i=0;i<data.length;i++){
|
||||
if($(this).attr("compileId")==data[i].compileId){
|
||||
$(this).html(data[i].sum);
|
||||
$(this).attr("id",i+"logTotal");
|
||||
$(this).html("<a href='javascript:;' onclick='toLogSearch("+i+")'>"+data[i].sum+"<a>");
|
||||
}
|
||||
}
|
||||
})
|
||||
@@ -1242,6 +1243,29 @@ var GetLogTotal=function(_data){
|
||||
});
|
||||
}
|
||||
|
||||
var toLogSearch = function(index){
|
||||
// 保存配置界面URL
|
||||
$("#searchForm").each(function(){
|
||||
var cfgUrl = $(this).attr("action");
|
||||
sessionStorage.removeItem('cfgUrl');
|
||||
sessionStorage.setItem('cfgUrl',cfgUrl);
|
||||
});
|
||||
|
||||
var td = document.getElementById(index+"logTotal");
|
||||
$("td[compileId]").each(function(){
|
||||
if($(this).attr("id") == index+"logTotal"){
|
||||
// 获取检索日志参数
|
||||
var action=$(this).attr("action");
|
||||
var compileId=$(this).attr("compileId");
|
||||
var functionId=$(this).attr("functionId");
|
||||
var pathName=window.document.location.pathname.substring(0,window.document.location.pathname.indexOf("/nis")+4);
|
||||
|
||||
window.location.href = pathName+"/toLogSearch?action="+action+"&functionId="+functionId+"&compileId="+compileId;
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
//删除区域IP
|
||||
function delAreaIp(obj){
|
||||
var thisObj=$(obj);
|
||||
|
||||
Reference in New Issue
Block a user