Advertisement
vim_fans

Untitled

Oct 12th, 2021
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 2.52 KB | None | 0 0
  1. <%@ page isELIgnored="false" %>
  2.   <%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %>
  3.     <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
  4.       <!DOCTYPE html>
  5.       <html lang="en">
  6.  
  7.       <head>
  8.  
  9.         <meta charset="utf-8">
  10.         <meta http-equiv="X-UA-Compatible" content="IE=edge">
  11.         <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  12.  
  13.  
  14.         <!-- Custom fonts for this template-->
  15.         <link rel="stylesheet" href="/resources/css/fontawesome-free/all.min.css" />
  16.         <!-- Custom styles for this template-->
  17.         <link href="/resources/css/sb-admin-2.min.css" rel="stylesheet">
  18.         <!--<link rel="stylesheet" href="https://unpkg.com/bootstrap-table@1.18.3/dist/bootstrap-table.min.css">-->
  19.         <link rel="stylesheet" href="/webjars/bootstrap-table/1.16.0/bootstrap-table.min.css">
  20.  
  21.       </head>
  22.  
  23.       <body>
  24.         <table
  25.        id="table"
  26.        data-toggle="table"
  27.        data-height="460"
  28.        data-ajax="ajaxRequest"
  29.        data-search="true"
  30.        data-search-on-enter-key="true"
  31.        data-side-pagination="server"  
  32.        data-pagination="true"
  33.        data-page-list="[10, 25, 50, 100, 200, All]"
  34.        >
  35.         <thead>
  36.           <tr>
  37.             <th data-field="id">编号</th>
  38.             <th data-field="name">专业名称</th>
  39.             <th data-field="isvalid">是否有效</th>
  40.             <th data-field="createDate">创建时间</th>
  41.           </tr>
  42.         </thead>
  43.         </table>
  44.  
  45.         <script src="/webjars/jquery/3.6.0/jquery.min.js"></script>
  46.         <script src="/webjars/popper.js/2.9.3/umd/popper.min.js"></script>
  47.         <!--<script src="webjars/bootstrap/5.1.0/js/bootstrap.bundle.min.js"></script>-->
  48.         <script src="../../resources/js/bootstrap.bundle.min.js"></script>
  49.         <!-- Core plugin JavaScript-->
  50.         <!--   <script src="../../resources/js/sb/jquery.easing.min.js"></script>-->
  51.  
  52.         <script src="/webjars/bootstrap-table/1.16.0/bootstrap-table.min.js"></script>
  53.         <!-- Custom scripts for all pages-->
  54.         <!--<script src="../../resources/js/sb/sb-admin-2.min.js"></script>-->
  55.  
  56.  
  57.         <script>
  58.          
  59.  
  60.           function ajaxRequest(params) {
  61.             params.data["type"] = "subjectDic";
  62.            var url = "/ajaxHandler.do";
  63.            $.get(url+'?' + $.param(params.data)).then(function(res){
  64.              params.success(res);
  65.            })
  66.           }
  67.  
  68.         </script>
  69.       </body>
  70.  
  71.       </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement