| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241 |
- <%@ page language="java" contentType="text/html;charset=GBK"
- pageEncoding="GBK"%>
- <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html;charset=GBK">
- <title>新增员工信息</title>
- <link href="${pageContext.request.contextPath }/liger/lib/ligerUI/skins/${sessionScope.css}/css/ligerui-all.css" rel="stylesheet" type="text/css" />
- <link href="${ pageContext.request.contextPath}/main.css" rel="stylesheet" type="text/css" />
- <script type="text/javascript" src="/shares/js/jquery-1.3.2.min.js"></script>
- <script type="text/javascript" src="/shares/js/constant.js"></script>
- <script type="text/javascript" src="/shares/js/common.js"></script>
- <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/core/base.js" type="text/javascript"></script>
- <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/ligerui.all.js" type="text/javascript"></script>
- <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/plugins/ligerDateEditor.js" type="text/javascript"></script>
- <script type="text/javascript" src="/shares/js/yw/yongfu/staffInfo.js"></script>
- <script type="text/javascript" src="/shares/js/yw/yongfu/common.js"></script>
- <script type="text/javascript" src="/shares/js/file.js"></script>
- <script type="text/javascript">
-
- $(function() {
- $("#staff_birthday").ligerDateEditor({
- labelWidth : 100,
- labelAlign : 'right',
- initValue : ''
- });
- $("#register_time").ligerDateEditor({
- labelWidth : 100,
- labelAlign : 'right',
- initValue : ''
- });
- $("#agreement_time").ligerDateEditor({
- labelWidth : 100,
- labelAlign : 'right',
- initValue : ''
- });
- $("#social_time").ligerDateEditor({
- labelWidth : 100,
- labelAlign : 'right',
- initValue : ''
- });
- $("#health_time").ligerDateEditor({
- labelWidth : 100,
- labelAlign : 'right',
- initValue : ''
- });
- $("#fund_time").ligerDateEditor({
- labelWidth : 100,
- labelAlign : 'right',
- initValue : ''
- });
- });
- </script>
- <style type="text/css">
- .file-style{
- width: 550px;
- }
- .file-style input[type='file'] {
- width:385px ;
- height:24px;
- line-height:22px;
- vertical-align: bottom;
- background-color: #fff;
- border: 1px solid #cccccc;
- margin-top: 2px;
- margin-bottom: 2px;
- }
- </style>
- </head>
- <body>
- <form name="addForm" action="StaffAction.do" method="post" onsubmit="return checkForm();">
- <div id="title" class="form-button">
- <input type="submit" id="subBtu" class="l-button" value="保存" />
- </div>
- <div class="container-layout">
- <div class="forum-container">
- <center>
- <table class="l-table-edit line">
- <tr>
- <th colspan="9">新增员工基本信息</th>
- </tr>
- <tr>
- <td>档案号:</td>
- <td colspan="9"><input type="text" id="file_num" name="file_num" value="${requestScope.staff.staff_name }"></td>
- </tr>
- <tr>
- <td>姓名<FONT COLOR="red">*</FONT>:</td>
- <td><input type="text" id="staff_name" name="staff_name" value="${requestScope.staff.staff_name }"></td>
- <td>性别:</td>
- <td>
- <select name="staff_sex">
- <c:forEach var="listSex" items="${listStaffSex}">
- <option value="${listSex.data_id }">${listSex.value_name }</option>
- </c:forEach>
- </select>
- </td>
- <td>民族:</td>
- <td><input type="text" id="ethnic_group" name="ethnic_group" value="${requestScope.staff.ethnic_group}"></td>
- <td>出生日期:</td>
- <td><input type="text" id="staff_birthday" name="staff_birthday" value="${requestScope.staff.staff_birthday}" ></td>
- <td rowspan="5">
- 照片上传:
- <jsp:include page="/include/file.jsp">
- <jsp:param name="fieldName" value="staff_photo" />
- <jsp:param name="folder" value="yongfu/staff" />
- <jsp:param name="documentId" value="${requestScope.staff.staff_photo}" />
- <jsp:param name="size" value="1" />
- <jsp:param name="isView" value="1" />
- <jsp:param name="isDelFile" value="1" />
- <jsp:param name="definedCss" value="" />
- </jsp:include>
- </td>
- </tr>
-
- <tr>
- <td>血型:</td>
- <td><input type="text" id="blood_type" name="blood_type" value="${requestScope.staff.blood_type }"></td>
- <td>身高:</td>
- <td><input type="text" id="body_height" name="body_height" value="${requestScope.staff.body_height }"></td>
- <td>体重:</td>
- <td><input type="text" id="body_weight" name="body_weight" value="${requestScope.staff.body_weight }"></td>
- <td>婚姻状况:</td>
- <td><input type="text" id="marital_status" name="marital_status" value="${requestScope.staff.marital_status }"></td>
- </tr>
-
- <tr>
- <td>籍贯:</td>
- <td><input type="text" id="native" name="native" value="${requestScope.staff.native }"></td>
- <td>政治面貌:</td>
- <td><input type="text" id="political_landscape" name="political_landscape" value="${requestScope.staff.political_landscape }"></td>
- <td>职称:</td>
- <td colspan="3"><input type="text" id="job_title" name="job_title" value="${requestScope.staff.job_title }" size="50"></td>
- </tr>
- <tr>
-
- <td>户籍地址:</td>
- <td colspan="3"><input type="text" id="census_address" name="census_address" value="${requestScope.staff.census_address }" size="50"></td>
- <td>身份证号码<FONT COLOR="red">*</FONT>:</td>
- <td colspan="3">
- <input type="text" id="id_number"
- name="id_number" value="${requestScope.staff.id_number }" onblur="checkIdNumber(this);" onkeyup="value=value.replace(/[^\w\.\/]/ig,'')" maxlength="18" >
- <div id="id_number_div"></div>
- </td>
- </tr>
- <tr>
- <td>家庭住址:</td>
- <td colspan="3"><input type="text" id="home_address" name="home_address" value="${requestScope.staff.home_address }" size="50"></td>
- <td>联系电话:</td>
- <td colspan="3"><input type="text" id="self_phone" name="self_phone" value="${requestScope.staff.self_phone }" size="50"></td>
- </tr>
- <tr>
- <td>是否特种工:</td>
- <td colspan="8">
- <c:forEach var="listSpe" items="${listMaritalStatus }">
- <c:choose>
- <c:when test="${listSpe.data_id eq '0'}">
- <input type="radio" name="special_work" value="${listSpe.data_id}" checked="checked" />${listSpe.value_name}
- </c:when>
- <c:otherwise>
- <input type="radio" name="special_work" value="${listSpe.data_id}" />${listSpe.value_name}
- </c:otherwise>
- </c:choose>
- </c:forEach>
- </td>
- </tr>
-
- <tr>
- <td>入司日期:</td>
- <td colspan="3"><input type="text" id="register_time" name="register_time" value="${requestScope.staff.register_time}"></td>
- <td>劳动合同有效期至:</td>
- <td colspan="4"><input type="text" id="agreement_time" name="agreement_time" value="${requestScope.staff.agreement_time}"></td>
- </tr>
-
- <tr>
- <td>社保起始日期:</td>
- <td colspan="3"><input type="text" id="social_time" name="social_time" value="${requestScope.staff.social_time}"></td>
- <td>医保起始日期:</td>
- <td colspan="4"><input type="text" id="health_time" name="health_time" value="${requestScope.staff.health_time}"></td>
- </tr>
-
- <tr>
- <td>住房公积金起始日期:</td>
- <td colspan="3"><input type="text" id="fund_time" name="fund_time" value="${requestScope.staff.fund_time }"></td>
- <td>所属分公司:</td>
- <td colspan="4"><input type="text" id="branch_company_id" name="branch_company_id" value="${requestScope.staff.branch_company_id }"></td>
- </tr>
-
- <tr>
- <td>联系人:</td>
- <td colspan="3"><input type="text" id="contact_person" name="contact_person" value="${requestScope.staff.contact_person }"></td>
- <td>联系电话:</td>
- <td colspan="4"><input type="text" id="contact_person_phone" name="contact_person_phone" value="${requestScope.staff.contact_person_phone }"></td>
- </tr>
-
- <tr>
- <td>身份证附件:</td>
- <td colspan="8">
- <input type="hidden" id="id_number_affix" name="id_number_affix" >
- <jsp:include page="/include/file.jsp">
- <jsp:param name="fieldName" value="sfzDocumentId" />
- <jsp:param name="folder" value="yongfu/staff" />
- <jsp:param name="documentId" value="${requestScope.staff.id_number_affix}" />
- <jsp:param name="size" value="5" />
- <jsp:param name="isView" value="1" />
- <jsp:param name="isDelFile" value="1" />
- <jsp:param name="definedCss" value="file-style" />
- </jsp:include>
- </td>
- </tr>
-
- <tr>
- <td>合同附件:</td>
- <td colspan="8">
- <input type="hidden" id="agreement_affix" name="agreement_affix" >
- <jsp:include page="/include/file.jsp">
- <jsp:param name="fieldName" value="htDocumentId" />
- <jsp:param name="folder" value="yongfu/staff" />
- <jsp:param name="documentId" value="${requestScope.staff.agreement_affix}" />
- <jsp:param name="size" value="30" />
- <jsp:param name="isView" value="1" />
- <jsp:param name="isDelFile" value="1" />
- <jsp:param name="definedCss" value="file-style" />
- </jsp:include>
- </td>
- </tr>
- <tr>
- <td colspan="9" style="text-align: center;">
-
- </td>
- </tr>
- </table>
- <input type="hidden" id="task" name="task" value="addBasicInfo">
- </center>
- </div>
- </div>
- </form>
- <%@ include file="/include/message.jsp"%>
- </body>
- </html>
|