日志查询添加配置信息
This commit is contained in:
@@ -67,6 +67,28 @@ $(function(){
|
||||
setIsHexBin(this);
|
||||
});
|
||||
$("a[name=viewLogInfo]>i").on("click",function(){
|
||||
|
||||
var url=$(this).parents("a").attr("url");
|
||||
var compileId=$(this).parents("a").attr("compileId");
|
||||
var pzhtml="";
|
||||
var index="0";
|
||||
if((url!=null && url!='') && (compileId !=null && compileId!='')){
|
||||
$.ajax({
|
||||
type:'post',
|
||||
async:false,
|
||||
url:url,
|
||||
data:{"compileId":compileId,"index":index},
|
||||
dataType:"html",
|
||||
success:function(data){
|
||||
var subTab="";
|
||||
var htmls="";
|
||||
htmls+="<div class='row'>";
|
||||
htmls = htmls+data;
|
||||
subTab=subTab+htmls;
|
||||
pzhtml=subTab;
|
||||
}
|
||||
});
|
||||
}
|
||||
var html = "<div class='logInfo'>";
|
||||
$(this).parents("tr").find("td").each(function(index,element){
|
||||
if(index >0){
|
||||
@@ -88,12 +110,21 @@ $(function(){
|
||||
html+="<div class='col-md-4'><label>"+$(".table tr th").eq(index).text().trim()+":</label></div>";
|
||||
html+="<div class='col-md-6' style='width:330px;display:block;word-break:break-all;word-wrap:break-word;'><label>"+text+"</label></div>";
|
||||
html+="</div>";
|
||||
|
||||
}
|
||||
})
|
||||
html +="</div>";
|
||||
|
||||
top.$.jBox(html,{height:450,width:600,title:"<i class='icon-book-open'></i> Log Info",showIcon:false,opacity:0.5});
|
||||
if(pzhtml!=null && pzhtml!=""){
|
||||
html+="<hr style='width: 105%;margin-left: -5%;border-top: 1px solid #c5c5c5;' />";
|
||||
html+="<div style='width:100%'>"
|
||||
html+=pzhtml;
|
||||
html +='<script>';
|
||||
html +='$(document).ready(function() {'
|
||||
html +=" document.getElementsByName('tabTitle0')[0].click();";
|
||||
html +="})";
|
||||
html +="</script>";
|
||||
html+="</div>"
|
||||
}
|
||||
html +="</br></div>";
|
||||
top.$.jBox(html,{height:450,width:700,title:"<i class='icon-book-open'></i> Log Info",showIcon:false,opacity:0.5});
|
||||
});
|
||||
//表格中的tooltips鼠标点击复制完整的内容
|
||||
$("td>.tooltips").not(".addrPool").on("click",function(){
|
||||
|
||||
Reference in New Issue
Block a user