- 1、本文档共5页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 5、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 6、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 7、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 8、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
如何为后台管理面增加按钮权限
如何为后台管理界面(zhtml)增加按钮权限
通常在项目开发当中都会有这样的需求,客户要求某些后台操作页面的按钮只能有部分后台管理人员能够进行使用,并且这些按钮权限需要能够进行灵活的配置。这个时候我们就需要使用到框架里面按钮权限管理的功能,下面讲述如何将一个页面上的按钮加上权限,并且能够进行灵活的配置。
第一步:框架提供了按钮权限的扩展服务,我们可以通过简单的扩展来注册我们自己的权限项,我们通过继承AbstractMenuPriv来实现我们的按钮权限类。
第二步:通过注册扩展服务项的方式将我们写好的权限注册进入按钮权限管理服务。
第三步:对应的zhtml中增加如下的代码,将按钮增加权限。
第四步:增加后台UI类访问权限,防止前台绕过按钮直接向后台发送请求(注:这表示需要有增加或者修改的权限,则允许访问这个方法)。
第五步:通过后台管理界面,给用户授予自己注册的权限项(注:如果注册之后后台权限管理里面不出现,则clean一下自己的工程,并重启一下,有的时候会出现插件文件修改之后不生效的情况)
注:文章源于泽元软件知识库,此文章只用于学术交流,不用于商业应用。
the drawings, first to become familiar with the drawings, mainly about the following aspects: 1) pages of drawings and diagrams, maps; 2) a comprehensive understanding of drawing; 3) finding of design-driven dimensions (), do not resize and adjust the size; 4) questioned the drawings; 5) develop buries a construction programme and technical clarification; 6) clear corners and special treatment; 7) controlled construction drawings to verify construction scheme and design. (2) at the construction site to find subject planted area: various engineering, first on the scene to find planted area, it must first understand the curtain wall installation section, and some projects are all curtain wall, the entire project is a region-wide, only partial walls, the zone is local. (3) identify the axis positioning: positioning the drawings shown in axis compared with the actual construction site to find out exactly where the axis positioning, axis positioning function are: 1) to help determine the origin of curtain walls; 2) acceptance of the installation is accurate; 3) adjust errors, and determine the error range. (4) find anchor points: according to site to find the exact location of the axis, according to the drawings provided by the content determine the positioning point; number of anchor points shall not be less than two points. Repeated measurements determine the location points must ensure that the positioning is correct. (5) take level (level): level (minor works available in hori
文档评论(0)