jianchajianyan-api.js 758 B

1234567891011121314151617181920212223
  1. (function(){
  2. var apis = {
  3. getList: function(data){
  4. return APIService.httpGet('doctor/archives/event/report', data);
  5. },
  6. getListTableAjaxObj: { //表格数据获取时,使用的ajax请求配置
  7. method: 'get',
  8. url: APIService.server + 'doctor/archives/event/report',
  9. contentType: "application/json",
  10. dataType: "json",
  11. ajaxOptions: {
  12. beforeSend: function(request) {
  13. var userAgent = APIService.userAgent;
  14. userAgent = JSON.stringify(userAgent);
  15. request.setRequestHeader("userAgent", userAgent);
  16. }
  17. }
  18. }
  19. };
  20. window.janchaAPI = apis;
  21. })(jQuery)