- <%@ page contentType="text/html;charset=GBK" language="java" %>
- <%@ page import = "StudyNote.*" %>
- <%@ page import = "java.util.*" %>
- <%
- Vector v = (Vector)session.getAttribute(Constants.DEP_LIST_KEY);
- Dep dep = null;
- %>
- <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
- <LINK href="images/style.css" rel=stylesheet>
- <title></title>
- </head>
- <body>
- <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber1" bgcolor="#FFCC66">
- <tr>
- <td width="84%" bgcolor="#FFFFFF">
- <DIV align=left><B><FONT color=#ff9900>个人信息 </FONT></B></DIV>
- <html:form action="empAdd.do" method="post">
- <TABLE cellSpacing=0 borderColorDark=#cccccc cellPadding=0 width=540
- borderColorLight=#ffffff border=1>
- <TBODY>
- <TR>
- <TD style="text-align: left">
- <DIV align=center><FONT color=#ff9900><B><FONT
- size=2>姓 名*</FONT></B></FONT></DIV></TD>
- <TD style="text-align: left"><FONT size=2><INPUT name=name size="20"> </FONT></TD>
- <TD style="text-align: left">
- <DIV align=center><FONT color=#ff9900 size=2><B>学历 </B></FONT></DIV></TD>
- <TD style="text-align: left"><FONT size=2>
- <INPUT maxLength=18 name=degree size="20"> </FONT></TD></TR>
- <TR>
- <TD style="text-align: left">
- <DIV align=center><B><FONT color=#ff9900
- size=2>性 别*</FONT></B></DIV></TD>
- <TD style="text-align: left"><FONT size=2><INPUT type=radio CHECKED value=男 name=sex> 男 <INPUT
- type=radio value=女 name=sex> 女 </FONT></TD>
- <TD style="text-align: left">
- <DIV align=center><B><FONT color=#ff9900 size=2>出生日期* </FONT></B></DIV></TD>
- <TD style="text-align: left"><FONT size=2>
- <INPUT title=必须按照 yyyy/mm/dd 格式输入
- value=yyyy/mm/dd name=birthday size="20"> </FONT></TD></TR>
- <TR>
- <TD style="text-align: left" valign="top">
- <DIV align=center><font color="#FF9900"><b>联系方式</b></font></DIV></TD>
- <TD style="text-align: left"><FONT size=2><INPUT name=tel size="20"> </FONT></TD>
- </TR>
- </TBODY></TABLE>
- <P> </P>
- <DIV align=left><b><font color="#ff9900">部门</font></b></DIV>
- <TABLE cellSpacing=0 borderColorDark=#cccccc cellPadding=0 width=526
- borderColorLight=#ffffff border=1 height="248">
- <TBODY>
- <TR>
- <TD width=87 style="text-align: left" height="19">
- <DIV align=center><font size="2" color="#FF9900"><b>所在部门</b></font></DIV></TD>
- <TD width=447 style="text-align: left" height="19"><B><FONT size=2><SELECT name=depId>
- <%if(v != null ){
- for(int i = 0;i < v.size();i++)
- {
- dep = (Dep)v.get(i);
- %>
- <option value=<%=dep.getId()%>> <%=dep.getName()%></option>
- <%
- }
- }
- %>
- </SELECT>
- </FONT></B></TD></TR>
- <TR>
- <TD width=87 style="text-align: left" height="20">
- <DIV align=center><font size="2" color="#FF9900"><b>职务</b></font></DIV></TD>
- <TD width=447 style="text-align: left" height="20"><B><FONT size=2>
- <SELECT name=duty>
- <option>员工</option>
- <option>总经理</option>
- <option>主管</option>
- </SELECT></FONT></B></TD></TR>
- <TR>
- <TD colSpan=2 style="text-align: left" width="536" height="13"></TD></TR>
- <TR>
- <TD width=87 style="text-align: left" height="169">
- <P align=center><FONT color=#ff9900><B><FONT
- size=2>工作经历</FONT></B></FONT></P>
- <P align=center> </P></TD>
- <TD width=447 style="text-align: left" height="169">
- <p align="center">
- <textarea rows="10" name="exp" cols="61"></textarea></p>
- <p> </TD></TR>
- </TBODY></TABLE>
- <DIV align=left> </DIV>
- <P align=center><FONT size=2><INPUT type=submit value=提交> <INPUT type=reset value=重填> </FONT></P>
- <p> </td>
- </tr>
- </table>
- </html:form>
- </body>
- </html>