From 0e4da37e059a7eb13219c8b414bd6900fbd25073 Mon Sep 17 00:00:00 2001 From: Elvis Date: Wed, 2 Jan 2019 17:04:43 +0800 Subject: [PATCH] 学校管理员界面 --- WebRoot/WEB-INF/jsp/sunvote/admin/admin_main.jsp | 8 +++++++- WebRoot/WEB-INF/jsp/sunvote/coursemanagement/coursemanagement_list2.jsp | 8 ++++++-- WebRoot/WEB-INF/jsp/sunvote/grade/grade_list2.jsp | 123 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ WebRoot/WEB-INF/jsp/sunvote/paper/en_paper_list2.jsp | 8 ++++---- WebRoot/WEB-INF/jsp/sunvote/sclass/sclass_edit2.jsp | 195 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ WebRoot/WEB-INF/jsp/sunvote/sclass/sclass_list2.jsp | 52 +++++++++++++++++++++++++++++++++++++++++++++++++++- WebRoot/WEB-INF/jsp/sunvote/student/en_student_edit2.jsp | 8 ++++---- WebRoot/WEB-INF/jsp/sunvote/student/en_student_list2.jsp | 2 +- WebRoot/WEB-INF/jsp/sunvote/subject/subject_edit2.jsp | 90 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ WebRoot/WEB-INF/jsp/sunvote/subject/subject_list2.jsp | 59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++----- WebRoot/WEB-INF/jsp/sunvote/teacher/en_creat_question.jsp | 4 ++-- WebRoot/WEB-INF/jsp/sunvote/teacher/en_paper_view.jsp | 4 ++-- WebRoot/WEB-INF/jsp/sunvote/teacher/en_paper_view2.jsp | 2 +- WebRoot/WEB-INF/jsp/sunvote/teacher/en_stduent_report.jsp | 16 ++++++++-------- WebRoot/WEB-INF/jsp/sunvote/teacher/en_teach_paper.jsp | 4 ++-- WebRoot/WEB-INF/jsp/sunvote/teacher/en_teacher_main.jsp | 8 ++++---- WebRoot/WEB-INF/jsp/sunvote/teacher/en_teacher_report_1.jsp | 20 ++++++++++---------- WebRoot/WEB-INF/jsp/sunvote/teacher/en_teacher_report_test.jsp | 4 ++-- WebRoot/WEB-INF/jsp/sunvote/teacher/en_test_list.jsp | 4 ++-- WebRoot/WEB-INF/jsp/sunvote/teacher/teacher_list2.jsp | 4 ++-- WebRoot/static/js/en_control-604.js | 24 ++++++++---------------- WebRoot/static/js/en_control1.js | 10 +++++----- WebRoot/static/js/en_paper_view.js | 4 ++-- WebRoot/static/js/en_paper_view2.js | 6 +++--- WebRoot/static/js/en_set_question.js | 6 +++--- WebRoot/static/js/en_teach_paper.js | 4 ++-- WebRoot/static/js/remove.js | 2 +- resources/dbconfig.properties | 2 +- resources/mybatis1/sunvote/SubjectMapper.xml | 20 ++++++++++++++++++++ src/com/fh/controller/sunvote/grade/GradeController.java | 25 +++++++++++++++++++++++++ src/com/fh/controller/sunvote/schoolgradesubject/SchoolGradeSubjectController.java | 11 +++++------ src/com/fh/controller/sunvote/sclass/SClassController.java | 27 +++++++++++++++++++++++++++ src/com/fh/controller/sunvote/subject/SubjectController.java | 41 +++++++++++++++++++++++++++++++++++++++++ src/com/fh/service/sunvote/subject/SubjectManager.java | 2 ++ src/com/fh/service/sunvote/subject/impl/SubjectService.java | 9 +++++++++ 35 files changed, 724 insertions(+), 92 deletions(-) create mode 100644 WebRoot/WEB-INF/jsp/sunvote/grade/grade_list2.jsp create mode 100644 WebRoot/WEB-INF/jsp/sunvote/sclass/sclass_edit2.jsp create mode 100644 WebRoot/WEB-INF/jsp/sunvote/subject/subject_edit2.jsp diff --git a/WebRoot/WEB-INF/jsp/sunvote/admin/admin_main.jsp b/WebRoot/WEB-INF/jsp/sunvote/admin/admin_main.jsp index 2d39c28..6dfc0a6 100644 --- a/WebRoot/WEB-INF/jsp/sunvote/admin/admin_main.jsp +++ b/WebRoot/WEB-INF/jsp/sunvote/admin/admin_main.jsp @@ -151,7 +151,7 @@
  • -

    年级设置

    +

    年级设置

  • 年级升级

    @@ -249,6 +249,12 @@ window.top.loading.show(); //} } + + function grade(school_id){ + var path = "../grade/listcs.do?school_id=" + school_id ; + $("#mainFrame").attr('src',path); + window.top.loading.show(); + } function coursemanager(school_id){ var path = "../coursemanagement/listcs.do?school_id=" + school_id ; diff --git a/WebRoot/WEB-INF/jsp/sunvote/coursemanagement/coursemanagement_list2.jsp b/WebRoot/WEB-INF/jsp/sunvote/coursemanagement/coursemanagement_list2.jsp index cb5693b..db812a6 100644 --- a/WebRoot/WEB-INF/jsp/sunvote/coursemanagement/coursemanagement_list2.jsp +++ b/WebRoot/WEB-INF/jsp/sunvote/coursemanagement/coursemanagement_list2.jsp @@ -86,8 +86,12 @@
  • -

    *No.:

    +

    *Student ID:

    + maxlength="255" placeholder="please input the Student ID" title="Student ID" />
  • @@ -118,8 +118,8 @@ input[type="text"],select {
  • diff --git a/WebRoot/WEB-INF/jsp/sunvote/student/en_student_list2.jsp b/WebRoot/WEB-INF/jsp/sunvote/student/en_student_list2.jsp index fd4c5b0..38a144e 100644 --- a/WebRoot/WEB-INF/jsp/sunvote/student/en_student_list2.jsp +++ b/WebRoot/WEB-INF/jsp/sunvote/student/en_student_list2.jsp @@ -130,7 +130,7 @@ }); function del(Id){ - window.top.remove.init({"title":"Delete","func":function(success){ + window.top.remove.init({"title":"Delete","ok":"Ok","cancel":"Cancel","func":function(success){ if(success){ var url = "<%=basePath%>student/delete.do?ID="+Id+"&tm="+new Date().getTime(); window.top.loading.show(); diff --git a/WebRoot/WEB-INF/jsp/sunvote/subject/subject_edit2.jsp b/WebRoot/WEB-INF/jsp/sunvote/subject/subject_edit2.jsp new file mode 100644 index 0000000..67d0153 --- /dev/null +++ b/WebRoot/WEB-INF/jsp/sunvote/subject/subject_edit2.jsp @@ -0,0 +1,90 @@ +<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> +<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> +<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%> +<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %> +<% + String path = request.getContextPath(); + String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; +%> + + + + + + + + <%@ include file="../../system/index/top.jsp"%> + + + + + +
    + +
    +
    +
    +
    +
    + + + +
    + + + + + + + + +
    科目名称: + +
    + 保存 + 取消 +
    +
    + + +
    + +
    + +
    + +
    +
    + +
    + + + + + <%@ include file="../../system/index/foot.jsp"%> + + + + + + + + + \ No newline at end of file diff --git a/WebRoot/WEB-INF/jsp/sunvote/subject/subject_list2.jsp b/WebRoot/WEB-INF/jsp/sunvote/subject/subject_list2.jsp index 6491773..ff15116 100644 --- a/WebRoot/WEB-INF/jsp/sunvote/subject/subject_list2.jsp +++ b/WebRoot/WEB-INF/jsp/sunvote/subject/subject_list2.jsp @@ -16,6 +16,7 @@ <%@ include file="../../system/index/top.jsp"%> +
    +
    @@ -46,7 +48,7 @@ 序号 中文名称 英文名称 - 备注 + 操作 @@ -57,7 +59,7 @@ - + @@ -68,7 +70,7 @@ value="${var.ID}" />${vs.index+1} ${var.CNAME} ${var.ENAME} - ${var.REMARK} + @@ -83,8 +85,12 @@