From cf4b653dd73084a2184e27423ed0b8a53279852a Mon Sep 17 00:00:00 2001 From: liuzhao Date: Fri, 28 Dec 2018 15:41:14 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=88=E5=90=8C=E4=BF=A1=E6=81=AF=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2=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 --- .../contractInfoAllView/contractInfoAllViewList.jsp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/WebContent/Tenwa/Lease/Flow/Contract/contractInfoAllView/contractInfoAllViewList.jsp b/WebContent/Tenwa/Lease/Flow/Contract/contractInfoAllView/contractInfoAllViewList.jsp index 3ad715748..40eb2b46e 100644 --- a/WebContent/Tenwa/Lease/Flow/Contract/contractInfoAllView/contractInfoAllViewList.jsp +++ b/WebContent/Tenwa/Lease/Flow/Contract/contractInfoAllView/contractInfoAllViewList.jsp @@ -6,6 +6,7 @@ String InfoForType=CurPage.getParameter("InfoForType"); String userid=CurUser.getUserID().substring(0,5); + String userid1=CurUser.getUserID(); String Orgid=CurUser.getOrgID(); String Model=""; String distributor_id=""; @@ -27,6 +28,13 @@ /* String sCondtion=DataRightManager.getRightCondition(CurUser,"O", "contract"); */ doTemp.appendJboWhere(" and O.distributor_id='"+distributor_id+"'"); } + //合同信息查询加权限 + if("ContractInfoAllViewFroJXS".equals(Model)){ + if(!"administrator".equals(userid1)){ + doTemp.appendJboWhere(" and O.project_manage='"+userid1+"'"); + } + } + ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request); dwTemp.Style="1"; //--设置为Grid风格-- dwTemp.ReadOnly = "1"; //只读模式