📄 empeditor.jsp
字号:
<%@page contentType="text/html; charset=GBK"%>
<%@taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
<%@taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@taglib uri="/WEB-INF/tops.tld" prefix="tops"%>
<html:html>
<head>
<tops:includeCSS fileName="style"/>
<tops:includeCSS fileName="headstyle"/>
<tops:includeJs fileName="common"/>
<tops:includeJs fileName="datepicker"/>
<tops:includeJs fileName="validateForm"/>
<tops:includeJs fileName="keyCode"/>
<script type="text/javascript" language="javascript">
function getAlert(){
getNextWebControl("message!");
}
</script>
</head>
<body>
<html:form action="/actTopsAEmployee" method="post" enctype="multipart/form-data" onsubmit="checkClientForm()">
<tops:showPageFunction pageFunction="员工管理--编辑员工"/>
<tops:toolbar>
<tops:toolbutton caption="保存" image="page_save"/>
<tops:toolbutton caption="返回" image="arrow_undo" onClick="history.go(-1)"/>
</tops:toolbar>
<html:hidden property="emPhoto"/>
<html:hidden property="method"/>
<html:hidden property="id"/>
<table width="100%" border="0" cellpadding="0" cellspacing="1">
<tr>
<td colspan="8" align="center" nowrap class="head">基本信息</td>
</tr>
<tr>
<td align="center" nowrap width="10%" height="20" onclick="getAlert()">姓名:</td>
<td width="37%" height="20">
<tops:formEditor property="emName" tabsequence="1"/>
<tops:formSelector property="defaultDeptId">
<tops:formSelectOption value="" label="--请选择部门--"/>
<tops:formSelectOption listName="departmentlist" valueProperty="id" labelProperty="deptName"/>
</tops:formSelector>
</td>
<td align="center" nowrap width="10%">性别:</td>
<td width="31%">
<html:select property="emGender">
<html:option value="男">男</html:option>
<html:option value="女">女</html:option>
</html:select>
</td>
<td width="12%" height="132" rowspan="8" align="center" valign="middle" style="absolute">
<img id="img" width="94" height="132" align="top" alt="照片" name="imageView" src="<%=request.getContextPath()%>/upload/<bean:write name="actfrmTopsAEmployee" property="emPhoto"/>"/>
</td>
</tr>
<tr>
<td align="center" nowrap>员工号:</td>
<td height="20">
<tops:formEditor property="emId" readonlymethods="modifyresult" width="10" valuetype="isEmail" attributename="员工号" required="true"/>
</td>
<td height=9 align="center" nowrap>出生日期:</td>
<td>
<tops:popDateEditor property="emBirthday"/>
</td>
</tr>
<tr>
<td height="20" align="center" nowrap>照片:</td>
<td height="10" colspan="3">
<input name="upload" type="file" style="width:100%" onChange="fileOnChanged()">
</td>
</tr>
<tr>
<td align="center" nowrap height="75">备注:</td>
<td colspan="3">
<tops:formEditor property="emRemark" type="textarea" other="style='width:100%;height:100%'"/>
</td>
</tr>
</table>
<table width="100%" border="0" cellpadding="3" cellspacing="1">
<tr align="center">
<td width="10%" height="20">办公电话:</td>
<td width="25%">
<tops:formEditor property="workTel" tabsequence="2"/>
</td>
<td width="10%">手机号码:</td>
<td width="25%">
<html:text property="homeTel"> </html:text>
</td>
<td width="10%">办公地点:</td>
<td width="25%">
<tops:formEditor property="workAddress" tabsequence="3"/>
</td>
</tr>
<tr align="center">
<td height="20">家庭地址:</td>
<td colspan="3">
<html:text property="homeAddress" style="width:95%"> </html:text>
</td>
<td>邮编:</td>
<td>
<html:text property="homePostalcode"> </html:text>
</td>
</tr>
<tr>
<td align="center" height="20">技术职务:</td>
<td>
<html:select property="emTechDegree">
<html:option value="初级">初级</html:option>
<html:option value="中级">中级</html:option>
<html:option value="副高">副高</html:option>
<html:option value="正高">正高</html:option>
<html:option value="其他">其他</html:option>
</html:select>
</td>
<td align="center">学历:</td>
<td>
<html:select property="emStudyhis">
<html:option value="小学">小学</html:option>
<html:option value="初中">初中</html:option>
<html:option value="高中">高中</html:option>
<html:option value="大学">大学</html:option>
<html:option value="研究生">研究生</html:option>
<html:option value="中专">中专</html:option>
<html:option value="大专">大专</html:option>
<html:option value="技校">技校</html:option>
<html:option value="职高">职高</html:option>
<html:option value="其它">其它</html:option>
</html:select>
</td>
<td align="center">学位:</td>
<td>
<html:select property="emStudydegree">
<html:option value="无">无</html:option>
<html:option value="本科">本科</html:option>
<html:option value="硕士">硕士</html:option>
<html:option value="博士">博士</html:option>
<html:option value="其它">其它</html:option>
</html:select>
</td>
</tr>
</table>
</html:form>
</body>
</html:html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -