123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278 |
- <%@ page contentType="text/html;charset=UTF-8" %>
- <%@ include file="/webpage/include/taglibf.jsp"%>
- <!doctype html>
- <html>
- <head>
- <meta charset="utf-8">
- <title>${fns:getConfig("productName")}</title>
- <link rel="stylesheet" type="text/css" href="${ctxStaticWeb}/css/base.css" />
- <link rel="stylesheet" type="text/css" href="${ctxStaticWeb}/css/new.css" />
- <%-- <script src="${ctx}/static/web/js/jquery-2.1.4.js"></script>
- <script src="${ctx}/static/plugin/layui/layer/layer.js"></script>
- <script src="${ctx}/static/plugin/jquery-validation/1.14.0/jquery.validate.js" type="text/javascript"></script>
- <script src="${ctx}/static/plugin/jquery-validation/1.14.0/localization/messages_zh.min.js" type="text/javascript"></script>
- <!-- 引入layer插件,当做独立组件使用,不使用layui模块,该版本修复了chrome下花屏的bug -->
- <script src="${ctxStatic}/plugin/layui/layer/layer.js"></script>
- <script src="${ctxStatic}/plugin/layui/laytpl/laytpl.js"></script>
- <script src="${ctxStatic}/plugin/layui/dist/layui.js"></script>
- <link href="${ctxStatic}/plugin/layui/dist/css/layui.css" rel="stylesheet"/>
- <!-- 引入toastr -->
- <link rel="stylesheet" type="text/css" href="${ctxStatic}/plugin/toastr/toastr.css">
- <script type="text/javascript" src="${ctxStatic}/plugin/toastr/toastr.min.js"></script>
- <script src="${ctx}/static/common/js/jeeplus.js"></script>--%>
- <style>
- .syrc_sb{
- width:920px;
- background: #fff;
- padding: 10px;
- }
- .btn_xz{
- border:1px solid #2977c7;
- border-radius: 3px;
- background: #67b1fd;
- color: #fff;
- padding: 3px 6px;
- margin: 10px 0px;
- cursor: pointer;
- }
- .btn_xz:hover{
- background: #2977c7;
- }
- .syrc_table{
- padding: 4px;
- }
- .syrc_table thead th{
- text-align: left;
- height: 35px;
- line-height: 35px;
- background: #CEEAFF;
- padding: 0px 2px;
- }
- .syrc_table tr{
- border-bottom: 1px solid #ccc;
- }
- .syrc_table tr:hover{
- background: #ECECEC;
- }
- .syrc_table tr td{
- padding: 5px 2px;
- }
- .syrc_table tr td button{
- margin-bottom: 5px;
- cursor: pointer;
- padding: 3px 6px;
- border-radius: 3px;
- background: #e1e9ef;
- border: 1px solid #0A3784;
- color: #0A3784;
- }
- .syrc_table tr td button:hover{
- background: #0A3784;
- color: #fff;
- }
- .syrc_table tr td button a{
- color: #0A3784;
- }
- .syrc_table tr td button:hover a{
- color: #fff;
- }
- </style>
- <style>
- .grzx{ margin:60px}
- .grzx li{ line-height:30px; margin:10px 0px; width:100%}
- .grzx li span{ width:100px; text-align:right; display:inline-block}
- .grzx li textarea{ margin-left:100px; width:700px; height:200px}
- .grzx input{ line-height:30px; line-height:30px; padding:0px 10px;}
- .get{}
- .new_r{ margin-left:0px; margin-right:20px}
- .btnSign { height:35px; line-height:35px; width:25%;background-color:#820402; color:#fff; border:0px; margin:20px}
- #inputForm label.error
- {
- color:#cc5965;
- font-size:14px;
- margin-left:5px;
- padding-left:16px;
- font-weight: bold;
- }
- </style>
- <%@include file="/webpage/include/anihead.jsp" %>
- <script>
- $().ready(function() {
- //校验表单
- $("#inputForm").validate({
- debug: false,
- focusInvalid: true, //当为false时,验证无效时,没有焦点响应
- onkeyup: false,
- rules: {
- password: {
- required: true,
- minlength: 6,
- remote: "${ctxF}/talentPerson/validatePassword"
- },
- passwordAgain: {
- required: true,
- minlength: 6
- },
- passwordAgain1: {
- required: true,
- minlength: 6,
- equalTo: "#passwordAgain"
- }
- },
- messages: {
- password: {
- required: "请输入原密码",
- minlength: "原密码长度不能小于6位",
- remote:"原密码错误"
- },
- passwordAgain: {
- required: "请输入确认密码",
- minlength: "密码长度不能小于6位"
- },
- passwordAgain1: {
- required: "请输入确认密码",
- minlength: "密码长度不能小于6位",
- equalTo: "两次密码输入不一致"
- }
- },
- submitHandler:function(form){//这是关键的语句,配置这个参数后表单不会自动提交,验证通过之后会去调用的方法
- $.ajax({
- url:"${ctxF}/talentPerson/updatePassword",
- type:"POST",
- cache: false,
- data:$(form).serialize(),
- dataType:"json",
- beforeSend: function(XMLHttpRequest){
- //do something before submit...
- },
- success: function(data){
- if(data.success){
- jp.success(data.msg);
- document.getElementById("inputForm").reset();
- }else{
- jp.error(data.msg);
- }
- },
- complete: function(XMLHttpRequest, textStatus){
- //do something in the end...
- }
- });
- }
- });
- $("#grxxForm").validate({
- debug: false,
- focusInvalid: true, //当为false时,验证无效时,没有焦点响应
- onkeyup: false,
- rules: {
- name: {
- required: true
- }
- },
- messages: {
- name: {
- required: "请输入姓名"
- }
- },
- submitHandler:function(form){//这是关键的语句,配置这个参数后表单不会自动提交,验证通过之后会去调用的方法
- $.ajax({
- url:"${ctxF}/talentPerson/save",
- type:"POST",
- cache: false,
- data:$(form).serialize(),
- dataType:"json",
- beforeSend: function(XMLHttpRequest){
- //do something before submit...
- },
- success: function(data){
- if(data.success){
- jp.success(data.msg);
- window.location.href = "${ctxF}/info";
- }else{
- jp.error(data.msg);
- }
- },
- complete: function(XMLHttpRequest, textStatus){
- //do something in the end...
- }
- });
- }
- });
- });
- function personInfo() {
- $("#grxx").css("display","block");
- $("#xgmm").hide();
- $("#rcsb").hide();
- }
- function apply() {
- $("#rcsb").css("display","block");
- $("#xgmm").hide();
- $("#grxx").hide();
- }
- function changePwd() {
- $("#xgmm").css("display","block");
- $("#grxx").hide();
- $("#rcsb").hide();
- }
- function exit() {
- layer.confirm('确认要退出登录吗?', {icon: 3, title:'提示'}, function(index){
- window.location.href = "${ctxF}/logout";
- layer.close(index);
- });
- }
- function talentBasicSituation(workstationId) {
- window.open("${ctxF}/talentBasicSituation?workstationId="+workstationId);
- }
- </script>
- </head>
- <body>
- <%@ include file="/webpage/modules/web/top.jsp"%>
- <div class="c">
- <div class="new_r l">
- <h2>个人中心</h2>
- <ul>
- <li><a href="#" onclick="personInfo()">个人资料</a></li>
- <li><a href="${ctxF}/personSign" target="_parent">人才申报</a></li>
- <li><a href="${ctxF}/talentWorkstation" target="_parent">“候鸟型”人才申报</a></li>
- <li><a href="#" onclick="changePwd()">修改密码</a></li>
- <li><a href="#" onclick="exit()">退出系统</a></li>
- </ul>
- </div>
- <div class="new_l l">
- <h2> 当前位置:<a href="${ctx}/talent_web">首页</a>><a href="#">个人中心</a></h2>
- <div class="syrc_sb">
- <button class="btn_xz" onclick="talentBasicSituation('${workstationId}')">新增申报单位基本情况</button>
- <table class="syrc_table" cellpadding="0" cellspacing="0" border="0">
- <thead>
- <th width="150">姓名</th>
- <th width="150">性别</th>
- <th width="150">出生日期</th>
- <th width="150">政治面貌</th>
- <th width="150">民族</th>
- <th width="150">籍贯</th>
- <th width="200">操作</th>
- </thead>
- <c:forEach items="${list}" var="talentBasicSituation" varStatus="status">
- <tr>
- <td>${talentBasicSituation.xm} </td>
- <td>${talentBasicSituation.xb}</td>
- <td>${talentBasicSituation.csrq}</td>
- <td>${talentBasicSituation.zzmm}</td>
- <td>${talentBasicSituation.mz}</td>
- <td>${talentBasicSituation.jg}</td>
- <td>
- <button type="button" class="btn_btn" ><a href="${ctxF}/talentBasicSituation?id=${talentBasicSituation.id}" target="_blank">查看</a></button>
- </td>
- </tr>
- </c:forEach>
- </table>
- </div>
- </div>
- </div>
- <%@ include file="/webpage/modules/web/footer.jsp"%>
- </body>
- </html>
|