• TOP

    Welcome !

    CLINSCHAIN is a leading professional clinical supply service company.


    Email :HRRecruitment@zjchengbo.com
    Email note: Application position+name

    Hot Positions

    " */ if (addressf == null || addressf == ""){ context = context + "
  • " + title + "locations:" + address + "Edu:" + education + "

  • " } else { context = context + "
  • " + title + "locations:" + address + "Edu:" + education + "

  • " } } $("#joinUl").html(context); } function getJoinsByPage(pageNum) { var url = '/system/joinEn/getJoinsByPage' + '?pageNum=' + pageNum + '&pageSize=' + pageSize; $.ajax({ url : url, type : 'POST', dataType : 'json', contentType : 'application/json', success : function(response) { console.log(response) //var totalRecords = response.data.total; //总共有几条数据 totalPage = response.data.pages; //总页数 //var currentPageNum = response.data.pageNum; //当前页 joinList = response.data.list; setupJoinList(joinList); setupPage2(pageNum, totalPage); //$('#totalRecords').text("总共:" + totalRecords + "条数据 " + "第" + currentPageNum + "/" + totalPages + "页"); } }); }; /* $('.joinList h2').click(function() { $(this).siblings('.joinTxt').slideToggle() $(this).parents('li').siblings().children('.joinTxt').slideUp() $(this).parents('li').siblings().find('b').removeClass('on') if ($(this).children('b').hasClass('on')) { $(this).children('b').removeClass('on') } else { $(this).children('b').addClass('on') } }) $(document).on("click", ".joinList h2", function() { $(this).siblings('.joinTxt').slideToggle() $(this).parents('li').siblings().children('.joinTxt').slideUp() $(this).parents('li').siblings().find('b').removeClass('on') if ($(this).children('b').hasClass('on')) { $(this).children('b').removeClass('on') } else { $(this).children('b').addClass('on') } }) */ function setupPage2(pageNum, totalPage) { var context = ""; for (i = 1; i <= totalPage; i++) { var strA = "" + i + ""; if (i == pageNum) { strA = "" + i + ""; } context = context + strA; } context = context + ""; $("#page2").html(context); } $(document).on("click", ".page2 a.pnum", function() { var pNum = $(this).text(); pageNum = pNum; getJoinsByPage(pageNum); }) $(document).on("click", "#prevBtn", function() { if (pageNum > 1) { pageNum--; getJoinsByPage(pageNum); } else { // 已经是第一页 ,弹出提示框 alert("已经是第一页"); } }); $(document).on("click", "#nextBtn", function() { if (pageNum < totalPage) { pageNum++; getJoinsByPage(pageNum); } else { // 已经是最后一页 ,弹出提示框 alert("已经是最后一页"); } });