<%@ page contentType="text/html; charset=utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ taglib prefix="cm" uri="/commons-tags" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>员工详细信息</title>
<link href="../resources/style/base.css" rel="stylesheet" type="text/css"/>
<style>
.note_true{
border:2px #FF0000 solid;
background-color:#FFDDDD;
}
</style>
<s:include value="../common/head.jsp" />
<script language="javascript" src="../code/vm/ExtCodeJs.htm"></script>
<script language="javascript" src="../resources/js/calendar/calendar.js"></script>
</head>

<body style="margin:0; padding:0; ">
<div class="body_form" style="width:98%; padding-top:5px;">
<s:include value="../common/body.jsp" />
<s:form action="emplInfoEdit" namespace="/employe" enctype="multipart/form-data" onsubmit="return checkForm(this)">

 <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr class="form_tr_min">
      <td align="right" valign="middle"><span class="required">•</span>工号：</td>
      <td valign="middle">
      	<s:textfield maxlength="50" name="emplInfo.emplNo" title="工号为必填项，且必须为数字。" cssStyle="width:180px;"/>
        <s:hidden name="emplInfo.id" />
		<s:hidden name="emplInfo.status.id" />      </td>
      <td width="12%" align="right" valign="middle"><span class="required">•</span>部门：</td>
      <td width="21%" valign="middle">
       <s:textfield name="emplInfo.emplOrg.name"  title="部门为必填项"  readonly="true" cssClass="find_input" onClick="codeTree('emplOrgTree',gi('eimpOrgId'),this)" cssStyle="width:180px;"/>
      		<s:hidden name="emplInfo.emplOrg.id" id="eimpOrgId"/>      </td>
      <td colspan="2" rowspan="7" align="center" valign="middle" style="overflow:hidden;">
            <iframe id="emplInfoFrame" style="width:242px; height:154px;" src="../common/image.jsp?width=240&height=150&id=<s:property value='emplInfo.photoFile.id'/>" frameborder="0" scrolling="no"></iframe>      </td>
    </tr>
    <tr class="form_tr_min ">
      <td align="right" valign="middle"><span class="required">•</span>姓名：</td>
      <td valign="middle">
      <s:textfield maxlength="50" name="emplInfo.name"  title="姓名为必填项"  cssStyle="width:180px;"/>      </td>
      <td align="right" valign="middle">职务：</td>
      <td valign="middle">
      	<s:select cssStyle="width:180px;" name="emplInfo.job.id"  list='#request.SysCodeFinder.find("EMPL_JOB")'  headerKey="" headerValue="" listKey="id" listValue="codeName"/>      </td>
      </tr>
    <tr class="form_tr_min">
      <td align="right" valign="middle"><span class="required">•</span>出生日期：</td>
      <td valign="middle">
      <s:textfield name="emplInfo.birthDate" readonly="true" onClick="showDate(this)" cssClass="date_input" title="出生日期为必填项"  cssStyle="width:180px;">
      		<s:param name="value"><s:date name="emplInfo.birthDate" format="yyyy-MM-dd"/></s:param>
      </s:textfield>      </td>
      <td align="right" valign="middle">岗位：</td>
      <td valign="middle"><s:select cssStyle="width:180px;" name="emplInfo.station.id"  list='#request.SysCodeFinder.find("EMPL_STATION")' headerKey="" headerValue="" listKey="id" listValue="codeName"/></td>
      </tr>
    <tr class="form_tr_min ">
      <td align="right" valign="middle">性别：</td>
      <td valign="middle">
      <s:select cssStyle="width:180px;" name="emplInfo.sex.id"  list='#request.SysCodeFinder.find("EMPL_SEX")'  headerKey="" headerValue="" listKey="id" listValue="codeName"/>      </td>
      <td align="right" valign="middle" class="form_tr_min">用工形式：</td>
      <td valign="middle" class="form_tr_min"><s:select cssStyle="width:180px;" name="emplInfo.employType.id"  list='#request.SysCodeFinder.find(&quot;EMPL_EMPLOY_TYPE&quot;)'  headerKey="" headerValue="" listKey="id" listValue="codeName"/>
      </td>
    </tr>
    <tr class="form_tr_min">
      <td align="right" valign="middle">政治面貌：</td>
      <td valign="middle">
      	<s:select cssStyle="width:180px;" name="emplInfo.polityType.id"  list='#request.SysCodeFinder.find("EMPL_POLITY_TYPE")'  headerKey="" headerValue="" listKey="id" listValue="codeName"/>      </td>
      <td align="right" valign="middle" class="form_tr_min "><span class="required">•</span>工作地区：</td>
      <td valign="middle" class="form_tr_min "><s:select cssStyle="width:180px;" title="工作地区为必填项"  name="emplInfo.workArea.id"  list='#request.SysCodeFinder.find(&quot;EMPL_WORK_AREA&quot;)'  headerKey="" headerValue="" listKey="id" listValue="codeName"/>
      </td>
    </tr>
    <tr class="form_tr_min ">
      <td align="right" valign="middle">婚否：</td>
      <td valign="middle">
      	<s:select cssStyle="width:180px;" name="emplInfo.married.id"  list='#request.SysCodeFinder.find("EMPL_MARRY")'  headerKey="" headerValue="" listKey="id" listValue="codeName"/>      </td>
      <td align="right" valign="middle" class="form_tr_min">证件类型：</td>
      <td valign="middle" class="form_tr_min"><s:select cssStyle="width:180px;" name="emplInfo.credType.id"  list='#request.SysCodeFinder.find(&quot;EMPL_CRED_TYPE&quot;)'  headerKey="" headerValue="" listKey="id" listValue="codeName"/>
      </td>
    </tr>
    <tr class="form_tr_min">
      <td align="right" valign="middle">血型：</td>
      <td valign="middle">
      	<s:select cssStyle="width:180px;" name="emplInfo.bloodType.id"  list='#request.SysCodeFinder.find("EMPL_BLOOD_TYPE")'  headerKey="" headerValue="" listKey="id" listValue="codeName"/>      </td>
      <td align="right" valign="middle" class="form_tr_min ">证件号码：</td>
      <td valign="middle" class="form_tr_min "><s:textfield maxlength="50" name="emplInfo.credNo" cssStyle="width:180px;"/>
      </td>
    </tr>
    <tr class="form_tr_min ">
      <td align="right" valign="middle">民族：</td>
      <td valign="middle">
      	<s:select cssStyle="width:180px;" name="emplInfo.nation.id"  list='#request.SysCodeFinder.find("EMPL_NATION")'  headerKey="" headerValue="" listKey="id" listValue="codeName"/>      </td>
      <td align="right" valign="middle" class="form_tr_min"><span class="required">•</span>参加工作日期：</td>
      <td valign="middle" class="form_tr_min"><s:textfield name="emplInfo.firstWorkDate" onClick="showDate(this)" readonly="true"  cssClass="date_input" cssStyle="width:180px;">
          <s:param name="value">
            <s:date name="emplInfo.firstWorkDate" format="yyyy-MM-dd"/>
          </s:param>
        </s:textfield>
      </td>
      <td align="right" valign="middle">上传照片：</td>
      <td valign="middle"><s:file name="photoFile"  cssStyle="width:180px;" />
      <s:hidden name="emplInfo.photoFile.id" />      </td>
    </tr>
    <tr class="form_tr_min">
      <td align="right" valign="middle">籍贯：</td>
      <td valign="middle">
      	<s:select cssStyle="width:180px;" name="emplInfo.nativePlace.id"  list='#request.SysCodeFinder.find("EMPL_NATIVE_PLACE")'  headerKey="" headerValue="" listKey="id" listValue="codeName"/>      </td>
      <td align="right" valign="middle" class="form_tr_min "><span class="required">•</span>入职日期：</td>
      <td valign="middle" class="form_tr_min "><s:textfield name="emplInfo.inCompDate" onClick="showDate(this)" readonly="true"  cssClass="date_input" title="入职日期为必填项"  cssStyle="width:180px;">
          <s:param name="value">
            <s:date name="emplInfo.inCompDate" format="yyyy-MM-dd"/>
          </s:param>
        </s:textfield>
      </td>
      <td align="right" valign="middle" class="form_tr_min ">手机：</td>
      <td valign="middle" class="form_tr_min "><s:textfield name="emplInfo.mobile" maxlength="50" cssStyle="width:180px;"/></td>
      </tr>
    <tr class="form_tr_min ">
      <td align="right" valign="middle">户口所在地：</td>
      <td valign="middle"><s:textfield name="emplInfo.regPlace" maxlength="50" cssStyle="width:180px;"/></td>
      <td align="right" valign="middle" class="form_tr_min"><span class="required">•</span>转正日期：</td>
      <td valign="middle" class="form_tr_min"><s:textfield name="emplInfo.regularDate" readonly="true" onClick="showDate(this)" cssClass="date_input" cssStyle="width:180px;">
          <s:param name="value">
            <s:date name="emplInfo.regularDate" format="yyyy-MM-dd"/>
          </s:param>
        </s:textfield>
      </td>
      <td align="right" valign="middle" class="form_tr_min">座机：</td>
      <td valign="middle" class="form_tr_min"><s:textfield name="emplInfo.phone" maxlength="50" cssStyle="width:180px;"/></td>
      </tr>
    <tr class="form_tr_min">
      <td align="right" valign="middle">档案所在地：</td>
      <td valign="middle"><s:textfield name="emplInfo.recordPlace" maxlength="50" cssStyle="width:180px;"/></td>
      <td align="right" valign="middle" class="form_tr_min  note_${param.regular}">
	  试用是否通过：
	  </td>
      <td valign="middle" class="form_tr_min "><s:select cssStyle="width:180px;" name="emplInfo.isRegular.id" list='#request.SysCodeFinder.find(&quot;YES_NO&quot;)' headerKey="" headerValue="" listKey="id" listValue="codeName"/></td>
      <td align="right" valign="middle" class="form_tr_min ">当前住址：</td>
      <td valign="middle" class="form_tr_min "><s:textfield name="emplInfo.currentAddr" maxlength="50" cssStyle="width:180px;"/></td>
      </tr>
   <tr class="form_tr_min ">
      <td align="right" valign="middle">专业：</td>
      <td valign="middle">
        <s:select cssStyle="width:180px;" name="emplInfo.major.id"  list='#request.SysCodeFinder.find("EMPL_MAJOR")'  headerKey="" headerValue="" listKey="id" listValue="codeName"/>      </td>
      <td align="right" valign="middle">电子邮箱：</td>
      <td valign="middle"><s:textfield name="emplInfo.email" maxlength="50" cssStyle="width:180px;"/></td>
      <td align="right" valign="middle" class="form_tr_min">当前邮编：</td>
      <td valign="middle" class="form_tr_min"><s:textfield name="emplInfo.currentZip" maxlength="6" cssStyle="width:180px;"/></td>
      </tr>
    <tr class="form_tr_min">
      <td width="10%" align="right" valign="middle">学历：</td>
      <td width="22%" valign="middle">
        <s:select cssStyle="width:180px;" name="emplInfo.eduLevel.id"  list='#request.SysCodeFinder.find("EMPL_EDU_LEVEL")'  headerKey="" headerValue="" listKey="id" listValue="codeName"/>      </td>
      <td align="right" valign="middle">即时通讯类型：</td>
      <td valign="middle"><s:select cssStyle="width:180px;" name="emplInfo.imType.id"  list='#request.SysCodeFinder.find(&quot;EMPL_IM_TYPE&quot;)'  headerKey="" headerValue="" listKey="id" listValue="codeName"/></td>
      <td align="right" valign="middle" class="form_tr_min ">家庭电话：</td>
      <td valign="middle" class="form_tr_min "><s:textfield name="emplInfo.homePhone" maxlength="50" cssStyle="width:180px;"/></td>
      </tr>
    <tr class="form_tr_min ">
      <td align="right" valign="middle">毕业院校：</td>
      <td valign="middle">
        <s:textfield name="emplInfo.college" maxlength="50" cssStyle="width:180px;"/>      </td>
      <td align="right" valign="middle">即时通讯号码：</td>
      <td valign="middle"><s:textfield name="emplInfo.imNo" maxlength="50" cssStyle="width:180px;"/></td>
      <td align="right" valign="middle" class="form_tr_min">家庭地址：</td>
      <td width="25%" valign="middle" class="form_tr_min"><s:textfield name="emplInfo.homeAddr" maxlength="50" cssStyle="width:180px;"/></td>
      </tr>
    <tr class="form_tr_min">
      <td width="10%" align="right" valign="top">备注：</td>
      <td rowspan="2" valign="top"><s:textarea  name="emplInfo.descr" cssStyle="width:180px;height:50px;"/>      </td>
      <td align="right" valign="middle">紧急联系人：</td>
      <td valign="middle"><s:textfield name="emplInfo.exigLinkman" maxlength="50" cssStyle="width:180px;"/></td>
      <td width="10%" align="right" valign="top" class="form_tr_min ">家庭邮编：</td>
      <td valign="top" class="form_tr_min "><s:textfield name="emplInfo.homeZip" maxlength="6" cssStyle="width:180px;"/></td>
      </tr>
    <tr class="form_tr_min">
      <td height="30" align="right" valign="top">&nbsp;</td>
      <td align="right" valign="middle" class="form_tr_min ">紧急联系人电话：</td>
      <td valign="middle" class="form_tr_min "><s:textfield name="emplInfo.exigLinktype" maxlength="50" cssStyle="width:180px;"/></td>
      <td height="30" align="right" valign="top">&nbsp;</td>
      <td height="30" valign="top"><input type="submit" name="button" id="button" value="修改员工信息" /></td>
      </tr>        
  </table>
</s:form>
</div>
</body>
</html>