ecZxbmList.html 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  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}/syrc/css/ly_html.css">
  7. <link rel="stylesheet" type="text/css" href="${resPath}/syrc/css/syrc-body.css">
  8. <link rel="stylesheet" type="text/css" href="${resPath}/syrc/css/syrc-page.css">
  9. <link rel="stylesheet" type="text/css" href="${resPath}/syrc/css/myPagination.css">
  10. <script src="${resPath}/syrc/js/myPagination.js"></script>
  11. <script src="${resPath}/syrc/js/jquery-1.7.2.min.js"></script>
  12. <script src="${resPath}/syrc/js/qyzx_js .js"></script>
  13. </head>
  14. <body>
  15. @includeFileTemplate("/www/syrc/include/header.html",{"current":"index"}){}
  16. <!--内容开始-->
  17. <div class="contentbox er_con">
  18. <div class=" clearfix">
  19. <div class="fr" style="width: 100%;background: #fff;min-height: 490px;">
  20. <!-- 发布职位管理 开始-->
  21. <div class="er_tit">
  22. <span>报名列表</span>
  23. <a class="qyzx_xzgw er_tit_a" onclick="exportExcel()">导出列表</a>
  24. </div>
  25. <div class="qygl_con">
  26. <div class="tab_tit2 con_tit">
  27. <span onclick="tzym();" class="on">报名列表</span>
  28. </div>
  29. <table class="con_table tab_table2">
  30. <thead>
  31. <th width="100">姓名</th>
  32. <th width="100">性别</th>
  33. <th width="100">民族</th>
  34. <th width="200">出生年月</th>
  35. <th width="150">联系电话</th>
  36. <th width="100">学历</th>
  37. <th width="400">毕业院校</th>
  38. <th width="200">操作</th>
  39. </thead>
  40. @for(zxbm in model.list){
  41. <tr>
  42. <td>
  43. ${zxbm.name!,xss}
  44. </td>
  45. <td>${zxbm.sex == 0 ? '女' : '男'}</td>
  46. <td>${zxbm.nation}</td>
  47. <td>${zxbm.birthday!"N/A",dateFormat="yyyy/MM/dd"}</td>
  48. <td>${zxbm.tel}</td>
  49. <td>
  50. @if(zxbm.education=='0'){
  51. <span>高中</span>
  52. @}else if(zxbm.education=='1'){
  53. <span>大专</span>
  54. @}else if(zxbm.education=='2'){
  55. <span>本科</span>
  56. @}
  57. </td>
  58. <td>${zxbm.wentToSchool}</td>
  59. <td>
  60. <a class="btn_sc btn_a" target="_blank" href="${ctxPath}/ecZxbm/zxbm/detail/${zxbm.id}">
  61. <img src="${resPath}/syrc/images/jlzx_con_34.png"/>详情
  62. </a>
  63. </td>
  64. </tr>
  65. @}
  66. <tr>
  67. <td colspan="8">
  68. <div id="pagination" class="pagination"></div>
  69. </td>
  70. </tr>
  71. </table>
  72. <script type="text/javascript">
  73. var datatotal = '${model.total}';
  74. var pageAmount =10;
  75. var pagenum = '${model.pageNum}';
  76. pageTotal=Math.ceil(datatotal/pageAmount);
  77. if(pageTotal>10){
  78. pageSize=10
  79. }else{
  80. pageSize=pageTotal
  81. }
  82. window.onload = function () {
  83. new myPagination({
  84. id: 'pagination',
  85. curPage:pagenum, //初始页码
  86. pageTotal: pageTotal, //总页数
  87. pageAmount: pageAmount, //每页多少条
  88. dataTotal: datatotal, //总共多少条数据
  89. getPage: function (page) {
  90. window.location.href ='${ctxPath}/ecZxbm/zxbm/list/${contentId}?pageNum='+page;
  91. }
  92. })
  93. }
  94. function detail(contentId){
  95. $.post("${ctxPath}/qyzx/recovery/"+contentId,function(res){
  96. let json = JSON.parse(res);
  97. if(json.statusCode == "300"){
  98. alert("系统错误,数据获取失败!");
  99. }
  100. location.reload();
  101. });
  102. }
  103. function exportExcel() {
  104. $.post("${ctxPath}/ecZxbm/excelCount/${contentId}",function(res){
  105. if(res == 0){
  106. alert("未查询到数据!");
  107. return;
  108. }
  109. location.href = "${ctxPath}/ecZxbm/excel/${contentId}";
  110. });
  111. }
  112. </script>
  113. </div>
  114. </div>
  115. <!-- 应聘人才管理 结束-->
  116. </div>
  117. </div>
  118. </div>
  119. <!--内容结束-->
  120. @includeFileTemplate("/www/syrc/include/footer.html",{"current":"index"}){}
  121. <!--遮盖层-->
  122. <div id="layer_back_drop" class="layer_back_drop_class" style=""></div>
  123. <!--遮盖层-->