BaoFengSZCG_Web 宝丰县数字城管

jueSeQuanXian.html 5.1KB

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