setAction.jsp 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
  2. <!doctype html>
  3. <html>
  4. <head>
  5. <%@ include file="../../common/head.jsp"%>
  6. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  7. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  8. <link href="../res/css/plugins/bootstrap-table/bootstrap-table.min.css" rel="stylesheet" />
  9. <script src="../res/js/plugins/bootstrap-table/bootstrap-table.js" type="text/javascript"></script>
  10. <script src="../res/js/plugins/bootstrap-table/bootstrap-table-mobile.min.js" type="text/javascript"></script>
  11. <script src="../res/js/plugins/bootstrap-table/locale/bootstrap-table-zh-CN.min.js" type="text/javascript"></script>
  12. <script>
  13. function test(value,row,index){
  14. // return '<a href="#">' + row['id'] + '</a>';
  15. return '<a href="#">编辑 </a>|<a href="#">删除</a>';
  16. }
  17. </script>
  18. </head>
  19. <body class="gray-bg">
  20. <div class="wrapper wrapper-content animated fadeInRight">
  21. <!-- <div class="ibox " style=""> -->
  22. <!-- <div class="ibox-content"> -->
  23. <div class="row row-lg">
  24. <div class="col-sm-12">
  25. <cs:toolbar title="操作权限" tableId="tab_action" width="768px" height="420px" menuCode="181" hdMenu="1"> </cs:toolbar>
  26. <table id="tab_action"
  27. data-toggle="table"
  28. data-url="<%=basePath %>action/getMenuActionList.cs?menuCode=${menu.code }"
  29. data-method="get"
  30. data-click-to-select="true"
  31. data-data-type="json"
  32. data-toolbar="#def_toolbar"
  33. data-mobile-responsive="true"
  34. >
  35. <thead>
  36. <tr>
  37. <th data-checkbox="true" data-click-to-select="true"></th>
  38. <th data-field="name">操作名称</th>
  39. <th data-field="val">权限值</th>
  40. </tr>
  41. </thead>
  42. </table>
  43. </div>
  44. </div>
  45. <!-- </div> -->
  46. <!-- </div> -->
  47. </div>
  48. </body>
  49. </html>