2f975730721facba5befe8b2e07edfd205445c2a.svn-base 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. //客户进行问题反馈
  2. $(function(){
  3. if((window.location.href).indexOf('?')>-1){
  4. var fd_id = (window.location.href).split('?')[1];
  5. var url = $.pathname() + '/ws/crud/CRUDService/getDataById/';
  6. var params = {
  7. classid : '750',
  8. objectID : fd_id };
  9. $.ajax({
  10. url : url,
  11. type : 'post',
  12. timeout : 60000,
  13. data : params,
  14. dataType : 'json',
  15. success : function(data){
  16. $('#fillForm').ajaxWrite({data:data});
  17. $('#fillForm input[name="classid"]').val('750');
  18. $("#SUBMIT_UNIT_750").val(SUBMIT_UNIT_750);
  19. $("#SUBMIT_PERSION1_750").val(SUBMIT_PERSION1_750);
  20. $("#SUBMIT_TIME_750").val(SUBMIT_TIME_750);
  21. $("#MY_QUESTION_750").val( MY_QUESTION_750);
  22. $("#QUESTION_DESCRIPT_750").val(QUESTION_DESCRIPT_750);
  23. $("#RESOLVE_METHOD_750").val(RESOLVE_METHOD_750);
  24. $("#RESOLVE_TIME_750").val(RESOLVE_TIME_750);
  25. $("#SUBMIT_PERSION2_750").val(SUBMIT_PERSION2_750);
  26. } });
  27. }else{
  28. //新增
  29. window.location.href="/nwyj/page/system/questionHuiZong/questionHuiZong_List.jsp";
  30. }
  31. });
  32. //返回
  33. function goBack(){
  34. window.location.href="/nwyj/page/system/questionHuiZong/questionHuiZong_List.jsp";
  35. }