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"; //只读模式