From 67dfaf5ca1bff69839f507c8d1b3a4ab5612bc41 Mon Sep 17 00:00:00 2001
From: Elvis
Date: Mon, 23 Jul 2018 17:33:57 +0800
Subject: [PATCH] 提交代码
---
WebRoot/WEB-INF/jsp/sunvote/student/student_edit2.jsp | 89 +++++++++++++++++++++++++++++++----------------------------------------------------------
WebRoot/WEB-INF/jsp/sunvote/student/student_edit2_bakk.jsp | 162 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
WebRoot/WEB-INF/jsp/sunvote/student/uploadexcel.jsp | 3 ++-
WebRoot/WEB-INF/jsp/sunvote/teacher/creat_question.jsp | 10 ++++++----
WebRoot/WEB-INF/jsp/sunvote/teacher/teacher_main.jsp | 13 +++++++++----
WebRoot/static/files/Template.xls | Bin 0 -> 27136 bytes
WebRoot/static/js/control-604.js | 60 +++++++++++++++++++++++++++++++++++++++++-------------------
src/com/fh/controller/api/V1.java | 2 +-
src/com/fh/controller/sunvote/student/StudentController.java | 1 +
9 files changed, 253 insertions(+), 87 deletions(-)
create mode 100644 WebRoot/WEB-INF/jsp/sunvote/student/student_edit2_bakk.jsp
create mode 100644 WebRoot/static/files/Template.xls
diff --git a/WebRoot/WEB-INF/jsp/sunvote/student/student_edit2.jsp b/WebRoot/WEB-INF/jsp/sunvote/student/student_edit2.jsp
index 3ae6e1f..b3c9592 100644
--- a/WebRoot/WEB-INF/jsp/sunvote/student/student_edit2.jsp
+++ b/WebRoot/WEB-INF/jsp/sunvote/student/student_edit2.jsp
@@ -56,6 +56,15 @@ li input {
width: 100%;
}
+li select {
+ height: 30px;
+ line-height: 30px;
+ background: #f5f5f5;
+ border: 1px solid #ccc;
+ outline-style: none;
+ width: 100%;
+}
+
.btn {
width: 80%;
height: 40px;
@@ -89,26 +98,28 @@ input[type="text"],select {
- 学生姓名:
+ *学生姓名:
- 学籍号:
+ *学号:
-
+
- 学号:
+ *键盘ID:
-
+
+
性别:
@@ -119,53 +130,7 @@ input[type="text"],select {
-
- 组号:
-
-
-
-
-
- 签到码:
-
-
-
-
-
- 家长姓名:
-
-
-
-
-
- 家长手机:
-
-
-
-
-
- 键盘ID:
-
-
-
-
-
- 备注:
-
-
-
-
+
保存
@@ -201,6 +166,17 @@ input[type="text"],select {
$("#NAME").focus();
return false;
}
+
+ if ($("#NUMBER").val() == "") {
+ $("#NUMBER").tips({
+ side : 3,
+ msg : '请输入学生姓名',
+ bg : '#AE81FF',
+ time : 2
+ });
+ $("#NUMBER").focus();
+ return false;
+ }
if ($("#KEYPAD_ID").val() == ""
|| $("#KEYPAD_ID").val().length != 10) {
@@ -221,10 +197,7 @@ input[type="text"],select {
$(function() {
//日期框
- $('.date-picker').datepicker({
- autoclose : true,
- todayHighlight : true
- });
+
});
+
+
+
+
+
+
+ <%@ include file="../../system/index/foot.jsp"%>
+
+
+
+
+
+
+
+
diff --git a/WebRoot/WEB-INF/jsp/sunvote/student/student_edit2_bakk.jsp b/WebRoot/WEB-INF/jsp/sunvote/student/student_edit2_bakk.jsp
new file mode 100644
index 0000000..5e77d7d
--- /dev/null
+++ b/WebRoot/WEB-INF/jsp/sunvote/student/student_edit2_bakk.jsp
@@ -0,0 +1,162 @@
+<%@ 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+"/";
+%>
+
+
+