| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442 |
- <%@ 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" />
- <script src="${pageContext.request.contextPath }/liger/lib/jquery/jquery-1.3.2.min.js" type="text/javascript"></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/plugins/ligerGrid.js" type="text/javascript"></script>
- <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/plugins/ligerTab.js" type="text/javascript"></script>
- <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/plugins/ligerDrag.js" type="text/javascript"></script>
- <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/plugins/ligerDateEditor.js" type="text/javascript"></script>
- <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/plugins/ligerResizable.js" type="text/javascript"></script>
- <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/plugins/ligerTab.js" type="text/javascript"></script>
- <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/plugins/ligerLayout.js" type="text/javascript"></script>
- <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/plugins/ligerDialog.js" type="text/javascript"></script>
- <script type="text/javascript" src="/shares/js/yw/yongfu/editStaff.js"></script>
- <script type="text/javascript" src="/shares/js/file.js"></script>
- <link href="${pageContext.request.contextPath}/main.css" rel="stylesheet" type="text/css" />
- <script type="text/javascript" src="/shares/js/constant.js"></script>
- <script type="text/javascript" src="/shares/js/common.js"></script>
- <script type="text/javascript" src="/shares/js/yw/yongfu/common.js"></script>
- <script type="text/javascript">
- function showBorrow(obj) {
- if (obj == 'tabitem2') {//学历信息
- getEducation();
- } else if (obj == 'tabitem3') {//工作经历
- getExperience();
- } else if (obj == 'tabitem4') {//家庭成员
- getFamily();
- } else if (obj == 'tabitem5') {//职称
- getPosition();
- } else if (obj == 'tabitem6') {//建造师
- getConstruction();
- } else if (obj == 'tabitem7') {//八大员
- getEightType();
- } else if (obj == 'tabitem8') {//三类人员
- getThreeType();
- } else if (obj == 'tabitem9') {//特种工
- getSpecialWork();
- } else if (obj == 'tabitem10') {//其他
- getOther();
- }
- }
- function getEducation(){
- var grid = null;
- $(function () {
- grid = $("#maingrid2").ligerGrid({
- columns: [
- { display: '学习类型', name: 'study_type', width: 100},
- { display: '学校名称', name: 'study_school_name', width: 170 },
- { display: '专业', name: 'study_subject', width: 100},
- { display: '学历', name: 'study_educational_background', width: 100},
- { display: '学位', name: 'study_degree', width: 100},
- { display: '起止年月', name: 'study_start_end_time', width: 200},
- {
- display: '操作', isAllowHide: false,width: 150,
- render: function (row)
- {
- var html = '<a href=\"#\" onclick=\"toEditEducation('+row.universalid+')\">修改</a>  ';
- html += '<a href=\"#\" onclick=\"delEducation('+row.universalid+')\">删除</a> ';
- return html;
- }
- }
- ],
- usePager: false, //是否分页
- pageSize:50,
- url: 'StaffAction.do?task=listEducation&staff_id=${staff_id}&time=' + new Date().getTime(),
- pageParmName: 'p', //页索引参数名,(提交给服务器)
- pagesizeParmName: 'pSize', //页记录数参数名,(提交给服务器)
- width: '99.8%',
- height: '99%'
- });
- $("#pageloading").hide();
- });
- }
- function getExperience(){
- var grid = null;
- $(function () {
- grid = $("#maingrid3").ligerGrid({
- columns: [
- { display: '单位名称', name: 'work_company', width: 200},
- { display: '职务', name: 'work_position', width: 170 },
- { display: '起止年月', name: 'work_start_end_time', width: 200},
- { display: '离职原因', name: 'work_resignation_reason', width: 200},
- {
- display: '操作', isAllowHide: false,width: 150,
- render: function (row)
- {
- var html = '<a href=\"#\" onclick=\"toEditExperience('+row.universalid+')\">修改</a>  ';
- html += '<a href=\"#\" onclick=\"delExperience('+row.universalid+')\">删除</a> ';
- return html;
- }
- }
- ],
- usePager: false, //是否分页
- pageSize:50,
- url: 'StaffAction.do?task=listExperience&staff_id=${staff_id}&time=' + new Date().getTime(),
- pageParmName: 'p', //页索引参数名,(提交给服务器)
- pagesizeParmName: 'pSize', //页记录数参数名,(提交给服务器)
- width: '99.8%',
- height: '99%'
- });
- $("#pageloading").hide();
- });
- }
- function getFamily(){
- var grid = null;
- $(function () {
- grid = $("#maingrid4").ligerGrid({
- columns: [
- { display: '姓名', name: 'member_name', width: 150},
- { display: '关系', name: 'member_relation', width: 100 },
- { display: '单位', name: 'member_company', width: 200},
- { display: '职务', name: 'member_position', width: 150},
- { display: '联系电话', name: 'member_phone', width: 150},
- { display: '借用信息', name: 'member_remark', width: 200},
- {
- display: '操作', isAllowHide: false,width: 150,
- render: function (row)
- {
- var html = '<a href=\"#\" onclick=\"toEditFamily('+row.universalid+')\">修改</a>  ';
- html += '<a href=\"#\" onclick=\"delFamily('+row.universalid+')\">删除</a> ';
- return html;
- }
- }
- ],
- usePager: false, //是否分页
- pageSize:50,
- url: 'StaffAction.do?task=listFamilyMember&staff_id=${staff_id}&time=' + new Date().getTime(),
- pageParmName: 'p', //页索引参数名,(提交给服务器)
- pagesizeParmName: 'pSize', //页记录数参数名,(提交给服务器)
- width: '99.8%',
- height: '99%'
- });
- $("#pageloading").hide();
- });
- }
- function getPosition(){
- var grid = null;
- $(function () {
- grid = $("#maingrid5").ligerGrid({
- columns: [
- { display: '职称', name: 'position_name', width: 150},
- { display: '专业', name: 'position_subject', width: 100 },
- { display: '发证单位', name: 'send_unit', width: 100},
- { display: '证书编号', name: 'card_num', width: 150},
- { display: '批准文号', name: 'refe_num', width: 150},
- { display: '发证日期', name: 'issue_date', width: 100},
- { display: '借用信息', name: 'position_remark', width: 200},
- {
- display: '操作', isAllowHide: false,width: 150,
- render: function (row)
- {
- var html = '<a href=\"#\" onclick=\"toEditPosition('+row.universalid+')\">修改</a>  ';
- html += '<a href=\"#\" onclick=\"delPosition('+row.universalid+')\">删除</a> ';
- return html;
- }
- }
- ],
- usePager: false, //是否分页
- pageSize:50,
- url: 'StaffCardAction.do?task=listPosition&staff_id=${staff_id}&time=' + new Date().getTime(),
- pageParmName: 'p', //页索引参数名,(提交给服务器)
- pagesizeParmName: 'pSize', //页记录数参数名,(提交给服务器)
- width: '99.8%',
- height: '99%'
- });
- $("#pageloading").hide();
- });
- }
- function getConstruction(){
- var grid = null;
- $(function () {
- grid = $("#maingrid6").ligerGrid({
- columns: [
- { display: '注册号', name: 'registration_number', width: 150},
- { display: '注册证书编号', name: 'registration_certificate_id', width: 100 },
- { display: '执业资格证书编号', name: 'operation_certificate', width: 150},
- { display: '发证日期', name: 'send_card_time', width: 100},
- { display: '借用信息', name: 'construction_engineer_remark', width: 200},
- {
- display: '操作', isAllowHide: false,width: 150,
- render: function (row)
- {
- var html = '<a href=\"#\" onclick=\"toEditConstruction('+row.universalid+')\">修改</a>  ';
- html += '<a href=\"#\" onclick=\"delConstruction('+row.universalid+')\">删除</a> ';
- return html;
- }
- }
- ],
- usePager: false, //是否分页
- pageSize:50,
- url: 'StaffCardAction.do?task=listConstructionEngineer&staff_id=${staff_id}&time=' + new Date().getTime(),
- pageParmName: 'p', //页索引参数名,(提交给服务器)
- pagesizeParmName: 'pSize', //页记录数参数名,(提交给服务器)
- width: '99.8%',
- height: '99%'
- });
- $("#pageloading").hide();
- });
- }
- function getEightType(){
- var grid = null;
- $(function () {
- grid = $("#maingrid7").ligerGrid({
- columns: [
- { display: '岗位职务', name: 'eight_post_job', width: 100 },
- { display: '其他岗位', name: 'eight_other_job', width: 150},
- { display: '证书编号', name: 'eight_card_id', width: 150},
- { display: '发证日期', name: 'eight_type_date', width: 100},
- { display: '有效期至', name: 'eight_type_effective_date', width: 100},
- { display: '借用信息', name: 'eight_type_remark', width: 200},
- {
- display: '操作', isAllowHide: false,width: 150,
- render: function (row)
- {
- var html = '<a href=\"#\" onclick=\"toEditEightType('+row.universalid+')\">修改</a>  ';
- html += '<a href=\"#\" onclick=\"delEightType('+row.universalid+')\">删除</a> ';
- return html;
- }
- }
- ],
- usePager: false, //是否分页
- pageSize:50,
- url: 'StaffCardAction.do?task=listEightType&staff_id=${staff_id}&time=' + new Date().getTime(),
- pageParmName: 'p', //页索引参数名,(提交给服务器)
- pagesizeParmName: 'pSize', //页记录数参数名,(提交给服务器)
- width: '99.8%',
- height: '99%'
- });
- $("#pageloading").hide();
- });
- }
- function getThreeType(){
- var grid = null;
- $(function () {
- grid = $("#maingrid8").ligerGrid({
- columns: [
- { display: '安全考核证号', name: 'three_type_safety_check_id', width: 150},
- { display: '发证时间', name: 'provide_certificate_time', width: 100 },
- { display: '职务', name: 'three_type_position', width: 200},
- { display: '有效期至', name: 'b_three_type_effective_date', width: 100},
- { display: '技术职称', name: 'three_type_technology_position', width: 150},
- { display: '借用信息', name: 'three_type_remark', width: 150},
- {
- display: '操作', isAllowHide: false,width: 150,
- render: function (row)
- {
- var html = '<a href=\"#\" onclick=\"toEditThreeType('+row.universalid+')\">修改</a>  ';
- html += '<a href=\"#\" onclick=\"delThreeType('+row.universalid+')\">删除</a> ';
- return html;
- }
- }
- ],
- usePager: false, //是否分页
- pageSize:50,
- url: 'StaffCardAction.do?task=listThreeType&staff_id=${staff_id}&time=' + new Date().getTime(),
- pageParmName: 'p', //页索引参数名,(提交给服务器)
- pagesizeParmName: 'pSize', //页记录数参数名,(提交给服务器)
- width: '99.8%',
- height: '99%'
- });
- $("#pageloading").hide();
- });
- }
- function getSpecialWork(){
- var grid = null;
- $(function () {
- grid = $("#maingrid9").ligerGrid({
- columns: [
- { display: '证书编号', name: 'certificate_id', width: 150},
- { display: '职能工种', name: 'work_type', width: 100 },
- { display: '发证时间', name: 'special_work_start_certificate_time', width: 100},
- { display: '有效期至', name: 'special_work_effective_date', width: 100},
- { display: '一次复审', name: 'first_check_time', width: 150},
- { display: '二次复审', name: 'second_check_time', width: 150},
- { display: '借用信息', name: 'special_work_remark', width: 150},
- {
- display: '操作', isAllowHide: false,width: 150,
- render: function (row)
- {
- var html = '<a href=\"#\" onclick=\"toEditSpecialWork('+row.universalid+')\">修改</a>  ';
- html += '<a href=\"#\" onclick=\"delSpecialWork('+row.universalid+')\">删除</a> ';
- return html;
- }
- }
- ],
- usePager: false, //是否分页
- pageSize:50,
- url: 'StaffCardAction.do?task=listSpecialWork&staff_id=${staff_id}&time=' + new Date().getTime(),
- pageParmName: 'p', //页索引参数名,(提交给服务器)
- pagesizeParmName: 'pSize', //页记录数参数名,(提交给服务器)
- width: '99.8%',
- height: '99%'
- });
- $("#pageloading").hide();
- });
- }
- function getOther(){
- var grid = null;
- $(function () {
- grid = $("#maingrid10").ligerGrid({
- columns: [
- { display: '证书名称', name: 'other_card_name', width: 150 },
- { display: '证书编号', name: 'other_card_id', width: 150},
- { display: '专业', name: 'other_major', width: 150},
- { display: '有效期至', name: 'other_effective_date', width: 100},
- { display: '借用信息', name: 'other_remark', width: 150},
- {
- display: '操作', isAllowHide: false,width: 150,
- render: function (row)
- {
- var html = '<a href=\"#\" onclick=\"toEditOther('+row.universalid+')\">修改</a>  ';
- html += '<a href=\"#\" onclick=\"delOther('+row.universalid+')\">删除</a> ';
- return html;
- }
- }
- ],
- usePager: false, //是否分页
- pageSize:50,
- url: 'StaffCardAction.do?task=listOther&staff_id=${staff_id}&time=' + new Date().getTime(),
- pageParmName: 'p', //页索引参数名,(提交给服务器)
- pagesizeParmName: 'pSize', //页记录数参数名,(提交给服务器)
- width: '99.8%',
- height: '99%'
- });
- $("#pageloading").hide();
- });
- }
- </script>
- <style type="text/css">
- .file-style {
- width: 300px;
- }
- .file-style input[type='file'] {
- width: 260px;
- height: 24px;
- line-height: 22px;
- vertical-align: bottom;
- background-color: #fff;
- border: 1px solid #cccccc;
- margin-top: 2px;
- margin-bottom: 2px;
- }
- layout{width:100%;margin:0; padding:0;}
- body{padding:5px; margin:0;}
- .forum-container table td{padding-left: 5px;}
- .temp-form{background-color: #ffffff; overflow-y: auto; margin-top:5px}
- .notice{color: blue; display: none; margin-top: 2px}
- .warn{color: red; display: none; margin-top: 2px}
- .default-text{width: 173px;}
- .default-select{width: 177px}
- .notice-msg{position: absolute;z-index: 100; float: left; top: 30%; left: 45%; background-color: #ffffff; width: 150px; overflow: hidden; border: 1px solid #cccccc; text-align: center; padding: 5px 5px 5px 5px; display: none}
- .forum-container-2 table tr td{font-size: 14px;}
- .forum-container-2 .l-table-edit-text {width: 150px; font-size: 14px;}
- .forum-container-2 .l-table-edit-content{width: 250px; font-size: 14px;}
- .dialogTable{margin: 5px auto; width: 400px}
- .dialogTable tr{height: 25px; padding-bottom: 2px; margin: 10px auto}
- .dialogTable .left-text {width: 80px; font-weight: bold;}
- .dialogTable .save-and-prov-notice { color: blue; }
- .dialogTable .input {width: 100px;height:18px; line-height: 18px;border: 1px solid #cccccc}
- </style>
- </head>
- <body>
- <input type="hidden" id="isEdit" name="isEdit" value="${isEdit }">
- <input type="hidden" id="staff_id" name="staff_id" value="${staff_id }">
- <div id="tab1"
- style="width: 100%; overflow: hidden; border: 1px solid #A3C0E8;">
- <div title="员工信息">
- <jsp:include page="/yw/yongfu/staff/include/staffInfo.jsp">
- <jsp:param value="${staff_id}" name="staff_id"/>
- </jsp:include>
- </div>
- <div title="学历信息">
- <jsp:include page="/yw/yongfu/staff/include/educationInfo.jsp">
- <jsp:param value="${staff_id}" name="staff_id"/>
- </jsp:include>
- </div>
- <div title="工作经历">
- <jsp:include page="/yw/yongfu/staff/include/experienceInfo.jsp">
- <jsp:param value="${staff_id}" name="staff_id"/>
- </jsp:include>
- </div>
- <div title="家庭成员">
- <jsp:include page="/yw/yongfu/staff/include/familyInfo.jsp">
- <jsp:param value="${staff_id}" name="staff_id"/>
- </jsp:include>
- </div>
- <div title="职称">
- <jsp:include page="/yw/yongfu/staff/include/positionInfo.jsp">
- <jsp:param value="${staff_id}" name="staff_id"/>
- </jsp:include>
- </div>
- <div title="建造师">
- <jsp:include page="/yw/yongfu/staff/include/constructionInfo.jsp">
- <jsp:param value="${staff_id}" name="staff_id"/>
- </jsp:include>
- </div>
- <div title="八大员">
- <jsp:include page="/yw/yongfu/staff/include/eightTypeInfo.jsp">
- <jsp:param value="${staff_id}" name="staff_id"/>
- </jsp:include>
- </div>
- <div title="三类人员">
- <jsp:include page="/yw/yongfu/staff/include/threeTypeInfo.jsp">
- <jsp:param value="${staff_id}" name="staff_id"/>
- </jsp:include>
- </div>
- <div title="特种工">
- <jsp:include page="/yw/yongfu/staff/include/specialWorkInfo.jsp">
- <jsp:param value="${staff_id}" name="staff_id"/>
- </jsp:include>
- </div>
- <div title="其他">
- <jsp:include page="/yw/yongfu/staff/include/otherCardInfo.jsp">
- <jsp:param value="${staff_id}" name="staff_id"/>
- </jsp:include>
- </div>
- </div>
- <%@ include file="/include/message.jsp"%>
- </body>
- </html>
|