userRole.jsp 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  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. <link rel="stylesheet" type="text/css" href="${app }/css/other.css" />
  11. <script type="text/javascript" src="${app}/js/base.js"></script>
  12. <script type="text/javascript"
  13. src="${app }/static/biz/js/user/userroleUnSyn.js"></script>
  14. <script type="text/javascript">
  15. $(document).ready(function () {
  16. user.userrole.allData='${AllRoleList}';
  17. user.userrole.init();
  18. user.userrole.synStatus();
  19. });
  20. </script>
  21. </head>
  22. <body>
  23. <div class="ch-container">
  24. <input type="hidden" id="userId" value="${userId}">
  25. <div class="row">
  26. <div class="box col-md-12">
  27. <div class="box-inner">
  28. <div class="box-header well" data-original-title="11">
  29. <h2>
  30. <i class="glyphicon "></i> 用户设置&gt;分配角色
  31. </h2>
  32. </div>
  33. <div class="box-content">
  34. <table class="search_button_table">
  35. <tr style="height:60px;">
  36. <td></td>
  37. <td></td>
  38. <td><a class="btn btn-default btn-sm" href="#"
  39. onclick="user.userrole.all()"> <i
  40. class="glyphicon glyphicon-ok"></i> 全选
  41. </a> <a class="btn btn-default btn-sm" href="#"
  42. onclick="user.userrole.notall()"> <i
  43. class="glyphicon glyphicon-remove"></i> 全不选
  44. </a> <a class="btn btn-default btn-sm" href="#"
  45. onclick="user.userrole.save()"> <i
  46. class="glyphicon glyphicon-floppy-saved"></i> 保存
  47. </a> <a class="btn btn-default btn-sm" href="#"
  48. onclick="user.userrole.back()"> <i
  49. class="glyphicon glyphicon-circle-arrow-left"></i> 返回
  50. </a></td>
  51. </tr>
  52. </table>
  53. <!-- 列表 -->
  54. <table class="table_ud">
  55. <thead>
  56. <tr>
  57. <th width="30%">角色名称</th>
  58. <th width="10%">分配</th>
  59. <th width="10%">是否同步</th>
  60. <th width="10%">是否存在</th><!-- 是否关联 -->
  61. </tr>
  62. </thead>
  63. <tbody id="divcontent">
  64. </tbody>
  65. </table>
  66. </div>
  67. </div>
  68. </div>
  69. <!--/span-->
  70. </div>
  71. <!--/row-->
  72. </div>
  73. </body>
  74. </html>