1.日志总量查询日志修改 2.提交p2p监测sql
This commit is contained in:
@@ -1390,11 +1390,7 @@ var GetLogTotal=function(_data){
|
||||
for(var i=0;i<data.length;i++){
|
||||
if($(this).attr("compileId")==data[i].compileId){
|
||||
$(this).attr("id",i+"logTotal");
|
||||
if(data[i].sum != 0){
|
||||
$(this).html("<a href='javascript:;' onclick='toLogSearch("+i+")'>"+data[i].sum+"<a>");
|
||||
}else{
|
||||
$(this).html(data[i].sum);
|
||||
}
|
||||
$(this).html("<a href='javascript:;' onclick='toLogSearch("+i+")'>"+data[i].sum+"<a>");
|
||||
hasLog=true;
|
||||
}
|
||||
}
|
||||
@@ -1436,7 +1432,8 @@ var toLogSearch = function(index){
|
||||
var date=$(this).attr("date");
|
||||
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+"&date="+date;
|
||||
window.location.href = pathName+"/toLogSearch?action="+action+"&functionId="+functionId+"&cfgId="+compileId+"&date="+date+"&isLogTotalSearch=yes";
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
@@ -50,8 +50,8 @@ $(document).ready(function() {
|
||||
});
|
||||
|
||||
// 添加由配置界面跳转到日志查询界面后的返回按钮
|
||||
var cfgId = $("input[name=cfgId]").val();
|
||||
if(cfgId != undefined && cfgId != ''){
|
||||
var isLogTotalSearch = $("#isLogTotalSearch").val();
|
||||
if(isLogTotalSearch != undefined && isLogTotalSearch != ''){
|
||||
$(".theme-panel").html("<button type='button' onclick='back()' class='btn btn-primary'>"+$.validator.messages.go_back+"</button>");
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user