jlzx.html 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. <!doctype html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <title>${siteTitle!}</title>
  6. <link rel="stylesheet" type="text/css" href="${resPath}/bcrc/css/ly_html.css">
  7. <link rel="stylesheet" type="text/css" href="${resPath}/bcrc/css/bcrc-body.css">
  8. <link rel="stylesheet" type="text/css" href="${resPath}/bcrc/css/bcrc-page.css">
  9. <link rel="stylesheet" type="text/css" href="${resPath}/syrc/css/myPagination.css">
  10. <script src="${resPath}/syrc/js/jquery-1.7.2.min.js"></script>
  11. <script src="${resPath}/syrc/js/myPagination.js"></script>
  12. <script src="${resPath}/syrc/js/TL_Tab.js"></script>
  13. <script src="${resPath}/syrc/js/TL_PC_Slider.js"></script>
  14. <script type="text/javascript">
  15. function jlDel(id){
  16. if(confirm("确定删除该简历么?")){
  17. $.ajax({
  18. url:"${ctxPath}/cms/resume/delete", //请求的url地址
  19. dataType:"json", //返回格式为json
  20. data:{id:id}, //参数值
  21. type:"post", //请求方式
  22. asyc:false,
  23. success:function(data){
  24. //alert(data.message);
  25. window.location.href="${ctxPath}/cms/resume/findUserResume"
  26. }
  27. });
  28. }
  29. }
  30. </script>
  31. </head>
  32. <body class="contentbig">
  33. <!--header begin-->
  34. @includeFileTemplate("/www/syrc/include/header.html",{"current":"index"}){}
  35. <!--header end-->
  36. <!--内容开始-->
  37. <div class="wz_cont">
  38. <div class="wz_cont_in">
  39. <div class="dqwz">当前位置:<a href="${frontPath!}/4">首页</a>>>个人中心</div>
  40. <div class=" clearfix">
  41. <div class="con_left fl">
  42. <h4><img src="${resPath}/bcrc/images/grzx_03.png"/></h4>
  43. <ul class="left_nav">
  44. @includeFileTemplate("/www/syrc/include/grzx-eightOtherLeftMeun.html",{"current":"index"}){}
  45. </ul>
  46. </div>
  47. <div class="con_right fr">
  48. <!--简历中心 开始-->
  49. <div class="all_title">
  50. <a><span>查看简历</span></a>
  51. <a class="jlzx_cjjl er_tit_a" href="${ctxPath}/cms/resume/goCreateResume" style="float: right;background: none;font-size: 16px; margin: 1px 0 0 0;color: #046798;font-weight: normal;line-height: 40px;">创建简历</a>
  52. </div>
  53. <table class="jlzx_table">
  54. <thead>
  55. <th>简历名称</th>
  56. <th>简历状态</th>
  57. <th>操作</th>
  58. </thead>
  59. @for(bb in model!){
  60. <tr>
  61. <td>${bb.jlBbName!,xss}</td>
  62. <td><select>
  63. <option>${bb.jlBbMrtdzt==0?"未设置":"默认简历",xss}</option>
  64. </select></td>
  65. <td>
  66. <a class="btn_bj btn_a" href="${ctxPath}/cms/resume/goEditResume?id=${bb.jlBbId!}" target="_blank"><img src="${resPath}/syrc/images/jlzx_con_46.png"/>编辑</a>
  67. @if(bb.jlBbMrtdzt==0){
  68. <a class="btn_bj btn_a" href="${ctxPath}/cms/resume/editJlbanbenMRtdzt?id=${bb.jlBbId!}&jianliId=${bb.jianliId!}"><img src="${resPath}/syrc/images/jlzx_con_46.png"/>默认简历</a>
  69. @}
  70. <a class="btn_sc btn_a" href="javascript:void(0);" onclick="jlDel('${bb.jlBbId!}');"><img src="${resPath}/syrc/images/jlzx_con_11.png">删除</a>
  71. </td>
  72. </tr>
  73. @}
  74. </table>
  75. <div id="pagination" class="pagination"></div>
  76. <script>
  77. var datatotal = '${total}';
  78. var pageAmount = '${pagesize}';
  79. var pagenum = '${pagenum}';
  80. pageTotal=Math.ceil(datatotal/pageAmount);
  81. if(pageTotal>5){
  82. pageSize=5
  83. }else{
  84. pageSize=pageTotal
  85. }
  86. window.onload = function () {
  87. new myPagination({
  88. id: 'pagination',
  89. curPage:pagenum, //初始页码
  90. pageTotal: pageTotal, //总页数
  91. pageAmount: pageAmount, //每页多少条
  92. dataTotal: datatotal, //总共多少条数据
  93. getPage: function (page) {
  94. window.location.href ='${ctxPath}/cms/resume/findUserResume?pageCurrent='+page;
  95. }
  96. })
  97. }
  98. </script>
  99. <!-- 简历中心 结束-->
  100. </div>
  101. </div>
  102. </div>
  103. </div>
  104. </div>
  105. <!--内容结束-->
  106. <!--footer begin-->
  107. @includeFileTemplate("/www/syrc/include/footer.html",{"current":"index"}){}
  108. <!--footer end-->
  109. </body>
  110. </html>