From 6f6a129193b2fcb41e903577daf522cd85c19001 Mon Sep 17 00:00:00 2001 From: leijun Date: Fri, 16 Nov 2018 13:39:52 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=9E=E6=97=B6=E6=8A=A5=E8=A1=A8--=E6=A0=87?= =?UTF-8?q?=E7=AD=BE=E6=A0=B7=E5=BC=8F=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/webapp/WEB-INF/views/report/list.jsp | 28 +++++++++++++------ 1 file changed, 20 insertions(+), 8 deletions(-) diff --git a/src/main/webapp/WEB-INF/views/report/list.jsp b/src/main/webapp/WEB-INF/views/report/list.jsp index b5ce3e173..c8f954acb 100644 --- a/src/main/webapp/WEB-INF/views/report/list.jsp +++ b/src/main/webapp/WEB-INF/views/report/list.jsp @@ -89,6 +89,10 @@ $(document).ready(function() { $('.table-responsive').css({'height':height-166+'px'}); //style.height=height-130+'px'; } + + var li=document.getElementById("liwhite").offsetWidth; + var lipx=Number(li/6); + $(".lireport").css({'width':lipx+'px','text-overflow':'ellipsis','overflow':'hidden'}); }); function getXlsxFileName() { var cfgName = $("[name=cfgName2]").val() + "_"; @@ -356,8 +360,16 @@ function customColumnClick(){ if($('.table-responsive')){ $('.table-responsive').css({'height':height-186+'px'}); } + var li=document.getElementById("liwhite").offsetWidth; + var lipx=Number(li/6); + $(".lireport").css({'width':lipx+'px','text-overflow':'ellipsis','overflow':'hidden'}); } +
@@ -470,40 +482,40 @@ function customColumnClick(){
-
+

-