123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137 |
- <!doctype html>
- <html>
- <head>
- <meta charset="utf-8">
- <title>${siteTitle!}</title>
- <link rel="stylesheet" type="text/css" href="${resPath}/bcrc/css/ly_html.css">
- <link rel="stylesheet" type="text/css" href="${resPath}/bcrc/css/bcrc-body.css">
- <link rel="stylesheet" type="text/css" href="${resPath}/bcrc/css/bcrc-page.css">
- <link rel="stylesheet" type="text/css" href="${resPath}/syrc/css/myPagination.css">
- <script src="${resPath}/syrc/js/myPagination.js"></script>
- <script src="${resPath}/syrc/js/jquery-1.7.2.min.js"></script>
- <script src="${resPath}/syrc/js/qyzx_js .js"></script>
- <script type="text/javascript" src="${resPath}/bcrc/js/TL_Tab.js"></script>
- </head>
- <body onload="fenye();">
- <div class="contentbig">
- @includeFileTemplate("/www/syrc/include/header.html",{"current":"index"}){}
- <!--内容开始-->
- <div class="wz_cont">
- <div class="wz_cont_in">
- <div class="dqwz">当前位置:<a href="${frontPath!}/4">首页</a>>>发布职位管理</div>
- <div class=" clearfix">
- <div class="con_left fl">
- <h4><img src="${resPath}/bcrc/images/qyzx_03.png"/></h4>
- <ul class="left_nav">
- @includeFileTemplate("/www/syrc/include/qyzx-eightOtherLeftMeun.html",{"current":"index"}){}
- </ul>
- </div>
- <div class="con_right fr">
- <!--简历中心 开始-->
- <div class="all_title"><a><span>发布职位管理</span></a></div>
- <table class=" con_table">
- <thead>
- <th width="200">岗位名称</th>
- <th width="100">招聘人数</th>
- <th width="100">收藏次数</th>
- <th width="200">发布日期</th>
- <th width="200">更新日期</th>
- <th width="200">操作</th>
- </thead>
- @for(user in model.list){
- <tr>
- <td>${user.zw_zwmc}</td>
- <td>${user.zw_zprs}</td>
- <td>${user.zw_gznx}</td>
- <td>${strutil.subStringTo(user.zw_fbsc,0,10)}</td>
- <td>${user.zw_gxrq}</td>
- <td>
- <a class="btn_bj btn_a" href="javascript:void(0)" onclick="bianji('${user.zw_id}');"><img src="${resPath}/bcrc/images/jlzx_con_46.png"/>编辑</a>
- <a class="btn_sc btn_a" onclick="shanchu('${user.zw_id}');" href="javascript:void(0)"><img src="${resPath}/bcrc/images/jlzx_con_11.png"/>删除</a>
- </td>
- </tr>
- @}
- <tr>
- <td colspan="6">
- <div id="pagination" class="pagination"></div>
- </td>
- </tr>
- </table>
- <script type="text/javascript">
- var datatotal = '${model.total}';
- var pageAmount =5;
- var pagenum = '${model.pageNum}';
- pageTotal=Math.ceil(datatotal/pageAmount);
- if(pageTotal>5){
- pageSize=5
- }else{
- pageSize=pageTotal
- }
- window.onload = function () {
- new myPagination({
- id: 'pagination',
- curPage:pagenum, //初始页码
- pageTotal: pageTotal, //总页数
- pageAmount: pageAmount, //每页多少条
- dataTotal: datatotal, //总共多少条数据
- getPage: function (page) {
- window.location.href ='${ctxPath}/qyzx/goToQyzxFbzwgl?pageNum='+page;
- }
- })
- }
- function tzym(){
- window.location.href="${ctxPath}/qyzx/goToQyzxFbzwgl";
- }
- function tzym2(){
- window.location.href="${ctxPath}/qyzx/goToQyzxFbzwglForztfb";
- }
- function shanchu(zw_id){
- var gnl=confirm("你真的确定要删除吗?");
- if (gnl==true){
- window.location.href="${ctxPath}/qyzx/gwDeleteById?zw_id="+zw_id;
- return true;
- }
- else{
- return false;
- }
- }
- function bianji(id){
- var test='${ctxPath}/qyzx/selectOne?zw_id='+id;
- var url=location.href;
- mypost(test,{"url":url});
- }
- function mypost(url, params) {
- var temp_form = document.createElement("form");
- temp_form .action = url;
- temp_form .target = "_self";
- temp_form .method = "post";
- temp_form .style.display = "none";
- for (var x in params) {
- var opt = document.createElement("textarea");
- opt.name = x;
- opt.value = params[x];
- temp_form .appendChild(opt);
- }
- document.body.appendChild(temp_form);
- temp_form .submit();
- }
- </script>
- </div>
- </div>
- </div>
- </div>
- <!--内容结束-->
- @includeFileTemplate("/www/syrc/include/footer.html",{"current":"index"}){}
- </div>
- </body>
- </html>
|