management-api.js 959 B

12345678910111213141516171819202122232425
  1. (function(){
  2. var managementApis = {
  3. getListCount: function(data) {
  4. return APIService.httpGet('doctor/prescriptionInfo/getDoctorPrescriptionTotal', data);
  5. },
  6. getListTableAjaxObj: { //表格数据获取时,使用的ajax请求配置
  7. method: 'get',
  8. url: APIService.server + 'doctor/prescriptionInfo/getDoctorPrescription',
  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. getFilterInfo: function(data){
  20. return APIService.httpGet('doctor/prescriptionInfo/getPrescriptionFilter', data);
  21. }
  22. };
  23. window.managementApis = managementApis;
  24. })(jQuery)