From 76b81986fcaceb53e54aa28f7b06a05f8d4efcc1 Mon Sep 17 00:00:00 2001 From: zhangbb Date: Thu, 1 Nov 2018 17:35:11 +0800 Subject: [PATCH] =?UTF-8?q?1.=E5=90=88=E5=90=8C=E4=BF=A1=E6=81=AF=E7=9A=84?= =?UTF-8?q?=E5=95=86=E5=8A=A1=E6=9D=A1=E4=BB=B6=E7=A7=9F=E9=87=91=E8=AE=A1?= =?UTF-8?q?=E5=88=92=E5=A2=9E=E5=8A=A0=E6=9D=83=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Accounting/LoanSimulation/RentPlanQueryList.jsp | 11 ++++++++++- WebContent/META-INF/context.xml | 5 +++-- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/WebContent/Accounting/LoanSimulation/RentPlanQueryList.jsp b/WebContent/Accounting/LoanSimulation/RentPlanQueryList.jsp index 057aa2fb4..635491d34 100644 --- a/WebContent/Accounting/LoanSimulation/RentPlanQueryList.jsp +++ b/WebContent/Accounting/LoanSimulation/RentPlanQueryList.jsp @@ -20,7 +20,16 @@ } ASObjectModel doTemp = new ASObjectModel(sTempletNo); - + String orgid = CurUser.getOrgID(); + if(CurUser.hasRole("401")){ + doTemp.setVisible("CORPUS", false); + doTemp.setVisible("INTEREST", false); + doTemp.setVisible("CORPUS_BUSINESS", false); + doTemp.setVisible("INTEREST_BUSINESS", false); + }else if(!"8009012002".equals(orgid)){ + doTemp.setVisible("CORPUS", false); + doTemp.setVisible("INTEREST", false); + } ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request); dwTemp.Style="1"; //--设置为Grid风格-- dwTemp.ReadOnly = "1"; //只读模式 diff --git a/WebContent/META-INF/context.xml b/WebContent/META-INF/context.xml index 83dcfe59c..7cee037b2 100644 --- a/WebContent/META-INF/context.xml +++ b/WebContent/META-INF/context.xml @@ -11,7 +11,8 @@ password="apzl@2018" driverClassName="com.mysql.jdbc.Driver" url="jdbc:mysql://47.93.34.101:3306/apzl?rewriteBatchedStatements=true&useUnicode=true&characterEncoding=GBK&autoReconnectForPools=true&autoReconnect=true&useSSL=false" /> - + -->