From 5690803e5ea90ec305a40b9311968bb0d34186f3 Mon Sep 17 00:00:00 2001 From: Elvis Date: Mon, 12 Nov 2018 14:36:54 +0800 Subject: [PATCH] 修改管理员部分显示页面 --- WebRoot/WEB-INF/jsp/sunvote/admin/admin_main.jsp | 20 ++++++-------------- WebRoot/WEB-INF/jsp/sunvote/coursemanagement/coursemanagement_list2.jsp | 20 ++++++++++++-------- WebRoot/WEB-INF/jsp/sunvote/sclass/sclass_list2.jsp | 4 ++-- resources/dbconfig.properties | 2 +- 4 files changed, 21 insertions(+), 25 deletions(-) diff --git a/WebRoot/WEB-INF/jsp/sunvote/admin/admin_main.jsp b/WebRoot/WEB-INF/jsp/sunvote/admin/admin_main.jsp index 32e0021..b56d79f 100644 --- a/WebRoot/WEB-INF/jsp/sunvote/admin/admin_main.jsp +++ b/WebRoot/WEB-INF/jsp/sunvote/admin/admin_main.jsp @@ -267,18 +267,14 @@ function chooseListClass(school_id,gradle_id){ var path = "../sclass/listcs.do?school_id=" + school_id + "&grade_id=" + gradle_id ; - if($("#mainFrame").attr('src') != (path)){ - $("#mainFrame").attr('src',path); - window.top.loading.show(); - } + $("#mainFrame").attr('src',path); + window.top.loading.show(); } function report(classId){ //window.open('<%=basePath%>report/report.do?role=admin&classid=' + classId); - //if($("#mainFrame").attr('src') != ('<%=basePath%>report/report.do?role=admin&classid=' + classId)){ $("#mainFrame").attr('src','<%=basePath%>report/report.do?role=admin&classid=' + classId); window.top.loading.show(); - //} } function report2(classId){ //window.open('<%=basePath%>report/report.do?classid=' + classId); @@ -307,19 +303,15 @@ $("#qingsongkao_paper").click(function (){ var path = "../paper/list4.do?school_id=" + schoolId ; //$(".content_r").html(''); - if($("#mainFrame").attr('src') != (path)){ - $("#mainFrame").attr('src',path); - window.top.loading.show(); - } + $("#mainFrame").attr('src',path); + window.top.loading.show(); }); $("#new_paper").click(function (){ var path = "../paper/list5.do?school_id=" + schoolId ; //$(".content_r").html(''); - if($("#mainFrame").attr('src') != (path)){ - $("#mainFrame").attr('src',path); - window.top.loading.show(); - } + $("#mainFrame").attr('src',path); + window.top.loading.show(); }); $("#jishice_paper").click(function (){ diff --git a/WebRoot/WEB-INF/jsp/sunvote/coursemanagement/coursemanagement_list2.jsp b/WebRoot/WEB-INF/jsp/sunvote/coursemanagement/coursemanagement_list2.jsp index 3bd36b6..722c5a9 100644 --- a/WebRoot/WEB-INF/jsp/sunvote/coursemanagement/coursemanagement_list2.jsp +++ b/WebRoot/WEB-INF/jsp/sunvote/coursemanagement/coursemanagement_list2.jsp @@ -19,19 +19,15 @@ href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet"> - -<%@ include file="../../system/index/top.jsp"%> - - +
- + id="Form" style="background:#fff;">
@@ -61,7 +57,7 @@
-
+
@@ -88,7 +84,15 @@
- +
diff --git a/WebRoot/WEB-INF/jsp/sunvote/sclass/sclass_list2.jsp b/WebRoot/WEB-INF/jsp/sunvote/sclass/sclass_list2.jsp index 6eb3b61..067e234 100644 --- a/WebRoot/WEB-INF/jsp/sunvote/sclass/sclass_list2.jsp +++ b/WebRoot/WEB-INF/jsp/sunvote/sclass/sclass_list2.jsp @@ -38,7 +38,7 @@
-
+
@@ -62,7 +62,7 @@ -
+
diff --git a/resources/dbconfig.properties b/resources/dbconfig.properties index 896903b..0a550a0 100644 --- a/resources/dbconfig.properties +++ b/resources/dbconfig.properties @@ -1,5 +1,5 @@ #数据源 1 -url:jdbc:mysql://47.107.98.47:3306/education?autoReconnect=true&failOverReadOnly=false&useUnicode=true&characterEncoding=utf8&characterSetResults=utf8 +url:jdbc:mysql://47.107.98.47:3306/education2?autoReconnect=true&failOverReadOnly=false&useUnicode=true&characterEncoding=utf8&characterSetResults=utf8 #url:jdbc:mysql://120.78.57.84:3306/education3?autoReconnect=true&failOverReadOnly=false&useUnicode=true&characterEncoding=utf8&characterSetResults=utf8 #url:jdbc:mysql://192.168.0.3:3306/education?autoReconnect=true&useUnicode=true&characterEncoding=utf8&characterSetResults=utf8 driverClassName:com.mysql.jdbc.Driver -- libgit2 0.21.4