From a8cb0dd4cb0e34828d5f315a4f80bd3900369bb0 Mon Sep 17 00:00:00 2001 From: tangfutang Date: Mon, 23 Jul 2018 20:47:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=8B=85=E4=BF=9D=E4=BA=BAli?= =?UTF-8?q?st=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../LBGuaranteeUnit/LBGuaranteePerUnitList.jsp | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/WebContent/Tenwa/Lease/Flow/Comm/LBGuaranteeUnit/LBGuaranteePerUnitList.jsp b/WebContent/Tenwa/Lease/Flow/Comm/LBGuaranteeUnit/LBGuaranteePerUnitList.jsp index c8224e827..3b0ba7424 100644 --- a/WebContent/Tenwa/Lease/Flow/Comm/LBGuaranteeUnit/LBGuaranteePerUnitList.jsp +++ b/WebContent/Tenwa/Lease/Flow/Comm/LBGuaranteeUnit/LBGuaranteePerUnitList.jsp @@ -3,6 +3,7 @@ String sFlowUnid = CurPage.getParameter("FlowUnid");//流程编号 String sTempletNo = CurPage.getParameter("TempletNo");//模板号 + String FlowName = CurPage.getParameter("FlowName");//流程名称 String taskno=CurPage.getParameter("TaskNo"); String sProjectId = CurPage.getParameter("ProjectId"); String RightType= CurPage.getParameter("RightType"); @@ -11,18 +12,23 @@ RightType = "ReadOnly"; } + //获取页面属性liux系统暂时不支持 + /* Toolkit toolkit = Toolkit.getDefaultToolkit(); + Dimension screen = toolkit.getScreenSize(); */ + ASObjectModel doTemp = new ASObjectModel("GuarantorList"); +// doTemp.appendHTMLStyle("FULLNAME","width:"+(int)((screen.getWidth()-(screen.getWidth()*0.108))*0.15)+"px;"); ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request); dwTemp.Style="1"; //--设置为Grid风格-- dwTemp.ReadOnly = "1"; dwTemp.setPageSize(20); dwTemp.genHTMLObjectWindow(sFlowUnid); String sButtons[][] =null; - if(null!=RightType&&RightType.equals("ReadOnly")){ + if((null!=RightType&&RightType.equals("ReadOnly")) || "合同制作流程".equals(FlowName)){ sButtons=new String[][] { {"true","","Button","详情","详情","viewAndEdit2()","","","","btn_icon_edit"} }; - } else{ + } else{ sButtons=new String[][]{ {"true","","Button","新增","新增","newRecord()","","","","btn_icon_add"}, {"true","","Button","修改","修改","viewAndEdit()","","","","btn_icon_edit"}, @@ -32,6 +38,9 @@ %><%@include file="/Frame/resources/include/ui/include_list.jspf"%>