📄 employeeform.jsp
字号:
<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%>
<%@ include file="/commons/taglibs.jsp" %>
<script language="javascript" src="js/calendar.js"></script>
<html:html>
<head>
<title>${CompanyName }${ProjectName }</title>
<%@ include file="/commons/meta.jsp" %>
</head>
<body class="bodycolor" topmargin="5" onload="document.form1.PROVIDER_NAME.focus();">
<table class="title1">
<tr>
<td class="Big"><img src="${ctx }/images/edit.gif" WIDTH="16" HEIGHT="16" align="absmiddle"><span class="big3"> 职工编辑</span>
</td>
</tr>
</table>
<br>
<table class="tablestyle1">
<html:form action="employee.do" method="post" >
<html:hidden property="p" value="save"/>
<html:hidden property="id" value="${employeeForm.id }"/>
<tr>
<td nowrap class="TableHeader" colspan="4" align="left">
职工基本信息:
</td>
</tr>
<tr>
<td nowrap class="TableData" width="25%">职工姓名: </td>
<td nowrap class="TableData" colspan="3" >
<html:text property="employeeName" size="20" maxlength="100" />
<font color="red"><html:errors property="employeeName"/></font>
</td>
</tr>
<tr>
<td nowrap class="TableData" width="25%">职工编号: </td>
<td nowrap class="TableData" width="25%">
<html:text property="employeeId" size="20" maxlength="100" />
<font color="red"><html:errors property="employeeId"/></font>
</td>
<td nowrap class="TableData" width="25%">性别: </td>
<td nowrap class="TableData" width="25%">
<html:select property="sex">
<html:option value="0" >男</html:option>
<html:option value="1" >女</html:option>
</html:select>
</td>
</tr>
<tr>
<td nowrap class="TableData">出生日期: </td>
<td nowrap class="TableData">
<html:text property="birthday" readonly="true" size="20" maxlength="100" />
<img src="images/calendar.gif" ondblclick="setday(birthday)"/>
<font color="red"><html:errors property="birthday"/></font>
</td>
<td nowrap class="TableData">部门: </td>
<td nowrap class="TableData" colspan="1">
<html:select property="deptId">
<html:option value="">---请选择---</html:option>
<html:options collection="depts" property="id" labelProperty="deptName"/>
</html:select>
<font color="red"><html:errors property="deptId"/></font>
</td>
</tr>
<tr>
<td nowrap class="TableData" >身份证号码:</td>
<td nowrap class="TableData">
<html:text property="cardId" size="20" maxlength="100" />
<font color="red"><html:errors property="cardId"/></font>
</td>
<td nowrap class="TableData">职务: </td>
<td nowrap class="TableData" colspan="1">
<html:select property="dutyId">
<html:option value="">---请选择---</html:option>
<html:options collection="dutys" property="id" labelProperty="dutyName"/>
</html:select>
<font color="red"><html:errors property="dutyId"/></font>
</td>
</tr>
<tr>
<td nowrap class="TableHeader" colspan="4" align="left">
职工联系方式1(电话):
</td>
</tr>
<tr>
<td nowrap class="TableData">手机: </td>
<td nowrap class="TableData" colspan="3">
<html:text property="mobilephone" size="20" maxlength="100" />
<font color="red"><html:errors property="mobilephone"/></font>
</td>
</tr>
<tr>
<td nowrap class="TableData">固定电话: </td>
<td nowrap class="TableData" colspan="3">
<html:text property="telephone" size="20" maxlength="100" />
</td>
</tr>
<tr>
<td nowrap class="TableHeader" colspan="4" align="left">
职工联系方式2(地址):
</td>
</tr>
<tr>
<td nowrap class="TableData">籍贯: </td>
<td nowrap class="TableData" colspan="3">
<html:textarea property="home" cols="57" rows="3" />
</td>
</tr>
<tr>
<td nowrap class="TableData">家庭住址: </td>
<td nowrap class="TableData" colspan="3">
<html:textarea property="address" cols="57" rows="3" />
<font color="red"><html:errors property="address"/></font>
</td>
</tr>
<tr>
<td nowrap class="TableControl" colspan="4" align="center">
<html:submit styleClass="BigButton" title="添加职工信息">确定</html:submit>
<html:reset styleClass="BigButton" title="重填">重填</html:reset>
</td>
</tr>
</html:form>
</table>
</body>
</html:html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -