From d62341437634088363f80c487aac272f0df83226 Mon Sep 17 00:00:00 2001 From: leijun Date: Thu, 13 Dec 2018 20:11:02 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A5=E5=BF=97=E6=9F=A5=E8=AF=A2-=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E4=BF=A1=E6=81=AF=E9=A1=B5=E9=9D=A2=E6=A0=B7=E5=BC=8F?= =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../webapp/static/global/scripts/common.js | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/src/main/webapp/static/global/scripts/common.js b/src/main/webapp/static/global/scripts/common.js index c8f1f47a6..71265bccd 100644 --- a/src/main/webapp/static/global/scripts/common.js +++ b/src/main/webapp/static/global/scripts/common.js @@ -67,7 +67,7 @@ $(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=""; @@ -85,10 +85,12 @@ $(function(){ htmls+="
"; htmls = htmls+data; subTab=subTab+htmls; - pzhtml=subTab; + //pzhtml=subTab.replace('col-md-4','col-md-8'); + var reg = new RegExp( 'col-md-4' , "g" ) + pzhtml = subTab.replace( reg , 'col-md-6' ); } }); - }*/ + } var html = "
"; $(this).parents("tr").find("td").each(function(index,element){ if(index >0){ @@ -112,10 +114,10 @@ $(function(){ html+="
"; } }) - /* + if(pzhtml!=null && pzhtml!=""){ html+="
"; - html+="
" + html+="
" html+=pzhtml; html +='