|
@@ -253,7 +253,7 @@
|
|
<td>${student.examRoom}</td>
|
|
<td>${student.examRoom}</td>
|
|
<td>
|
|
<td>
|
|
<c:if test="${web_user.schoolAdmin==true}">
|
|
<c:if test="${web_user.schoolAdmin==true}">
|
|
- <a href="${ctx}/admin/exam/student/update?id=${student.id}" id="update-btn">修改</a>
|
|
|
|
|
|
+ <a href="${ctx}/admin/exam/student/update?id=${student.id}" class="update-btn">修改</a>
|
|
<c:if test="${examType!='MULTI_MEDIA'}">
|
|
<c:if test="${examType!='MULTI_MEDIA'}">
|
|
|
|
|
|
<a href="${ctx}/admin/exam/student/delete?id=${student.id}" onclick="return confirmx('确认要删除该考生吗?', this.href)">删除</a>
|
|
<a href="${ctx}/admin/exam/student/delete?id=${student.id}" onclick="return confirmx('确认要删除该考生吗?', this.href)">删除</a>
|
|
@@ -382,16 +382,7 @@
|
|
});
|
|
});
|
|
}
|
|
}
|
|
|
|
|
|
- $('#update-btn').click(function () {
|
|
|
|
- var studentQuery = [];
|
|
|
|
- $('.studentQuery').each(function (i) {
|
|
|
|
- // var val = $(this).attr("value");
|
|
|
|
- // if(val!="" && val!=null && val!=undefined){
|
|
|
|
- /* var key= $(this).attr("name");
|
|
|
|
- var query={key:val};
|
|
|
|
- studentQuery.push(query); */
|
|
|
|
- // }
|
|
|
|
- });
|
|
|
|
|
|
+ $('.update-btn').click(function () {
|
|
localStorage.setItem("studentQuery", JSON.stringify($("#searchForm").serializeArray()));
|
|
localStorage.setItem("studentQuery", JSON.stringify($("#searchForm").serializeArray()));
|
|
});
|
|
});
|
|
</script>
|
|
</script>
|