|
@@ -16,6 +16,14 @@
|
|
<a href="${ctx}/admin/exam-param/student/template">下载模板</a>
|
|
<a href="${ctx}/admin/exam-param/student/template">下载模板</a>
|
|
</form>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
|
|
+ <div id="breachImportBox" class="hide">
|
|
|
|
+ <form id="breachImportForm" action="${ctx}/admin/exam-param/student/breachImport" method="post" enctype="multipart/form-data"
|
|
|
|
+ style="padding-left:20px;text-align:center;" class="form-search" onsubmit="loading('正在导入,请稍等...');"><br/>
|
|
|
|
+ <input id="breachUploadFile" name="file" type="file" style="width:330px"/><br/><br/>
|
|
|
|
+ <input id="breachBtnImportSubmit" class="btn btn-primary" type="submit" value=" 导 入 "/>
|
|
|
|
+ <a href="${ctx}/admin/exam-param/student/breachTemplate">下载模板</a>
|
|
|
|
+ </form>
|
|
|
|
+ </div>
|
|
<form id="searchForm" action="${ctx}/admin/exam-param/student" method="post" class="breadcrumb form-search">
|
|
<form id="searchForm" action="${ctx}/admin/exam-param/student" method="post" class="breadcrumb form-search">
|
|
<input type="hidden" id="pageNumber" name="pageNumber" value="${query.pageNumber }"/>
|
|
<input type="hidden" id="pageNumber" name="pageNumber" value="${query.pageNumber }"/>
|
|
<input type="hidden" id="pageSize" name="pageSize" value="${query.pageSize}"/>
|
|
<input type="hidden" id="pageSize" name="pageSize" value="${query.pageSize}"/>
|
|
@@ -23,16 +31,16 @@
|
|
<label>姓名</label>
|
|
<label>姓名</label>
|
|
<input type="text" name="name" value="${query.name}" maxlength="10" class="input-mini"/>
|
|
<input type="text" name="name" value="${query.name}" maxlength="10" class="input-mini"/>
|
|
<label>准考证号</label>
|
|
<label>准考证号</label>
|
|
- <input type="text" name="examNumber" value="${query.examNumber}" maxlength="50" class="input-small"/>
|
|
|
|
|
|
+ <input type="text" name="examNumber" value="${query.examNumber}" maxlength="50" class="input-mini"/>
|
|
<label>学号</label>
|
|
<label>学号</label>
|
|
- <input type="text" name="studentCode" value="${query.studentCode}" maxlength="30" class="input-small"/>
|
|
|
|
- <label>学习中心</label>
|
|
|
|
- <select class="input-large" id="campusName" name="campusName">
|
|
|
|
- <option value="">请选择...</option>
|
|
|
|
- <c:forEach items="${campusList }" var="campus">
|
|
|
|
- <option value="${campus}" <c:if test="${query.campusName eq campus }">selected</c:if>>${campus}</option>
|
|
|
|
- </c:forEach>
|
|
|
|
- </select>
|
|
|
|
|
|
+ <input type="text" name="studentCode" value="${query.studentCode}" maxlength="30" class="input-small"/>
|
|
|
|
+ <label>专业类型</label>
|
|
|
|
+ <select class="input-small" id="subjectCategory" name="subjectCategory">
|
|
|
|
+ <option value="">请选择</option>
|
|
|
|
+ <c:forEach items="${categoryList }" var="category">
|
|
|
|
+ <option value="${category}" <c:if test="${query.subjectCategory eq category }">selected</c:if>>${category}</option>
|
|
|
|
+ </c:forEach>
|
|
|
|
+ </select>
|
|
<label>科目</label>
|
|
<label>科目</label>
|
|
<select class="input-large" id="subjectCode" name="subjectCode">
|
|
<select class="input-large" id="subjectCode" name="subjectCode">
|
|
<option value="">请选择</option>
|
|
<option value="">请选择</option>
|
|
@@ -40,7 +48,6 @@
|
|
<option value="${subject.code }" <c:if test="${query.subjectCode eq subject.code }">selected</c:if>>${subject.code}-${subject.name}</option>
|
|
<option value="${subject.code }" <c:if test="${query.subjectCode eq subject.code }">selected</c:if>>${subject.code}-${subject.name}</option>
|
|
</c:forEach>
|
|
</c:forEach>
|
|
</select>
|
|
</select>
|
|
- <br><br>
|
|
|
|
<label>层次</label>
|
|
<label>层次</label>
|
|
<select class="input-small" id="subjectLevel" name="subjectLevel">
|
|
<select class="input-small" id="subjectLevel" name="subjectLevel">
|
|
<option value="">请选择</option>
|
|
<option value="">请选择</option>
|
|
@@ -48,13 +55,15 @@
|
|
<option value="${level}" <c:if test="${query.subjectLevel eq level }">selected</c:if>>${level}</option>
|
|
<option value="${level}" <c:if test="${query.subjectLevel eq level }">selected</c:if>>${level}</option>
|
|
</c:forEach>
|
|
</c:forEach>
|
|
</select>
|
|
</select>
|
|
- <label>专业类型</label>
|
|
|
|
- <select class="input-small" id="subjectCategory" name="subjectCategory">
|
|
|
|
- <option value="">请选择</option>
|
|
|
|
- <c:forEach items="${categoryList }" var="category">
|
|
|
|
- <option value="${category}" <c:if test="${query.subjectCategory eq category }">selected</c:if>>${category}</option>
|
|
|
|
- </c:forEach>
|
|
|
|
- </select>
|
|
|
|
|
|
+ <br><br>
|
|
|
|
+ <label>学习中心</label>
|
|
|
|
+ <select class="input-large" id="campusName" name="campusName">
|
|
|
|
+ <option value="">请选择...</option>
|
|
|
|
+ <c:forEach items="${campusList }" var="campus">
|
|
|
|
+ <option value="${campus}" <c:if test="${query.campusName eq campus }">selected</c:if>>${campus}</option>
|
|
|
|
+ </c:forEach>
|
|
|
|
+ </select>
|
|
|
|
+
|
|
|
|
|
|
<label>状态</label>
|
|
<label>状态</label>
|
|
<select id="upload" name="upload" class="input-small">
|
|
<select id="upload" name="upload" class="input-small">
|
|
@@ -67,6 +76,11 @@
|
|
<option value="1" <c:if test="${query.absent!=null && query.absent==true}">selected</c:if>>缺考</option>
|
|
<option value="1" <c:if test="${query.absent!=null && query.absent==true}">selected</c:if>>缺考</option>
|
|
<option value="0" <c:if test="${query.absent!=null && query.absent==false}">selected</c:if>>正常</option>
|
|
<option value="0" <c:if test="${query.absent!=null && query.absent==false}">selected</c:if>>正常</option>
|
|
</select>
|
|
</select>
|
|
|
|
+ <select id="breach" name="breach" class="input-small">
|
|
|
|
+ <option value="">不限</option>
|
|
|
|
+ <option value="1" <c:if test="${query.breach!=null && query.breach==true}">selected</c:if>>违纪</option>
|
|
|
|
+ <option value="0" <c:if test="${query.breach!=null && query.breach==false}">selected</c:if>>正常</option>
|
|
|
|
+ </select>
|
|
<label>签到表编号</label>
|
|
<label>签到表编号</label>
|
|
<input type="text" name="packageCode" value="${query.packageCode}" maxlength="30" class="input-small"/>
|
|
<input type="text" name="packageCode" value="${query.packageCode}" maxlength="30" class="input-small"/>
|
|
<label>批次编号</label>
|
|
<label>批次编号</label>
|
|
@@ -78,6 +92,7 @@
|
|
<c:if test="${query.totalCount>0 && query.totalCount<=10000}">
|
|
<c:if test="${query.totalCount>0 && query.totalCount<=10000}">
|
|
<input id="export-button" class="btn" type="button" value="导出"/>
|
|
<input id="export-button" class="btn" type="button" value="导出"/>
|
|
</c:if>
|
|
</c:if>
|
|
|
|
+ <input id="breachBtnImport" class="btn" type="button" value="违纪名单导入"/>
|
|
<!-- <input id="clear-button" class="btn btn-danger" type="button" value="清空"/> -->
|
|
<!-- <input id="clear-button" class="btn btn-danger" type="button" value="清空"/> -->
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</form>
|
|
@@ -96,6 +111,7 @@
|
|
<th>批次编号</th>
|
|
<th>批次编号</th>
|
|
<th>签到表编号</th>
|
|
<th>签到表编号</th>
|
|
<th>考试备注信息</th>
|
|
<th>考试备注信息</th>
|
|
|
|
+ <th>是否违纪</th>
|
|
<th>操作</th>
|
|
<th>操作</th>
|
|
</tr>
|
|
</tr>
|
|
</thead>
|
|
</thead>
|
|
@@ -124,7 +140,7 @@
|
|
<c:if test="${student.upload==false}">
|
|
<c:if test="${student.upload==false}">
|
|
未上传
|
|
未上传
|
|
</c:if>
|
|
</c:if>
|
|
-
|
|
|
|
|
|
+
|
|
</td>
|
|
</td>
|
|
<td>${student.batchCode}</td>
|
|
<td>${student.batchCode}</td>
|
|
<td>
|
|
<td>
|
|
@@ -136,6 +152,14 @@
|
|
</c:if>
|
|
</c:if>
|
|
</td>
|
|
</td>
|
|
<td>${student.examSite} ${student.examRoom}</td>
|
|
<td>${student.examSite} ${student.examRoom}</td>
|
|
|
|
+ <td >
|
|
|
|
+ <c:if test="${student.breach==true}">
|
|
|
|
+ <a href="##" onclick="updateBreach(${student.id});">违纪</a>
|
|
|
|
+ </c:if>
|
|
|
|
+ <c:if test="${student.breach==false}">
|
|
|
|
+ 正常
|
|
|
|
+ </c:if>
|
|
|
|
+ </td>
|
|
<td>
|
|
<td>
|
|
<a href="${ctx}/admin/exam-param/student/update?id=${student.id}">修改</a>
|
|
<a href="${ctx}/admin/exam-param/student/update?id=${student.id}">修改</a>
|
|
<a href="${ctx}/admin/exam-param/student/delete?id=${student.id}" onclick="return confirmx('确认要删除该考生吗?', this.href)">删除</a>
|
|
<a href="${ctx}/admin/exam-param/student/delete?id=${student.id}" onclick="return confirmx('确认要删除该考生吗?', this.href)">删除</a>
|
|
@@ -169,6 +193,10 @@ $("#btnImport").click(function(){
|
|
$.jBox($("#importBox").html(), {title:"导入数据", buttons:{"关闭":true},
|
|
$.jBox($("#importBox").html(), {title:"导入数据", buttons:{"关闭":true},
|
|
bottomText:"导入文件不能超过5M,仅允许导入“xls”或“xlsx”格式文件!"});
|
|
bottomText:"导入文件不能超过5M,仅允许导入“xls”或“xlsx”格式文件!"});
|
|
});
|
|
});
|
|
|
|
+$("#breachBtnImport").click(function(){
|
|
|
|
+ $.jBox($("#breachImportBox").html(), {title:"导入数据", buttons:{"关闭":true},
|
|
|
|
+ bottomText:"导入文件不能超过5M,仅允许导入“xls”或“xlsx”格式文件!"});
|
|
|
|
+});
|
|
$("#clear-button").click(function(){
|
|
$("#clear-button").click(function(){
|
|
if(confirm('确定要删除当前的所有考生?')){
|
|
if(confirm('确定要删除当前的所有考生?')){
|
|
$("#searchForm").attr("action","${ctx}/admin/exam-param/student/clear");
|
|
$("#searchForm").attr("action","${ctx}/admin/exam-param/student/clear");
|
|
@@ -193,6 +221,21 @@ function goSearch(){
|
|
$("#searchForm").submit();
|
|
$("#searchForm").submit();
|
|
return false;
|
|
return false;
|
|
}
|
|
}
|
|
|
|
+function updateBreach(studentId) {
|
|
|
|
+ top.$.jBox.confirm("确认要将该考生违纪重置为正常?","提示",function(v,h,f){
|
|
|
|
+ if(v=="ok"){
|
|
|
|
+ var url = '${ctx}/admin/exam-param/student/updateBreach?id='+studentId;
|
|
|
|
+ $.ajax( {
|
|
|
|
+ url : url,
|
|
|
|
+ type : "POST",
|
|
|
|
+ success : function(val) {
|
|
|
|
+ if(val.success){
|
|
|
|
+ window.location.href="${ctx}/admin/exam-param/student";
|
|
|
|
+ }
|
|
|
|
+ }})
|
|
|
|
+ }
|
|
|
|
+ });
|
|
|
|
+}
|
|
</script>
|
|
</script>
|
|
</body>
|
|
</body>
|
|
</html>
|
|
</html>
|