6e8ed1ca448d1f5d31744f04fa04b7ed1fdba1e3.svn-base 611 B

1234567891011121314151617181920212223242526272829
  1. var fd_id = (window.location.href).split('?')[1];
  2. var sub_fd_id = (window.location.href).split('?')[2];
  3. $(function(){
  4. getFileList(sub_fd_id,0);
  5. //查询信息
  6. var url = $.pathname() + '/ws/crud/CRUDService/getDataById/';
  7. var params = {
  8. classid : '214',
  9. objectID : fd_id
  10. };
  11. $.ajax({
  12. url : url,
  13. type : 'post',
  14. timeout : 60000,
  15. data : params,
  16. dataType : 'json',
  17. success : function(data){
  18. for(var i in data){
  19. $('#'+i).html(data[i]);
  20. }
  21. },
  22. error : function(e){
  23. $.messager.alert('系统提示信息', '访问服务失败!', 'error');
  24. }
  25. });
  26. });