| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357 |
- <%@ page language="java" contentType="text/html; charset=GBK"
- pageEncoding="GBK"%>
- <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
- <%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
- <!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">
- <link href="main.css" rel="stylesheet" type="text/css"></link>
- <script type="text/javascript" src="/shares/js/constant.js"></script>
- <script type="text/javascript" src="controls/print/plugPrint.js"></script>
- <link rel="stylesheet" type="text/css" href="controls/print/print.css">
- <!--media=print 这个属性可以在打印时有效-->
- <style media=print>
- .Noprint {
- display: none;
- }
- .PageNext {
- page-break-after: always;
- }
- </style>
- <style type="text/css">
- table{
- width:100%;
- }
- .print td{
- padding-top:2px;
- height:30px;
- text-align:center;
- }
- .commont{
- height:30px;
- margin-top:30px;
- text-align:left;
- font-weight:bold;
- font-size:15px;
- }
- .fncBtn {
- width: 100%;
- background: #e5ecf9;
- height: 30px;
- padding-top: 3px;
- text-align:center;
- }
- .btn {
- height: 25px;
- line-height: 20px;
- }
- </style>
- <title>个人履历表打印</title>
- <script language="javascript" type="text/javascript">
- //****************************************************************
- //* 名 称:formPrintit
- //* 功 能:打印
- //* 作 者: 章家明
- //* 入口参数:
- //* 出口参数:
- //*****************************************************************
- function formPrintit(isZong, isSelectPrinter) {
- setupHeaderAndFooter("", "");
- setupMargin("1", "28", "28", "28", "28");
- printit(isZong, isSelectPrinter);
- }
- //****************************************************************
- //* 名 称:formPageSetup
- //* 功 能:打印设置
- //* 作 者: 章家明
- //* 入口参数:
- //* 出口参数:
- //*****************************************************************
- function formPageSetup() {
- setupHeaderAndFooter("", "");
- setupMargin("1", "28", "28", "28", "28");
- popPageSetup();
- }
- //****************************************************************
- //* 名 称:formPreview
- //* 功 能:打印预览
- //* 作 者: 章家明
- //* 入口参数:
- //* 出口参数:
- //*****************************************************************
- function formPreview() {
- setupHeaderAndFooter("", "");
- setupMargin("1", "28", "28", "28", "28");
- popPreview();
- }
- function printWindow() {
- factory.printing.header = "This is MeadCo";
- factory.printing.footer = "Printing by ScriptX";
- factory.printing.portrait = false;
- factory.printing.leftMargin = 1.0;
- factory.printing.topMargin = 1.0;
- factory.printing.rightMargin = 1.0;
- factory.printing.bottomMargin = 1.0;
- // factory.printing.Print(false);
- factory.printing.Preview();
- }
- </script>
- </head>
- <body>
- <div class="fncBtn Noprint"> <object id="factory" viewastext style="display: none"
- classid="clsid:1663ed61-23eb-11d2-b92f-008048fdd814"
- codebase="${pageContext.request.contextPath}/controls/print/smsx.cab#Version=7,0,0,8">
- </object> <input type=button value="选择打印" onclick="formPrintit(false, true)" class="btn">
- <input type=button value="直接打印" onclick="formPrintit(true, false)" class="btn">
- <input type=button value="页面设置" onclick="formPageSetup()" class="btn">
- <input type=button value="打印预览" onclick="formPreview()" class="btn">
- </div>
- <div style="width:100%;text-align:center">
- <div style="margin:0 auto;width:90%">
- <table class="print">
- <tr>
- <td colspan="9" ><h6 style="font-size:30px;">个人履历表</h6></td>
- </tr>
- <tr>
- <td style="text-align: right;" colspan="9" >档案号: ${requestScope.staffInfo.file_num } </td>
- </tr>
- <tr>
- <td style="font-size:15px;" >姓名</td>
- <td style="font-size:15px;" >${requestScope.staffInfo.staff_name }</td>
- <td style="font-size:15px;" >性别</td>
- <td style="font-size:15px;">
- <c:forEach var="listStaffSex" items="${listStaffSex}">
- <c:if test="${listStaffSex.data_id == requestScope.staffInfo.staff_sex}">
- ${listStaffSex.value_name}
- </c:if>
- </c:forEach>
- </td>
- <td style="font-size:15px;" >民族</td>
- <td style="font-size:15px;" >${requestScope.staffInfo.ethnic_group }</td>
- <td style="font-size:15px;" >出生日期</td>
- <td style="font-size:15px;" >${requestScope.staffInfo.staff_birthday }</td>
- <td rowspan="4" style="width: 150px;">
- <img alt="1寸照片" src="${requestScope.staffInfo.staff_photo }" width="150px;" height="200px;">
- </td>
- </tr>
- <tr>
- <td style="font-size:15px;" >血型</td>
- <td style="font-size:15px;" >${requestScope.staffInfo.blood_type }</td>
- <td style="font-size:15px;" >身高</td>
- <td style="font-size:15px;" >${requestScope.staffInfo.body_height }</td>
- <td style="font-size:15px;" >体重</td>
- <td style="font-size:15px;" >${requestScope.staffInfo.body_weight }</td>
- <td style="font-size:15px;" >婚姻状况</td>
- <td style="font-size:15px;" >${requestScope.staffInfo.marital_status }</td>
- </tr>
- <tr>
- <td style="font-size:15px;" >籍贯</td>
- <td colspan="3" style="font-size:15px;" >${requestScope.staffInfo.native }</td>
- <td style="font-size:15px;" >职称</td>
- <td colspan="3" style="font-size:15px;">${requestScope.staffInfo.job_title }</td>
- </tr>
- <tr>
- <td style="font-size:15px;" >户籍地址</td>
- <td colspan="3" style="font-size:15px;" >${requestScope.staffInfo.census_address }</td>
- <td style="font-size:15px;" >身份证号</td>
- <td colspan="3" style="font-size:15px;">${requestScope.staffInfo.id_number }</td>
- </tr>
- <tr>
- <td style="font-size:15px;" >家庭住址</td>
- <td colspan="4" style="font-size:15px;" >${requestScope.staffInfo.home_address }</td>
- <td style="font-size:15px;" >联系电话</td>
- <td colspan="3" style="font-size:15px;">${requestScope.staffInfo.self_phone }</td>
- </tr>
- <tr>
- <td style="font-size:15px;" >学历教育</td>
- <td colspan="8" style="font-size:15px;" >
- <c:choose>
- <c:when test="${empty educationList}">
-
- </c:when>
- <c:otherwise>
- <table>
- <tr>
- <td>学习类型</td>
- <td>学校名称</td>
- <td>起止年月</td>
- <td>专业</td>
- <td>学历</td>
- <td>学位</td>
- </tr>
- <c:forEach var="educationList" items="${educationList}">
- <tr>
- <td>${educationList.study_type}</td>
- <td>${educationList.study_school_name}</td>
- <td>${educationList.study_start_end_time}</td>
- <td>${educationList.study_subject}</td>
- <td>${educationList.study_educational_background}</td>
- <td>${educationList.study_degree}</td>
- </tr>
- </c:forEach>
- </table>
- </c:otherwise>
- </c:choose>
- </td>
- </tr>
- <tr>
- <td rowspan="6" style="font-size:15px;" >证书情况</td>
- <td style="font-size:15px;" >职称</td>
- <td colspan="7" style="text-align: left;">
- <c:forEach var="listSmallType" items="${listSmallType}">
- <c:forEach var="positionList" items="${positionList}">
- <c:if test="${listSmallType.universalid eq positionList.position_type_id}">
- ${listSmallType.small_type_name}(专业:${positionList.position_subject })
- </c:if>
- </c:forEach>
- </c:forEach>
- </td>
- </tr>
-
- <tr>
- <td style="font-size:15px;" >建造师</td>
- <td colspan="7" style="text-align: left;">
- <c:forEach var="listSmallType" items="${listSmallType}">
- <c:forEach var="constructionEngineerList" items="${constructionEngineerList}">
- <c:if test="${listSmallType.universalid eq constructionEngineerList.construction_engineer_type_id}">
- ${listSmallType.small_type_name}(专业:${constructionEngineerList.construction_subject })
- </c:if>
- </c:forEach>
- </c:forEach>
- </td>
- </tr>
- <tr>
- <td style="font-size:15px;" >八大员</td>
- <td colspan="7" style="text-align: left;">
- <c:forEach var="listSmallType" items="${listSmallType}">
- <c:forEach var="eightTypeList" items="${eightTypeList}">
- <c:if test="${listSmallType.universalid eq eightTypeList.eight_type_id}">
- ${listSmallType.small_type_name}(其他岗位:${eightTypeList.eight_other_job })
- </c:if>
- </c:forEach>
- </c:forEach>
- </td>
- </tr>
- <tr>
- <td style="font-size:15px;" >三类人员</td>
- <td colspan="7" style="text-align: left;">
- <c:forEach var="listSmallType" items="${listSmallType}">
- <c:forEach var="threeTypeList" items="${threeTypeList}">
- <c:if test="${listSmallType.universalid eq threeTypeList.three_type_id}">
- ${listSmallType.small_type_name}
- </c:if>
- </c:forEach>
- </c:forEach>
- </td>
- </tr>
- <tr>
- <td style="font-size:15px;" >特种工</td>
- <td colspan="7" style="text-align: left;">
- <c:forEach var="listSmallType" items="${listSmallType}">
- <c:forEach var="specialWorkList" items="${specialWorkList}">
- <c:if test="${listSmallType.universalid eq specialWorkList.work_type}">
- ${listSmallType.small_type_name}
- </c:if>
- </c:forEach>
- </c:forEach>
- </td>
- </tr>
- <tr>
- <td style="font-size:15px;" >其他</td>
- <td colspan="7" style="text-align: left;">
- <c:forEach var="listSmallType" items="${listSmallType}">
- <c:forEach var="otherList" items="${otherList}">
- <c:if test="${listSmallType.universalid eq otherList.other_type_id}">
- ${listSmallType.small_type_name}(专业:${otherList.other_major })
- </c:if>
- </c:forEach>
- </c:forEach>
- </td>
- </tr>
- <tr>
- <td style="font-size:15px;" >工作经历</td>
- <td colspan="8" style="font-size:15px;" >
- <c:choose>
- <c:when test="${empty experienceList}">
-
- </c:when>
- <c:otherwise>
- <table>
- <tr>
- <td>工作单位</td>
- <td>起止年月</td>
- <td>职务</td>
- <td>离职原因</td>
- </tr>
- <c:forEach var="experienceList" items="${experienceList}">
- <tr>
- <td>${experienceList.work_company}</td>
- <td>${experienceList.work_start_end_time}</td>
- <td>${experienceList.work_position}</td>
- <td>${experienceList.work_resignation_reason}</td>
- </tr>
- </c:forEach>
- </table>
- </c:otherwise>
- </c:choose>
-
- </td>
- </tr>
-
- <tr>
- <td style="font-size:15px;" >家庭成员</td>
- <td colspan="8" style="font-size:15px;" >
- <c:choose>
- <c:when test="${empty experienceList}">
-
- </c:when>
- <c:otherwise>
- <table>
- <tr>
- <td>姓名</td>
- <td>关系</td>
- <td>单位</td>
- <td>职务</td>
- <td>联系电话</td>
- <td>备注</td>
- </tr>
- <c:forEach var="familyMemberList" items="${familyMemberList}">
- <tr>
- <td>${familyMemberList.member_name}</td>
- <td>${familyMemberList.member_relation}</td>
- <td>${familyMemberList.member_company}</td>
- <td>${familyMemberList.member_position}</td>
- <td>${familyMemberList.member_phone}</td>
- <td>${familyMemberList.member_remark}</td>
- </tr>
- </c:forEach>
- </table>
- </c:otherwise>
- </c:choose>
-
- </td>
- </tr>
- <tr>
- <td style="font-size:15px;" >本人签字:</td>
- <td colspan="4" style="font-size:15px;" ></td>
- <td style="font-size:15px;" >填写日期:</td>
- <td colspan="3" > </td>
- </tr>
-
- </table>
-
- </div>
- </div>
- </body>
- </html>
|