role.jsp 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
  2. <%@include file="/context/mytags.jsp"%>
  3. <!DOCTYPE html>
  4. <html>
  5. <head>
  6. <title><t:mutiLang langKey="common.role.info"/></title>
  7. <t:base type="jquery,easyui,tools"></t:base>
  8. </head>
  9. <body style="overflow-y: hidden" scroll="no">
  10. <t:formvalid formid="formobj" layout="div" dialog="true" action="roleController.do?saveRole">
  11. <input name="id" type="hidden" value="${role.id}"/>
  12. <fieldset class="step">
  13. <div class="form">
  14. <label class="Validform_label"><span color="red" class="requiredIcon">*</span><t:mutiLang langKey="common.role.name"/>:</label>
  15. <input name="roleName" class="inputxt" value="${role.roleName }" datatype="s2-8"/>
  16. <span class="Validform_checktip"><t:mutiLang langKey="rolescope.rang2to8.notnull"/></span>
  17. </div>
  18. <c:if test="${role.id==null || role.id==''}">
  19. <div class="form">
  20. <label class="Validform_label"><span color="red" class="requiredIcon">*</span><t:mutiLang langKey="common.role.code"/>:</label>
  21. <input name="roleCode" id="roleCode" ajaxurl="roleController.do?checkRole&code=${role.roleCode }" class="inputxt" value="${role.roleCode }" datatype="s2-15">
  22. <span class="Validform_checktip"><t:mutiLang langKey="rolecode.rang2to15.notnull"/></span>
  23. </div>
  24. </c:if>
  25. <c:if test="${role.id!=null && role.id!=''}">
  26. <div class="form">
  27. <label class="Validform_label"><span color="red" class="requiredIcon">*</span><t:mutiLang langKey="common.role.code"/>:</label>
  28. <input name="roleCode" id="roleCode" ajaxurl="roleController.do?checkRole&code=${role.roleCode }" class="inputxt" value="${role.roleCode }" datatype="s2-15" readonly="readonly">
  29. <span class="Validform_checktip"><t:mutiLang langKey="rolecode.rang2to15.notnull"/></span>
  30. </div>
  31. </c:if>
  32. <div class="form">
  33. <label class="Validform_label"><span color="red" class="requiredIcon">*</span>角色权值:</label>
  34. <input name="selfRoleweightCode" id="selfRoleweightCode" class="inputxt" value="${role.selfRoleweightCode }" datatype="n1-6">
  35. <span class="Validform_checktip">角色权值</span>
  36. </div>
  37. <div class="form">
  38. <label class="Validform_label"><span color="red" class="requiredIcon">*</span>可见权限范围:</label>
  39. <input name="visibleRoleweightCode" id="visibleRoleweightCode" class="inputxt" value="${role.visibleRoleweightCode }" datatype="*2-200">
  40. <span class="Validform_checktip">可见权限范围</span>
  41. </div>
  42. <div class="form">
  43. <label class="Validform_label"><span color="red" class="requiredIcon">*</span>能否登录app:</label>
  44. <t:dictSelect field="apploginAbleFlag" type="list" typeGroupCode="applogin_able_flag" datatype="*" defaultVal="${role.apploginAbleFlag}" hasLabel="false" title="能否登录app"></t:dictSelect>
  45. <span class="Validform_checktip">必选</span>
  46. </div>
  47. </fieldset>
  48. </t:formvalid>
  49. </body>
  50. </html>