|
@@ -40,7 +40,7 @@
|
|
|
</c:forEach>
|
|
|
</select>
|
|
|
<label>任课老师:</label>
|
|
|
- <input type="text" name="teacherName" value="${query.teacherName}" maxlength="10" class="input-small"/>
|
|
|
+ <input type="text" name="teacherName" id="teacherName" value="${query.teacherName}" maxlength="10" class="input-small"/>
|
|
|
|
|
|
<input id="btnSubmit" class="btn btn-primary" type="button" value="查询" onclick="goSearch()"/>
|
|
|
|
|
@@ -202,8 +202,9 @@ $("#export-button").click(function(){
|
|
|
}
|
|
|
|
|
|
function redirect2Class(url, name, examId, subjectCode) {
|
|
|
- url = url + "?teacherName=" + encodeURIComponent(name) + "&examId=" + examId + "&subjectCode=" + subjectCode;
|
|
|
- location.href = url;
|
|
|
+ $("#teacherName").attr("value",name);
|
|
|
+ $("#searchForm").attr("action","${ctx}/admin/exam/reportSubjectTeacherClass");
|
|
|
+ $("#searchForm").submit();
|
|
|
}
|
|
|
|
|
|
function page(n, s) {
|