日志增加日志详细信息查看功能
This commit is contained in:
@@ -1,4 +1,25 @@
|
||||
$(function(){
|
||||
$("a[name=viewLogInfo]>i").on("click",function(){
|
||||
var html = "<div class='logInfo'>";
|
||||
$(this).parents("tr").find("td").each(function(index,element){
|
||||
if(index >0){
|
||||
var text="";
|
||||
if($(element).find(".tooltips").length > 0){
|
||||
text=$(element).find(".tooltips").attr("data-original-title").trim();
|
||||
}else{
|
||||
text=$(element).text().trim()
|
||||
}
|
||||
html+="<div class='row col-md-12'>";
|
||||
html+="<div class='col-md-4'><label>"+$(".table tr th").eq(index).text().trim()+":</label></div>";
|
||||
html+="<div class='col-md-6'><label>"+text+"</label></div>";
|
||||
html+="</div>";
|
||||
|
||||
}
|
||||
})
|
||||
html +="</div>";
|
||||
|
||||
top.$.jBox(html,{height:400,width:400,title:"<i class='icon-book-open'></i> Log Info",showIcon:false,opacity:0.5});
|
||||
})
|
||||
var tree2 = $("select[name=lableTest]").treeMultiselect({
|
||||
searchable: true,
|
||||
hideSidePanel:true,
|
||||
|
||||
Reference in New Issue
Block a user