diff --git a/WebContent/Tenwa/Lease/Flow/Comm/LBContract/LBContractPrintList.jsp b/WebContent/Tenwa/Lease/Flow/Comm/LBContract/LBContractPrintList.jsp index 0d7f2142a..bcd08d31e 100644 --- a/WebContent/Tenwa/Lease/Flow/Comm/LBContract/LBContractPrintList.jsp +++ b/WebContent/Tenwa/Lease/Flow/Comm/LBContract/LBContractPrintList.jsp @@ -48,7 +48,10 @@ var sReturn = RunJavaMethodTrans("com.tenwa.channelportal.action.ContractSignAction","signIng","ProjectId=<%=projectId%>,CurUserID=<%=CurUser.getUserID()%>"); } --%> - + $(function(){ + $("#myiframe0_float_div table").css("width","100%"); + $("#myiframe0_cells table").css("width","100%"); + }) //完成电子签约 function signOnLine(){ var results = RunJavaMethodTrans("com.tenwa.action.channelportal.businesshanding.contractaward.ContractAward","projectStatus","project_id=<%=projectId%>"); diff --git a/WebContent/Tenwa/Lease/Flow/Comm/LBContractTemplate/LBContractTemplateList.jsp b/WebContent/Tenwa/Lease/Flow/Comm/LBContractTemplate/LBContractTemplateList.jsp index dc3b8b642..2dba83255 100644 --- a/WebContent/Tenwa/Lease/Flow/Comm/LBContractTemplate/LBContractTemplateList.jsp +++ b/WebContent/Tenwa/Lease/Flow/Comm/LBContractTemplate/LBContractTemplateList.jsp @@ -1,5 +1,7 @@ <%@page import="jbo.com.tenwa.entity.comm.flow.FLOW_BUSSINESS_OBJECT"%> <%@ page contentType="text/html; charset=GBK"%> +<%@ page import="java.awt.Toolkit"%> +<%@ page import="java.awt.Dimension"%> <%@ include file="/Frame/resources/include/include_begin_list.jspf"%><% /* Author: undefined 2017-05-31 @@ -16,6 +18,10 @@ String ishistory=CurPage.getParameter("IsHistory"); String nodeNo=CurPage.getParameter("NodeNo"); + //获取页面属性 + Toolkit toolkit = Toolkit.getDefaultToolkit(); + Dimension screen = toolkit.getScreenSize(); + String sContractId = "";//合同表的主键 String sProjId="";//项目表主键 BizObjectManager bomcl = JBOFactory.getBizObjectManager(FLOW_BUSSINESS_OBJECT.CLASS_NAME); @@ -27,6 +33,8 @@ sProjId=bocl.getAttribute("proj_id").getString(); } ASObjectModel doTemp = new ASObjectModel(sTempletNo); + //设置第一列的宽度 + doTemp.appendHTMLStyle("ONE_CLASSIFY","width:"+(int)((screen.getWidth()-(screen.getWidth()*0.108))*0.15)+"px;"); ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request); dwTemp.Style="1"; //--设置为Grid风格-- dwTemp.MultiSelect = true; @@ -52,6 +60,12 @@ } %><%@include file="/Frame/resources/include/ui/include_list.jspf"%>