channelplanFinalCheckDetail.js 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. /**
  2. * 终审通过
  3. */
  4. /*function finalPass(){
  5. var recommendType=$("#recommendType").val();
  6. var checkMsg=$("#checkMsg").val();
  7. $.ajax({
  8. url : Feng.ctxPath + "/channelplanExpert/finalPass?checkMsg="+checkMsg+"&recommendType="+recommendType,
  9. type : 'GET',
  10. dataType : 'json',
  11. success : function(data) {
  12. console.log(1);
  13. },
  14. error : function(msg) {
  15. console.log(0);
  16. }
  17. });
  18. }*/
  19. /**
  20. * 终审退回
  21. */
  22. /*function finalFail(){
  23. var recommendType=$("#recommendType").val();
  24. var checkMsg=$("#checkMsg").val();
  25. $.ajax({
  26. url : Feng.ctxPath + "/channelplanExpert/finalFail?checkMsg="+checkMsg+"&recommendType="+recommendType,
  27. type : 'GET',
  28. dataType : 'json',
  29. success : function(data) {
  30. console.log(1);
  31. },
  32. error : function(msg) {
  33. console.log(0);
  34. }
  35. });
  36. }*/
  37. /**
  38. * 关闭窗口
  39. */
  40. function layerClose(){
  41. parent.layer.close(window.parent.layer.getFrameIndex(window.name));
  42. }
  43. $(function() {
  44. //获取推荐类别
  45. Feng.addAjaxSelect({
  46. "id": "recommendType",
  47. "displayCode": "code",
  48. "displayName": "name",
  49. "type": "GET",
  50. "url": Feng.ctxPath + "/dict/findChildDictByCode?code=un_declareSort"
  51. });
  52. $("select").each(function () {
  53. $(this).val($(this).attr("selectVal"));
  54. });
  55. });