index.html 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. <!--#include file="/inc/header.html"-->
  2. <script type="text/javascript">
  3. window.renderHeader=function(e)
  4. {
  5. var template="{{#childenList}}<li class=\"bif-nav-item\" data-type=\"{{moduleUrl}}\">{{moduleName}}</li>{{/childenList}}";
  6. var views = Mustache.render(template, e);
  7. $("#bif-nav-ul").html(views);
  8. $(".tree-breadcrumb #nav-item-a").html($("#bif-nav-ul li:first-child").html());
  9. $("#bif-nav-ul li:first-child").addClass("active");
  10. };
  11. $(function(){
  12. var modules=JSON.parse(window.sessionStorage.getItem("modules"));
  13. if(window.treemap){
  14. renderHeader(window.treemap[12]);//用户管理ID 6
  15. }else if(modules){
  16. renderHeader(modules.treemap[12]);
  17. }
  18. })
  19. </script>
  20. <div class="con-wrap">
  21. <div class="tree-breadcrumb">
  22. <span class="nav-prov">首页</span>&gt;
  23. <span class="nav-prov"><a href="/pages/usermanage/index.html">用户管理</a></span>&gt;
  24. <span class="nav-item"><a href="javascript:;" id="nav-item-a"></a></span>
  25. </div>
  26. <div class="bif-nav">
  27. <ul id="bif-nav-ul">
  28. <!-- <li class="bif-nav-item active" data-type='userManage'>用户管理</li>
  29. <li class="bif-nav-item" data-type='storemanInfo' >保管人员信息</li>
  30. <li class="bif-nav-item" data-type='roleGroupManage' >角色组管理</li>
  31. <li class="bif-nav-item " data-type="organizationMaintence" >组织架构维护</li>
  32. -->
  33. </ul>
  34. </div>
  35. <div id="con-map" class="main3">
  36. <div class="bif-container">
  37. </div>
  38. </div>
  39. </div>
  40. <div class="easyui-window rgm-w role-manage-addedit" id="role-manage-addedit" data-options="closed:true" style="padding: 10px;width:700px;height: 500px;">
  41. <form class="role-form">
  42. <input type="easyui-textbox" style="display: none;" name="id">&emsp;&emsp;
  43. 角色组名:<input type="easyui-textbox easyui-validatebox name" name="name" id="role-name" data-options="validType:'length[0,20]'">&emsp;&emsp;
  44. 备注: <input type="easyui-textbox easyui-validatebox remark" name="remark" id="role-remark" data-options="validType:'length[0,20]'">
  45. </form>
  46. <br />
  47. <ul id="rgm-tree" class="easyui-tree" style="margin: 10px 0;"></ul>
  48. <button type="button" href="#" class="easyui-linkbutton bd-add-s bd-win-y " plain="true">确定</button>
  49. </div>
  50. <!--#include file="/inc/footer.html"-->
  51. <style>
  52. .hide {
  53. display: none;
  54. }
  55. .pic {
  56. width: 300px;
  57. }
  58. .bif-nav-item {
  59. width: 100px;
  60. text-align: center;
  61. }
  62. .form-left {
  63. width: 500px;
  64. float: left;
  65. }
  66. .form-right {
  67. width: 200px;
  68. min-height: 150px;
  69. float: left;
  70. }
  71. .form-right .pic {
  72. border: 1px solid #ccc;
  73. float: left;
  74. width: 100%;
  75. min-height: 150px;
  76. background: #ccc;
  77. }
  78. #file {
  79. border-color: #ffa8a8;
  80. background-color: #F30000;
  81. color: #000;
  82. width: 100%;
  83. height: 20px;
  84. margin-top: 10px;
  85. }
  86. .pf-pitem-li {
  87. min-width: 100px;
  88. }
  89. </style>
  90. <script>
  91. $(function() {
  92. userManage.init();
  93. // base.renderwindow('#role-manage-addedit',
  94. // {
  95. // title: '更新角色组',
  96. // width: 700,
  97. // height: 500,
  98. // close:false
  99. // });
  100. });
  101. </script>
  102. </body>
  103. </html>