From cc3c2cb3892a54c6939d12c406f02239dfc70d2b Mon Sep 17 00:00:00 2001 From: liuz Date: Wed, 4 Jul 2018 20:06:52 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../LDistributorAccountInfo.jsp | 21 +++++--- .../DistributorApproval/LDistributorInfo.jsp | 34 +++++++++--- .../businessapply/AccountInfoManage.java | 52 +++++++++++++++++++ 3 files changed, 94 insertions(+), 13 deletions(-) create mode 100644 src_tenwa/com/tenwa/lease/flow/project/businessapply/AccountInfoManage.java diff --git a/WebContent/Tenwa/Lease/DistributorManage/DistributorApproval/LDistributorAccountInfo.jsp b/WebContent/Tenwa/Lease/DistributorManage/DistributorApproval/LDistributorAccountInfo.jsp index 7d03c4871..a07921796 100644 --- a/WebContent/Tenwa/Lease/DistributorManage/DistributorApproval/LDistributorAccountInfo.jsp +++ b/WebContent/Tenwa/Lease/DistributorManage/DistributorApproval/LDistributorAccountInfo.jsp @@ -8,7 +8,7 @@ String id = CurPage.getParameter("id");//账号id String sflowunid = CurPage.getParameter("flowunid"); String flowunid=CurPage.getParameter("ObjectNo"); - // String righttrpe=CurPage.getParameter("righttrpe"); + String righttrpe=CurPage.getParameter("RightType"); if(id == null) id=""; String sTempletNo = "LDistributorAccountInfo"; //模板号 // if(sTempletNo == null) sTempletNo = "LDistributorAccountInfo"; @@ -21,21 +21,30 @@ doTemp.setDefaultValue("DISTRIBUTOR_ID", DISTRIBUTOR_NO); ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request); dwTemp.Style="2"; //--设置为Grid风格-- - /* if(righttrpe=="ReadOnly"){ - dwTemp.ReadOnly = "1"; //只读模式 - } - */ + /* if("ReadOnly".equals(righttrpe)){ + //dwTemp.ReadOnly = "1"; //只读模式 + } */ + dwTemp.genHTMLObjectWindow(id); //0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标,CSS层叠样式 10、风格 String sButtons[][] = { - {"true","","Button","保存","保存所有修改","save()","","","","btn_icon_save"}, + /* {"ReadOnly".equals(righttrpe)?"false":"true","","Button","保存","保存所有修改","save()","","","","btn_icon_save"}, */ {"true","","Button","返回","返回","returnList()","","","","btn_icon_return"} }; %><%@ include file="/Frame/resources/include/ui/include_info.jspf"%>