diff --git a/WebContent/Tenwa/Lease/Flow/Comm/LBContractEnd/rightsFileList.jsp b/WebContent/Tenwa/Lease/Flow/Comm/LBContractEnd/rightsFileList.jsp index 089d18efc..49ed743f3 100644 --- a/WebContent/Tenwa/Lease/Flow/Comm/LBContractEnd/rightsFileList.jsp +++ b/WebContent/Tenwa/Lease/Flow/Comm/LBContractEnd/rightsFileList.jsp @@ -5,6 +5,8 @@ <% String userid=CurUser.getUserID().substring(0,5); String userid1=CurUser.getUserID(); +String Jurisdiction="true"; + /* Author: undefined 2018-07-16 Content: @@ -17,6 +19,7 @@ String userid1=CurUser.getUserID(); List roleListObject = manager.createQuery("userid=:userid").setParameter("userid", userid1).getResultList(false); List roleList = new ArrayList(); String roleid = ""; + for(BizObject bo : roleListObject){ roleid = bo.getAttribute("roleid").toString(); roleList.add(roleid); @@ -27,6 +30,7 @@ String userid1=CurUser.getUserID(); //roleid:800R00000045 rolename: bccuishou //如果登录人属于bccuishou角色,可以看到北财下的所有的合同 if(roleList.contains("800R00000045")){ + Jurisdiction="false"; List userObjectList = manager.createQuery("roleid=:roleid").setParameter("roleid", roleId).getResultList(false); String userId = ""; List useridList = new ArrayList(); @@ -41,6 +45,9 @@ String userid1=CurUser.getUserID(); if(roleList.contains("401")){ doTemp.appendJboWhere(" and O.project_manage='"+userid1+"'"); } + if(roleList.contains(roleId)){ + Jurisdiction="false"; + } ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request); @@ -50,13 +57,7 @@ String userid1=CurUser.getUserID(); dwTemp.setPageSize(10); dwTemp.genHTMLObjectWindow(""); String userId = CurUser.getUserID(); - String Jurisdiction=""; - if(userId.indexOf("8006")>-1){ - Jurisdiction="false"; - - }else{ - Jurisdiction="true"; - } + //0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标,CSS层叠样式 10、风格 String sButtons[][] = { {Jurisdiction,"All","Button","结清证明","结清证明","saveRecord()","","","","btn_icon_save"}, diff --git a/WebContent/fileTemplate/鍚堝悓锛堝敭鍚庡洖绉燂級_绗竴杞﹁捶.docx b/WebContent/fileTemplate/鍚堝悓锛堝敭鍚庡洖绉燂級_绗竴杞﹁捶.docx index 620f48b4c..4a58f6253 100644 Binary files a/WebContent/fileTemplate/鍚堝悓锛堝敭鍚庡洖绉燂級_绗竴杞﹁捶.docx and b/WebContent/fileTemplate/鍚堝悓锛堝敭鍚庡洖绉燂級_绗竴杞﹁捶.docx differ