gjrc-zgjgw.html 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. <!doctype html>
  2. <html>
  3. @includeFileTemplate("/www/syrc-mobile/include/gjrc-header.html",{"current":"index"}){}
  4. <body style=" overflow-y:auto;">
  5. <div id="pageWp" class="bb">
  6. <div id="pageTop" >
  7. <!-- top 头部 开始-->
  8. @includeFileTemplate("/www/syrc-mobile/include/gjrc-title.html",{"current":"index"}){}
  9. <!-- top 头部 结束-->
  10. <!--简历nav 开始-->
  11. <div class="jl_nav gjrcnav">
  12. <a class="fl" href="${frontPath!}/4/1009.html">高级人才首页</a>
  13. <a class="hea_xl fr"></a>
  14. <!--下拉-->
  15. @includeFileTemplate("/www/syrc-mobile/include/gjrc-ul.html",{"current":"index"}){}
  16. <!--下拉 end-->
  17. </div>
  18. <div class="clear"></div>
  19. <!--简历nav 结束-->
  20. </div>
  21. <div id="pageContent">
  22. <div class="mod">
  23. <div class="t t2">中高级岗位</div>
  24. <div class="items">
  25. @for(user in model.list){
  26. <div class="e eck" >
  27. <h3>${user.zw_zwmc}</h3>
  28. <a href="${ctxPath}/qyzx/qyXq?qy_id=${user.qy_id!}"><aside>${user.qy_qymc}</aside></a>
  29. <p class="items_p">
  30. <a class="sqzw"
  31. @if(session.tbZhInfo_loginSession !=null){
  32. onclick="zwsclist('${user.zw_id}');"
  33. @}
  34. @else {
  35. onclick="jinggao('${ctxPath}/gjrc/zgjgw')";
  36. @}
  37. >申请职位</a>
  38. <a class="t5 delrsm"
  39. @if(session.tbZhInfo_loginSession !=null){
  40. onclick="sqzwlist('${user.zw_id}');"
  41. @}
  42. @else {
  43. onclick="jinggao('${ctxPath}/gjrc/zgjgw')";
  44. @}
  45. >收藏</a></p>
  46. <i class="adr">长春-汽车产业开发区</i><font class="time">2019-10-08</font>
  47. </div>
  48. @}
  49. </div>
  50. </div>
  51. </div>
  52. </div>
  53. @includeFileTemplate("/www/syrc-mobile/include/gjrc-footer.html",{"current":"index"}){}
  54. </body>
  55. <script type="text/javascript">
  56. $("..gjrcb_cont dt").hover(function(){
  57. $(this).children('.gsxx_btn').fadeIn(300);
  58. },function(){
  59. $(this).children('.gsxx_btn').fadeOut(300);
  60. });
  61. function zwsclist(zw_id){
  62. $.ajax({
  63. url:"${ctxPath}/cms/resume/zwsc", //请求的url地址
  64. dataType:"json", //返回格式为json
  65. data:{zw_id:zw_id}, //参数值
  66. type:"post", //请求方式
  67. success:function(data){
  68. alert(data.message);
  69. }
  70. });
  71. }
  72. function sqzwlist(ZW_ID){
  73. $.ajax({
  74. url:"${ctxPath}/cms/resume/wdscsqzw", //请求的url地址
  75. dataType:"json", //返回格式为json
  76. data:{zwId:ZW_ID}, //参数值
  77. type:"post", //请求方式
  78. success:function(data){
  79. alert(data.message);
  80. }
  81. });
  82. }
  83. function xq(id){
  84. window.open('${ctxPath}/qyzx/gwXq?zw_id='+id);
  85. }
  86. </script>
  87. <script type="text/javascript">
  88. function jinggao(url){
  89. alert("对不起!您还未登录,请您先登录");
  90. var test='${ctxPath}/system/reception/nologin';
  91. mypost(test,{"url":url});
  92. }
  93. function mypost(url, params) {
  94. // 创建form
  95. var temp_form = document.createElement("form");
  96. // 设置form
  97. temp_form .action = url;
  98. temp_form .target = "_self";
  99. temp_form .method = "post";
  100. temp_form .style.display = "none";
  101. // 处理需要传递的参数
  102. for (var x in params) {
  103. var opt = document.createElement("textarea");
  104. opt.name = x;
  105. opt.value = params[x];
  106. temp_form .appendChild(opt);
  107. }
  108. document.body.appendChild(temp_form);
  109. // 提交表单
  110. temp_form .submit();
  111. }
  112. </script>
  113. </html>