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"%>