rolemain.jsp 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. <%@ page language="java" contentType="text/html; charset=UTF-8"
  2. pageEncoding="UTF-8"%>
  3. <!DOCTYPE html>
  4. <html lang="en">
  5. <head>
  6. <meta charset="utf-8">
  7. <title>江苏省港口建设与经营管理信息系统</title>
  8. <meta name="viewport" content="width=device-width, initial-scale=1">
  9. <%@ include file="../../common.jsp"%>
  10. <script type="text/javascript" src="${app }/static/biz/js/set/role/rolemain.js"></script>
  11. <script type="text/javascript">
  12. $(document).ready(function () {
  13. role.main.init();
  14. iFrameHeightIframe('${menuid}');//自适应高度
  15. });
  16. </script>
  17. </head>
  18. <body>
  19. <div class="box" >
  20. <div class="box-content" >
  21. <form action="${app }/role/main" id="roleform" method="post">
  22. <div >
  23. <table class="search_table" cellpadding="0" cellspacing="0">
  24. <tr>
  25. <th width="10%"></th>
  26. <th width="25%"></th>
  27. <th width="10%"></th>
  28. <th width="25%"></th>
  29. <th width="10%"></th>
  30. <th width="20%"></th>
  31. </tr>
  32. <tr>
  33. <tr>
  34. <td class="right">
  35. 角色名称 :&nbsp;
  36. </td>
  37. <td >
  38. <input type="text" class="form-control" name="rolename" value="${rolename }">
  39. </td>
  40. <td class="right">
  41. </td>
  42. <td >
  43. </td>
  44. <td class="right" colspan="2">
  45. <a class="btn btn-default btn-sm" href="#" onclick="role.main.search()">
  46. <i class="glyphicon glyphicon-search"></i>
  47. 查询</a>
  48. <authz:hasPermission name="${appName}:role:add">
  49. <a class="btn btn-default btn-sm" href="#" onclick="role.main.add()">
  50. <i class="glyphicon glyphicon-plus"></i>
  51. 新增</a>
  52. </authz:hasPermission>
  53. </td>
  54. </tr>
  55. </table>
  56. </div>
  57. <!-- 列表 -->
  58. <div style="background-color:#f4f4f4;">
  59. <table class="main_table" cellpadding="0" cellspacing="0">
  60. <tr>
  61. <th width="10%">序号</th>
  62. <th width="20%">角色名称</th>
  63. <th width="20%">角色编码</th>
  64. <th width="20%">所属组织</th>
  65. <th width="10%">排序号</th>
  66. <th width="1%" class='operatetd'>操作</th>
  67. </tr>
  68. <c:forEach items="${list}" var="role" varStatus="status">
  69. <tr class="tr_bg">
  70. <td>${status.index+1 }</td>
  71. <td>${role.name }</td>
  72. <td>${role.code }</td>
  73. <td>${role.orgid }</td>
  74. <td>${role.sortno }</td>
  75. <td class='operatetd'>
  76. <a class="btn btn-default btn-xs" href="#" onclick="role.main.view('${role.id}')" title='查看'>
  77. <i class="glyphicon glyphicon-search"></i>
  78. </a>
  79. <authz:hasPermission name="${appName}:role:edit">
  80. <a class="btn btn-default btn-xs" href="#" onclick="role.main.edit('${role.id}')" title='编辑'>
  81. <i class="glyphicon glyphicon-pencil"></i>
  82. </a>
  83. </authz:hasPermission>
  84. <authz:hasPermission name="${appName}:role:delete">
  85. <a class="btn btn-default btn-xs" href="#" onclick="role.main.del('${role.id}')" title='删除'>
  86. <i class="glyphicon glyphicon-trash"></i>
  87. </a>
  88. </authz:hasPermission>
  89. </td>
  90. </tr>
  91. </c:forEach>
  92. </table>
  93. </div>
  94. <!-- 分页 -->
  95. <jsp:include page="../../pageinfo.jsp"></jsp:include>
  96. </div>
  97. </form>
  98. </div>
  99. </body>
  100. </html>