濮阳12345web

jueSeQuanXian.html 5.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  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 href="../css/layer/need/layer.css" />
  8. <link rel="stylesheet" href="../js/zTree/zTreeStyle.css" />
  9. <link rel="stylesheet" href="../css/init.css" />
  10. <title>系统管理-->角色权限</title>
  11. <style>
  12. .box {
  13. width: 35%;
  14. }
  15. .delModel .box,.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. </style>
  48. </head>
  49. <body class="gray-bg">
  50. <div class="container-fluid wrapper-content animated fadeInRight">
  51. <div class="daoHang clearfix">
  52. <div class="dhLeft">
  53. <sapn><i class="syIcon"></i>位置:<a id="ReIndex" href="javaScript:;">首页</a>&gt;<a href="javaScript:;">系统管理</a>&gt;<a href="" class="nowPosition">角色管理</a></sapn>
  54. </div>
  55. <div class="dhRight"><a href="" title="刷新"><i class="fa fa-refresh"></i></a></div>
  56. </div>
  57. <div class="toolBar clearfix">
  58. <div class="toolLeft">
  59. <button class="btns add">添加</button>
  60. <button class="btns change">修改</button>
  61. <button class="btns del">删除</button>
  62. <button class="btns protect">保存角色权限</button>
  63. </div>
  64. <div class="toolRight">
  65. <span>角色名称:<input type="text" class="searJsz"/></span>
  66. <button class="btns search">搜索</button>
  67. </div>
  68. </div>
  69. <div class="treeTable clearfix">
  70. <div class="tree col-md-3">
  71. <div class="trTitle"> 角色列表</div>
  72. <table id="table1"data-row-style="rowStyle" data-query-params="queryParams" data-pagination="true">
  73. <thead>
  74. <tr>
  75. <th data-align="center" data-field="id" data-formatter="setCode"></th>
  76. <th data-field="F_RoleName" data-align="center">用户角色</th>
  77. </tr>
  78. </thead>
  79. </table>
  80. </div>
  81. <div class="tableCon col-md-9">
  82. <div class="trTitle"> 权限设置</div>
  83. <div class="treeCon">
  84. <ul id="treeDemo" class="ztree">
  85. <!--类名为ztree是必须的-->
  86. </ul>
  87. </div>
  88. </div>
  89. </div>
  90. </div>
  91. <!--添加弹出内容-->
  92. <div class="model addModel">
  93. <div class="box">
  94. <div class="btop clearfix">
  95. <p class="btl">添加角色信息</p>
  96. <p class="btr addBtr" title="关闭">X</p>
  97. </div>
  98. <div class="boxCon">
  99. <table>
  100. <tbody>
  101. <tr>
  102. <th style="color: red;">角色值:</th>
  103. <td colspan="3"><input type="text" class="add_jsz" /><span class="kong addJsz_kong" style="color: red;">*角色值不允许为空</span></td>
  104. </tr>
  105. <tr>
  106. <th>备注:</th>
  107. <td colspan="3"><textarea rows="2" cols="20" class="add_bz"></textarea></td>
  108. </tr>
  109. </tbody>
  110. </table>
  111. <div style="text-align: center;"><button class="btns addCun">保存</button></div>
  112. </div>
  113. </div>
  114. </div>
  115. <!--修改弹出内容-->
  116. <div class="model changeModel">
  117. <div class="box">
  118. <div class="btop clearfix">
  119. <p class="btl">添加角色信息</p>
  120. <p class="btr changeBtr" title="关闭">X</p>
  121. </div>
  122. <div class="boxCon">
  123. <table>
  124. <tbody>
  125. <tr>
  126. <th style="color: red;">角色值:</th>
  127. <td colspan="3"><input type="text" class="change_jsz" /><span class="kong change_kong" style="color: red;">*角色值不允许为空</span></td>
  128. </tr>
  129. <tr>
  130. <th>备注:</th>
  131. <td colspan="3"><textarea rows="2" cols="20" class="change_bz"></textarea></td>
  132. </tr>
  133. </tbody>
  134. </table>
  135. <div style="text-align: center;"><button class="btns changeCun">保存</button></div>
  136. </div>
  137. </div>
  138. </div>
  139. <!--删除弹出内容-->
  140. <div class="model delModel">
  141. <div class="box">
  142. <div class="btop clearfix">
  143. <p class="btl"><span>删除提示</span></p>
  144. <p class="btr delBtr" title="关闭">X</p>
  145. </div>
  146. <div class="boxCon" style="height: 150px;text-align: center;">
  147. <p style="font-size: 16px;">您确定删除?</p>
  148. <p style="margin-top: 30px;"><button class="btns sure">确定</button>
  149. <button class="btns return">取消</button></p>
  150. </div>
  151. </div>
  152. </div>
  153. <!--删除弹出内容-->
  154. <div class="model proModel">
  155. <div class="box">
  156. <div class="btop clearfix">
  157. <p class="btl"><span>提示</span></p>
  158. <p class="btr proBtr" title="关闭">X</p>
  159. </div>
  160. <div class="boxCon" style="height: 150px;text-align: center;">
  161. <p style="font-size: 16px;">保存角色权限成功!</p>
  162. <p style="margin-top: 30px;"><button class="btns proSure">确定</button>
  163. </p>
  164. </div>
  165. </div>
  166. </div>
  167. </body>
  168. <script src="../css/layer/layer.js"></script>
  169. <script src="../js/zTree/jquery.ztree.core.js"></script>
  170. <script src="../js/zTree/jquery.ztree.excheck.min.js"></script>
  171. <script src="./js/jueSeQuanXian.js"></script>
  172. </html>