暫無描述

jueSeQuanXian.html 5.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <script src="../Script/Common/huayi.load.js"></script>
  6. <script src="../Script/Common/huayi.config.js"></script>
  7. <link rel="stylesheet" href="../js/zTree/zTreeStyle.css" />
  8. <link rel="stylesheet" href="../css/init.css" />
  9. <title>系统管理-->角色权限</title>
  10. <style>
  11. .box {
  12. width: 35%;
  13. }
  14. .delModel .box,
  15. .proModel .box {
  16. width: 20%;
  17. }
  18. .boxCon {
  19. height: 285px;
  20. }
  21. .boxCon table th {
  22. width: 20%;
  23. }
  24. .boxCon table td textarea {
  25. width: 80%;
  26. }
  27. .treeTable {
  28. height: 500px;
  29. }
  30. .tree {
  31. height: 100%;
  32. }
  33. .treeCon {
  34. height: 90%;
  35. border: 1px solid #ebebeb;
  36. overflow-y: auto;
  37. }
  38. .trTitle {
  39. width: 100%;
  40. height: 34px;
  41. line-height: 34px;
  42. border-bottom: 1px solid #ebebeb;
  43. color: red;
  44. font-weight: 700;
  45. margin-bottom: 15px;
  46. }
  47. .toolBar {
  48. padding: 15px 0;
  49. border-bottom: 1px solid #ccc;
  50. }
  51. </style>
  52. </head>
  53. <body>
  54. <div class="container-fluid">
  55. <div class="daoHang clearfix">
  56. <div class="dhLeft">
  57. <sapn><i class="syIcon"></i>位置:
  58. <a id="ReIndex" href="javaScript:;">首页</a>&gt;
  59. <a href="javaScript:;">系统管理</a>&gt;
  60. <a href="javaScript:;">权限管理</a>&gt;
  61. <a href="" class="nowPosition">角色权限</a>
  62. </sapn>
  63. </div>
  64. <div class="dhRight">
  65. <a href="#" title="刷新"><i class="fa fa-refresh"></i></a>
  66. </div>
  67. </div>
  68. <div class="toolBar clearfix">
  69. <div class="toolLeft">
  70. <button class="btns add">添加</button>
  71. <button class="btns change">修改</button>
  72. <button class="btns del">删除</button>
  73. <button class="btns protect">保存角色权限</button>
  74. </div>
  75. <div class="toolRight">
  76. <span>角色名称:<input type="text" class="searJsz" placeholder="请输入角色名称"/></span>
  77. <button class="btns search">搜索</button>
  78. </div>
  79. </div>
  80. <div class="treeTable clearfix">
  81. <div class="tree col-md-3">
  82. <div class="trTitle"> 角色列表</div>
  83. <table id="table1" data-row-style="rowStyle" data-query-params="queryParams" data-pagination="true">
  84. <thead>
  85. <tr>
  86. <th data-align="center" data-field="id" data-formatter="setCode">编号</th>
  87. <th data-field="F_RoleName" data-align="center">角色名称</th>
  88. </tr>
  89. </thead>
  90. </table>
  91. </div>
  92. <div class="tableCon col-md-9">
  93. <div class="trTitle"> 权限设置</div>
  94. <div class="treeCon">
  95. <ul id="treeDemo" class="ztree">
  96. <!--类名为ztree是必须的-->
  97. </ul>
  98. </div>
  99. </div>
  100. </div>
  101. </div>
  102. <!--添加弹出内容-->
  103. <div class="model addModel">
  104. <div class="box">
  105. <div class="btop clearfix">
  106. <p class="btl">添加角色信息</p>
  107. <p class="btr addBtr" title="关闭">X</p>
  108. </div>
  109. <div class="boxCon">
  110. <table>
  111. <tbody>
  112. <tr>
  113. <th style="color: red;">角色名称:</th>
  114. <td colspan="3"><input type="text" class="add_jsz" /><span class="kong addJsz_kong" style="color: red;">*角色名称不允许为空</span></td>
  115. </tr>
  116. <tr>
  117. <th>备注:</th>
  118. <td colspan="3"><textarea rows="2" cols="20" class="add_bz"></textarea></td>
  119. </tr>
  120. </tbody>
  121. </table>
  122. <div style="text-align: center;"><button class="btns addCun">保存</button></div>
  123. </div>
  124. </div>
  125. </div>
  126. <!--修改弹出内容-->
  127. <div class="model changeModel">
  128. <div class="box">
  129. <div class="btop clearfix">
  130. <p class="btl">修改角色信息</p>
  131. <p class="btr changeBtr" title="关闭">X</p>
  132. </div>
  133. <div class="boxCon">
  134. <table>
  135. <tbody>
  136. <tr>
  137. <th style="color: red;">角色名称:</th>
  138. <td colspan="3"><input type="text" class="change_jsz" /><span class="kong change_kong" style="color: red;">*角色名称不允许为空</span></td>
  139. </tr>
  140. <tr>
  141. <th>备注:</th>
  142. <td colspan="3"><textarea rows="2" cols="20" class="change_bz"></textarea></td>
  143. </tr>
  144. </tbody>
  145. </table>
  146. <div style="text-align: center;"><button class="btns changeCun">保存</button></div>
  147. </div>
  148. </div>
  149. </div>
  150. <!--删除弹出内容-->
  151. <div class="model delModel">
  152. <div class="box">
  153. <div class="btop clearfix">
  154. <p class="btl"><span>删除提示</span></p>
  155. <p class="btr delBtr" title="关闭">X</p>
  156. </div>
  157. <div class="boxCon" style="height: 150px;text-align: center;">
  158. <p style="font-size: 16px;">您确定删除?</p>
  159. <p style="margin-top: 30px;"><button class="btns sure">确定</button>
  160. <button class="btns return">取消</button></p>
  161. </div>
  162. </div>
  163. </div>
  164. <!--删除弹出内容-->
  165. <div class="model proModel">
  166. <div class="box">
  167. <div class="btop clearfix">
  168. <p class="btl"><span>提示</span></p>
  169. <p class="btr proBtr" title="关闭">X</p>
  170. </div>
  171. <div class="boxCon" style="height: 150px;text-align: center;">
  172. <p style="font-size: 16px;">保存角色权限成功!</p>
  173. <p style="margin-top: 30px;"><button class="btns proSure">确定</button>
  174. </p>
  175. </div>
  176. </div>
  177. </div>
  178. </body>
  179. <script src="../js/zTree/jquery.ztree.core.js"></script>
  180. <script src="../js/zTree/jquery.ztree.excheck.min.js"></script>
  181. <script src="./js/jueSeQuanXian.js"></script>
  182. </html>