<%@page contentType="text/html;charset=gb2312"%>
<%@taglib uri="/tags/struts-html" prefix="html" %>
<%@taglib uri="/tags/struts-bean" prefix="bean"%>
<%@taglib uri="/tags/struts-logic" prefix="logic"%>
<html:html>
<head>
<title>北京五岳管理系统</title>
<html:base/>
<%-- 共通样式表导入 --%>
<link rel="stylesheet" href="../css.css" type="text/css">
<%-- 共通javascript导入 --%>
<%@ include file="../WyJavaScript.jsp"%>
<%-- javascript时间选择 --%>
<SCRIPT Language='JavaScript' src='../calendar.js'></SCRIPT>
<script language="javascript" type="text/javascript">
<!--
<%--输入检查--%>
function checkInput(){
if(document.forms[0].txt_classId.value == ""){
alert("班级号不能为空!");
return false;
}
if(document.forms[0].lst_teacherNo.value == ""){
alert("请选择教师名和教师号");
return false;
}
//开始日期
var dateFrom = document.forms[0].txt_classFromDate.value;
//终了日期
var dateTo = document.forms[0].txt_classToDate.value;
//结合验证
dateCheck=TwoDateValidate(dateFrom,dateTo);
if(false==dateCheck){
return false;
}
//开始小时时间
var timeHFrom = document.forms[0].txt_classFromTimeH.value;
//强制转换为整数
timeHFrom = parseInt(timeHFrom)
//开始分钟时间
var timeMFrom = document.forms[0].txt_classFromTimeM.value;
//终了小时时间
var timeHTo = document.forms[0].txt_classToTimeH.value;
//强制转换为整数
timeHTo = parseInt(timeHTo)
//终了分钟时间
var timeMTo = document.forms[0].txt_classToTimeM.value;
if(timeHFrom == timeHTo) {
if(timeMFrom > timeMTo) {
alert("结束时间要大于开始时间!");
document.forms[0].txt_classToTimeM.focus();
return false;
}
}
if(timeHFrom > timeHTo){
alert("结束时间要大于开始时间!!");
document.forms[0].txt_classToTimeH.focus();
return false;
}
if(document.forms[0].txt_classInfo.value == ""){
alert("教学内容不能为空!");
return false;
}
return true ;
}
<%--分离教师信息变量--%>
function teacherInfoDevide(){
var index = window.document.forms[0].lst_teacherNo.selectedIndex;
document.forms[0].lst_teacherName.value = document.forms[0].teacherName[index-1].value ;
}
-->
</script>
</head>
<BODY>
<%-- 共通表头导入 --%>
<html:form action = "/classInputAction.do"><HR align="center" />
<TABLE width="100%" class="tab_table">
<TBODY>
<TR class="no_tab_line_tr">
<TD class="no_tab_td" width="10%" align="center"></TD>
<TD class="no_tab_td" width="10%" align="center"></TD>
<TD class="no_tab_td" width="10%" align="center"></TD>
<TD class="no_tab_td" width="10%" align="center"></TD>
<TD class="no_tab_td" width="10%" align="center"></TD>
<TD class="no_tab_td" width="10%" align="center"></TD>
<TD class="no_tab_td" width="10%" align="center"></TD>
<TD class="no_tab_td" width="10%" align="center"></TD>
<TD class="no_tab_td" width="10%" align="center"></TD>
<TD class="no_tab_td" width="10%" align="center"></TD>
</TR>
<TR>
<TD colspan="10" class="no_tab_main_td">
<TABLE class="lower_table" border="0" width="100%">
<TBODY>
<TR>
<TD colspan="1">
<TABLE class="raise_panel_line_table" border="0" width="100%">
<TBODY>
<TR>
<%--身份证号--%>
<TD class="title_normal_td" colspan="2">身份证号:</TD>
<TD colspan="6" class="normal_cell_td" >
<jsp:setProperty name="studentInitForm" property="txt_studentIdCardNo"/>
<html:text name="studentInitForm" property="txt_studentIdCardNo"/>
</TD>
</TR>
<TR>
<%--姓名--%>
<TD width="15%" class="title_normal_td" colspan="2" >姓名: </TD>
<TD colspan="6" class="normal_cell_td" >
<html:text name="studentInitForm" property="txt_studentName"/> </TD>
</TR>
<TR>
<%--性别--%>
<TD width="15%" class="title_normal_td" colspan="2">性别:</TD>
<TD width="85%" nowrap colspan="6" class="normal_cell_td" >
<html:select name="studentInitForm" property="st_studentSex">
<OPTION value="0" selected>男</OPTION>
<OPTION value="1">女</OPTION>
</html:select>
</td></TR>
<TR>
<TD class="title_normal_td" colspan="2">出生年月日:</TD>
<TD colspan="6" class="normal_cell_td" >
<html:text name="studentInitForm" property="txt_studentBirth" size="16" readonly="true"/>
<INPUT type="button" name="" class="default_button" value="选择" onClick="calendar(txt_studentBirth)" />
</TD>
</TR>
<TR>
<%--学校及专业--%>
<TD width="15%" class="title_normal_td" rowspan="2" >学校及专业:</TD>
<TD width="15%" class="title_normal_td" >学校:</TD>
<TD colspan="6" class="normal_cell_td">
<html:text name="studentInitForm" property="txt_studentSchool"/>
</TD>
</TR>
<TR>
<%--专业--%>
<TD width="15%" class="title_normal_td" >专业:</TD>
<TD colspan="6" class="normal_cell_td">
<html:text name="studentInitForm" property="txt_studentSpec"/>
</TD>
</TR>
<TR>
<%--联系电话--%>
<TD class="title_normal_td" colspan="2">联系电话:</TD>
<TD colspan="6" class="normal_cell_td" >
<html:text name="studentInitForm" property="txt_studentTel"/>
</TD>
</TR>
<TR>
<%--住址--%>
<TD class="title_normal_td" colspan="2">住址:</TD>
<TD colspan="6" class="normal_cell_td" >
<html:text name="studentInitForm" property="txt_studentAdd"/>
</TD>
</TR>
<TR>
<%--职业测试成绩--%>
<TD class="title_normal_td" colspan="2">职业测试成绩:</TD>
<TD colspan="6" class="normal_cell_td" >
<html:text name="studentInitForm" property="txt_studentPTest"/>
</TD>
</TR>
<TR>
<%--课程班号1--%>
<TD width="10%" class="title_normal_td" colspan="2">课程班号1:</TD>
<TD colspan="6" class="normal_cell_td" >
<html:select name="studentInitForm" property="lst_studentClass1">
<html:option value=""><bean:write name="studentInitForm" property="lst_studentClass1"/> </html:option>
</html:select>
</TD>
</TR>
<TR>
<%--课程班号2--%>
<TD class="title_normal_td" colspan="2">课程班号2:</TD>
<TD colspan="6" class="normal_cell_td" >
<%-- <html:select property="lst_studentClass2">
<option value=""><请选择></option>
<html:optionsCollection name="" value="" label=""/>
</html:select> --%>
</TD>
</TR>
<TR>
<%--分配情况--%>
<TD class="title_normal_td" colspan="2">分配情况:</TD>
<TD colspan="6" class="normal_cell_td" >
<%-- <html:select property="txt_studentArrange">
<html:option value="">已分配</html:option>
<html:option value="">未分配</html:option>
</html:select> --%>
</TD>
</TR>
</TBODY>
</TABLE>
</TD>
</TR>
</TBODY>
</TABLE>
</TD>
</TR>
</TBODY>
</TABLE>
<HR align="center" />
<TABLE class="footer_table" border="0" width="100%">
<TBODY>
<TR>
<TD class="header_button_default_td" colspan="" nowrap>
</TD>
<TD class="header_button_default_td" colspan="" nowrap align="right">
<INPUT type="button" name="button01" value="保存" class="header_button" οnclick="openMainWindow('studentChange.html');" />
<INPUT type="button" name="button03" value="返回" class="header_button" οnclick="openMainWindow('studentSearch.html');" />
</TD>
</TR>
</TBODY>
</TABLE>
</html:form>
</BODY>
</html:html>