📄 scoremodifylist.jsp
字号:
<%@ page contentType="text/html;charset=gb2312"%>
<%@ include file="/agt/public/jsp/top.jsp" %>
<% Object sessionRs = session.getAttribute("SCOREMAN-MODIFY-RESULTSET");
SysResultSet turnOrderRs = sessionRs == null ?null:(SysResultSet)sessionRs;
%>
<%@ include file="/agt/public/jsp/Order.jsp" %>
<!-- <title>评阅考卷列表页面 </title>-->
<form method="post" name="scoreForm1" action="/ScoreMan.do?opeType=8">
<table width="539" border="0" cellpadding="3" cellspacing="1" class="table-cs1">
<tr>
<td align="center" class="td-cs1">答卷人工号</td>
<td colspan="3" class="td-cs2">
<input name="replyer" type="text" class="input2" size="40"></td>
<td width="27%"><input name="search" type="image" src="/agt/public/images/search.gif" width="82" height="22" border="0" onmouseover="this.src='/agt/public/images/'+ this.name + '_2.gif';" onmouseout="this.src='/agt/public/images/'+ this.name + '.gif'"></td>
</tr>
</table>
</form>
<form method="post" name="scoreForm" action="/ScoreMan.do">
<%
String queryTerm = "&opeType=" + request.getParameter("opeType");
queryTerm += "&title=" + request.getParameter("title");
queryTerm += "&replyer=" + request.getParameter("replyer");
%>
<input type="hidden" name="opeType" value="<%=OperatorFlagCode.SCOREMAN_MODIFY%>">
<input type="hidden" name="opeTypeQuery" value="<%=request.getParameter("opeType")%>">
<input type="hidden" name="title" value="<%=request.getParameter("title")%>">
<input type="hidden" name="replyer" value="<%=request.getParameter("replyer")%>">
<input type="hidden" name="recordId" value="">
<input type="hidden" name="paperId" value="">
<input type="hidden" name="examName" value="">
<input type="hidden" name="replyStafffNo" value="">
<input type="hidden" name="examTime" value="">
<table width="539" height="35" border="0" cellpadding="3" cellspacing="1" class="table-cs1">
<tr class="td-cs1">
<td width="55%" height="25" align="center" nowrap> <a href="/agt/scoreman/ScoreModifyList.jsp?orderColum=3&orderFlag=<%=isOrderFlag%><%=queryTerm%>" class="lnk-cs1">考试名称
</a></td>
<td width="10%" height="25" align="center" nowrap> <a href="/agt/scoreman/ScoreModifyList.jsp?orderColum=1&orderFlag=<%=isOrderFlag%><%=queryTerm%>" class="lnk-cs1">答卷人
</a></td>
<td width="10%" height="25" align="center" nowrap> <a href="/agt/scoreman/ScoreModifyList.jsp?orderColum=4&orderFlag=<%=isOrderFlag%><%=queryTerm%>" class="lnk-cs1">提交时间
</a></td>
<td width="5%" height="25" align="center" nowrap> </td>
</tr>
<%
if( turnOrderRs != null && turnOrderRs.getMetaData().getRecordCount() != 0 )
{
//此处是用来显示结果
for(int i=(pageNum-1)*pageRecoder; turnOrderRs.setRecord(i)&&(i<pageNum*pageRecoder); i++)
{
//0:recordid,1:staffno,2:examid,3:title,4:examtime,5:paperid,6:cityid
%>
<tr class="td-cs2">
<td height="25" align="center" style="word-break:break-all"><%=turnOrderRs.getString(3) %></a></td>
<td height="25" align="center"><%=turnOrderRs.getString(1) %></td>
<td height="25" align="center"><%=turnOrderRs.getString(4) %></td>
<td height="25">
<input name="ping" type="image" onClick="scoreSubmit('<%=turnOrderRs.getString(0)%>','<%=turnOrderRs.getString(5)%>','<%=turnOrderRs.getString(3) %>','<%=turnOrderRs.getString(1) %>','<%=turnOrderRs.getString(4) %>');return false;" src="/agt/public/images/ping.gif" width="48" height="25" border="0" onMouseOver="this.src='/agt/public/images/'+ this.name + '_2.gif';" onMouseOut="this.src='/agt/public/images/'+ this.name + '.gif'"></td>
</tr>
<%
}
}
%>
</table>
</form>
<form method="post" name="changePageForm">
<table width="539" height="25" border="0" cellpadding="0" cellspacing="1">
<tr>
<td>总共有<font color="#FF0000"><%=recordCount%></font>条记录,<font color="#FF0000"><%=maxPage%></font>页</td>
<td>当前第<font color="#FF0000"><%=pageNum%></font>页</td>
<td><%if(pageNum != 1) {%><a href="/agt/scoreman/ScoreModifyList.jsp?pageNum=1&orderFlag=<%=isOrderFlag%><%=queryTerm%>">首页 </a><%} else {%>首页 <%}%></td>
<td><%if(pageNum != 1) {%><a href="/agt/scoreman/ScoreModifyList.jsp?pageNum=<%=frontPageNum%>&orderFlag=<%=isOrderFlag%><%=queryTerm%>">上一页 </a><%} else {%>上一页 <%}%></td>
<td ><%if(pageNum < maxPage) {%><a href="/agt/scoreman/ScoreModifyList.jsp?pageNum=<%=backPageNum%>&orderFlag=<%=isOrderFlag%><%=queryTerm%>">下一页 </a><%} else {%> 下一页<%}%></td>
<td><%if(pageNum < maxPage) {%><a href="/agt/scoreman/ScoreModifyList.jsp?pageNum=<%=maxPage%>&orderFlag=<%=isOrderFlag%><%=queryTerm%>">末页 </a><%} else {%>末页 <%}%>
</td>
<td>
<table width="113" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="44"> 跳转到 </td>
<td width="37">
<input name="pageNum" type="text" class="input1-2" size="3" onKeyPress="GoPageKeyPress();" <%if(maxPage < 2) { %> readonly <%}%>>
</td>
<td width="32">
<input name="go" type="image" onClick="changePageSubmit();return false;" <%if(maxPage < 2) { %> disabled <%}%> src="/agt/public/images/go.jpg" width="21" height="21" border="0" onMouseOver="this.src='/agt/public/images/'+ this.name + '_2.jpg';" onMouseOut="this.src='/agt/public/images/'+ this.name + '.jpg'"></td>
</tr>
</table>
</td>
</tr>
</table> </form>
<script src="/agt/public/js/scriptfuns.js" type="text/javascript"></script>
<script language="JavaScript">
function changePageSubmit()
{
var pageNum = document.changePageForm.pageNum;
if(pageNum==null || trim(pageNum.value)=="" || !isNumber(pageNum.value) )
{
alert("跳转到的页数输入有误,请重新输入!");
pageNum.focus();
return false;
}
var maxPage = <%=maxPage%>; //Order.jsp文件中已计算出maxPage
var goPageNum = parseInt(pageNum.value) ;
var maxNum = parseInt(maxPage) ;
if(goPageNum < 1 || goPageNum > maxNum)
{
alert("跳转到的页数参数输入范围不正确,请重新输入。");
pageNum.value = "";
pageNum.focus();
return;
}
document.changePageForm.action="/agt/scoreman/ScoreModifyList.jsp?orderFlag=<%=isOrderFlag%><%=queryTerm%>";
document.changePageForm.submit();
}
//提交评阅考卷
function scoreSubmit(recordId,paperId,examName,replyStafffNo,examTime)
{
document.scoreForm.recordId.value = recordId;
document.scoreForm.paperId.value = paperId;
document.scoreForm.examName.value = examName;
document.scoreForm.replyStafffNo.value = replyStafffNo;
document.scoreForm.examTime.value = examTime;
document.scoreForm.submit();
}
</script>
<%@ include file="/agt/public/jsp/bot.jsp" %>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -