Commit 5690803e5ea90ec305a40b9311968bb0d34186f3

Authored by 孙向锦
1 parent 4b9536d4

修改管理员部分显示页面

WebRoot/WEB-INF/jsp/sunvote/admin/admin_main.jsp
... ... @@ -267,18 +267,14 @@
267 267  
268 268 function chooseListClass(school_id,gradle_id){
269 269 var path = "../sclass/listcs.do?school_id=" + school_id + "&grade_id=" + gradle_id ;
270   - if($("#mainFrame").attr('src') != (path)){
271   - $("#mainFrame").attr('src',path);
272   - window.top.loading.show();
273   - }
  270 + $("#mainFrame").attr('src',path);
  271 + window.top.loading.show();
274 272 }
275 273  
276 274 function report(classId){
277 275 //window.open('<%=basePath%>report/report.do?role=admin&classid=' + classId);
278   - //if($("#mainFrame").attr('src') != ('<%=basePath%>report/report.do?role=admin&classid=' + classId)){
279 276 $("#mainFrame").attr('src','<%=basePath%>report/report.do?role=admin&classid=' + classId);
280 277 window.top.loading.show();
281   - //}
282 278 }
283 279 function report2(classId){
284 280 //window.open('<%=basePath%>report/report.do?classid=' + classId);
... ... @@ -307,19 +303,15 @@
307 303 $("#qingsongkao_paper").click(function (){
308 304 var path = "../paper/list4.do?school_id=" + schoolId ;
309 305 //$(".content_r").html('<iframe name="mainFrame" id="mainFrame" frameborder="0" style="width:100%;height:'+$(".content_l").height()+'px;" src=' + path + '></iframe>');
310   - if($("#mainFrame").attr('src') != (path)){
311   - $("#mainFrame").attr('src',path);
312   - window.top.loading.show();
313   - }
  306 + $("#mainFrame").attr('src',path);
  307 + window.top.loading.show();
314 308 });
315 309  
316 310 $("#new_paper").click(function (){
317 311 var path = "../paper/list5.do?school_id=" + schoolId ;
318 312 //$(".content_r").html('<iframe name="mainFrame" id="mainFrame" frameborder="0" style="width:100%;height:'+$(".content_l").height()+'px;" src=' + path + '></iframe>');
319   - if($("#mainFrame").attr('src') != (path)){
320   - $("#mainFrame").attr('src',path);
321   - window.top.loading.show();
322   - }
  313 + $("#mainFrame").attr('src',path);
  314 + window.top.loading.show();
323 315 });
324 316  
325 317 $("#jishice_paper").click(function (){
... ...
WebRoot/WEB-INF/jsp/sunvote/coursemanagement/coursemanagement_list2.jsp
... ... @@ -19,19 +19,15 @@
19 19 href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css"
20 20 rel="stylesheet">
21 21 <link href="static/css/teach.css" rel="stylesheet">
22   -<!-- jsp文件头和头部 -->
23   -<%@ include file="../../system/index/top.jsp"%>
24 22 <!-- 日期框 -->
25 23 <link rel="stylesheet" href="static/ace/css/datepicker.css" />
26 24 </head>
27   -<body class="no-skin">
28   -
29 25  
  26 +<body class="no-skin">
30 27  
31 28 <!-- 检索 -->
32 29 <form action="coursemanagement/listcs.do" method="post" name="Form"
33   - id="Form">
34   -
  30 + id="Form" style="background:#fff;">
35 31 <div class="head_box">
36 32 <div class="box_header">
37 33 <div class="head_box_l">
... ... @@ -61,7 +57,7 @@
61 57 </table>
62 58 </div>
63 59 </div>
64   - <div class="table_box">
  60 + <div class="table_box" >
65 61 <table class="table table-striped">
66 62 <col style="width: 10%" />
67 63 <col style="width: 30%" />
... ... @@ -88,7 +84,15 @@
88 84 </c:choose>
89 85 </tbody>
90 86 </table>
91   -
  87 + <div class="footer">
  88 + <div class="creat"></div>
  89 + <div class="removeAll"></div>
  90 + <div class="page_box">
  91 +
  92 + <div class="pagination"
  93 + style="float: right;padding-top: 0px;margin-top: 0px;">${page.pageStr}</div>
  94 + </div>
  95 + </div>
92 96 </div>
93 97 </form>
94 98 <!-- /.main-container -->
... ...
WebRoot/WEB-INF/jsp/sunvote/sclass/sclass_list2.jsp
... ... @@ -38,7 +38,7 @@
38 38 </div>
39 39 <div class="clearfix"></div>
40 40 </div>
41   - <div style="padding:0 5%;background:#fff;">
  41 + <div style="background:#fff;">
42 42  
43 43 <table class="table table-striped">
44 44 <col style="width: 10%" />
... ... @@ -62,7 +62,7 @@
62 62 <!-- 检索 -->
63 63  
64 64 </div>
65   - <div class="table_box">
  65 + <div class="table_box" style="padding:0%;">
66 66 <table class="table table-striped">
67 67 <col style="width: 10%" />
68 68 <col style="width: 22%" />
... ...
resources/dbconfig.properties
1 1 #数据源 1
2   -url:jdbc:mysql://47.107.98.47:3306/education?autoReconnect=true&failOverReadOnly=false&useUnicode=true&characterEncoding=utf8&characterSetResults=utf8
  2 +url:jdbc:mysql://47.107.98.47:3306/education2?autoReconnect=true&failOverReadOnly=false&useUnicode=true&characterEncoding=utf8&characterSetResults=utf8
3 3 #url:jdbc:mysql://120.78.57.84:3306/education3?autoReconnect=true&failOverReadOnly=false&useUnicode=true&characterEncoding=utf8&characterSetResults=utf8
4 4 #url:jdbc:mysql://192.168.0.3:3306/education?autoReconnect=true&useUnicode=true&characterEncoding=utf8&characterSetResults=utf8
5 5 driverClassName:com.mysql.jdbc.Driver
... ...