curingFN.js 835 B

12345678910111213141516171819202122232425262728
  1. /**
  2. * 编办下拉筛选-统一请求
  3. * @returns
  4. */
  5. function curingByCompilation(compilation,latestCompilation){
  6. $.ajax({
  7. cache :false,
  8. type: 'GET',
  9. url: '/cloud/curing/ajax/refreshCuringPage?compilation='+compilation+'&latestCompilation='+latestCompilation,
  10. //data: { mobile: mobile },
  11. dataType: 'json',
  12. context: $('body'),
  13. success: function(data){
  14. console.log(data);
  15. if(data.status==1||data.status==2){
  16. fnStructureCuringUser(data.curingList);
  17. fnPage(data.pageData);
  18. }else if(data.status==3){
  19. //$('div[upCuringBox]').hide();
  20. //$('p[upCuringBox]').show();
  21. }
  22. },
  23. error: function(xhr, type){
  24. console.log('Ajax error!')
  25. }
  26. })
  27. }