📄 updateexaminee.jsp
字号:
<%@ page language="java"
import="java.util.*,edu.yinhe.mis.vo.*,edu.yinhe.system.common.GlobalNames"
pageEncoding="UTF-8"%>
<%@ page buffer="16kb"%>
<jsp:directive.page import="edu.yinhe.mis.vo.ExamineeVO" />
<jsp:directive.page import="edu.yinhe.mis.dto.AssessDTO" />
<jsp:directive.page import="javax.servlet.http.*" />
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<%
String path = request.getContextPath();
%>
<HTML>
<HEAD>
<TITLE>考试管理</TITLE>
<META http-equiv=Content-Type content="text/html; charset=UTF-8">
<LINK href="../css/general.css" type=text/css rel=stylesheet>
<LINK href="../css/main.css" type=text/css rel=stylesheet>
<SCRIPT src="<%=path%>/admins/js/transport.js" type=text/javascript></SCRIPT>
<SCRIPT src="<%=path%>/admins/js/common.js" type=text/javascript></SCRIPT>
<SCRIPT src="<%=path%>/admins/js/utils.js" type=text/javascript></SCRIPT>
<SCRIPT src="<%=path%>/admins/js/listtable.js" type=text/javascript></SCRIPT>
<SCRIPT src="<%=path%>/admins/js/login.js" type=text/javascript></SCRIPT>
<META content="MSHTML 6.00.2900.3243" name=GENERATOR>
<script type="text/javascript">
function createHttpRequest(){
if(window.ActiveXObject){
xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
}else if(window.XMLHttpRequest){
xmlHttp=new XMLHttpRequest();
}
}
function getCheck(){
var objectName=document.all.objectname.value;
createHttpRequest();
xmlHttp.onreadystatechange=processCheck;
xmlHttp.open("GET","examinee.html?method=getCheck&s="+objectName,"true");
xmlHttp.send(null);
}
function processCheck(){
if(xmlHttp.readyState==4){
if(xmlHttp.status==200){
result=xmlHttp.responseText.split(":");
while(document.all.checkid.options.length>0){
document.all.checkid.removeChild(document.all.checkid.childNodes[0]);
}
for(i=0;i<result.length;i++){
option=document.createElement("OPTION");
option.text="第"+result[i].charAt(0)+"考场";
option.value=result[i].charAt(0);
document.getElementById("checkid").options.add(option);
}
}
}
}
function clearText(t){
t.value="";
}
function check(t){
if(t.subject2.value==""){
alert("请输入科目!");
return false;
}
if(t.check2.value==""){
alert("请输入考场!");
return false;
}
}
</script>
</HEAD>
<BODY>
<div id="closeshow" style="display: none;">
<div id="closewindow">
<div class="msg_block">
<iframe id="login_frame" name="login_frame" src="" frameborder="0"
marginheight="0" marginwidth="0" scrolling="no"
allowTransparency="true"></iframe>
</div>
</div>
<div id="graydiv"></div>
</div>
<%
ExamineeVO examineeVO = (ExamineeVO) request
.getAttribute("examineeVO");
if (examineeVO == null) {
response
.sendRedirect("/yhmis/edu/yinhe/mis/control/QueryExamineeAction?method=query");
}
%>
<H1>
<SPAN>银河管理中心 - 评卷管理 </SPAN>
</H1>
<DIV class=form-div>
</DIV>
<!-- start goods list -->
<DIV class=list-div id=listDiv>
<form action="examinee.html?method=updateExaminee" method=post
onsubmit="return check(this)">
<TABLE cellSpacing=1 cellPadding=3>
<tr>
<TD align="center">
<input type="hidden" name=id value="<%=examineeVO.getID()%>">
</TD>
</tr>
<tr>
<td align="right" width="450px">
考生姓名:
</td>
<TD align="left">
<%=examineeVO.getName()%>
</TD>
</tr>
<tr>
<td align="right">
考 号:
</td>
<TD align="left">
<%=examineeVO.getExam_NO()%>
</TD>
</tr>
<tr>
<td align="right">
密 码:
</td>
<TD align="left">
<%=examineeVO.getPassword()%>
</TD>
</tr>
<tr>
<td align="right">
考试科目:
</td>
<TD align="left">
<select name=objectname id=objectname onchange="getCheck()">
<%
ArrayList alist = (ArrayList) request
.getAttribute("objectNameList");
if (alist != null) {
Iterator it = alist.iterator();
while (it.hasNext()) {
CheckInfoVO checkInfoVO = (CheckInfoVO) it.next();
if (checkInfoVO.getObject_name().equals(
examineeVO.getObject_name())) {
%>
<option value=<%=checkInfoVO.getObject_name()%>
selected="selected"><%=checkInfoVO.getObject_name()%></option>
<%
} else {
%>
<option value=<%=checkInfoVO.getObject_name()%>><%=checkInfoVO.getObject_name()%></option>
<%
}
}
}
%>
</select>
</TD>
</tr>
<tr>
<td align="right">
考 场:
</td>
<TD align="left">
<select id=checkid name=checkid>
<option value=<%=examineeVO.getCheck_ID() %>>第<%=examineeVO.getCheck_ID() %>考场</option>
</select>
</TD>
</tr>
<tr>
<TD align="right">
<input type="submit" value="确定">
</TD>
<TD align="left">
<input type="reset" value="重置">
</TD>
</tr>
</TABLE>
</form>
<!-- end goods list -->
</DIV>
<DIV id=footer>
<BR>
版权所有 @2005-2007 湖北银河软件开发有限公司,并保留所有权利。
</DIV>
</BODY>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -