temp-api.js 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. (function(exports) {
  2. var tempAPI = {
  3. //获取居民信息
  4. getPatient: function(data) {
  5. return httpRequest.post("doctor/patient_label_info/patient",{data:data})
  6. },
  7. //获取家庭医生签约信息
  8. patientLabel: function(data) {
  9. return httpRequest.get("doctor/patient_label_info/patient_label",{data:data})
  10. },
  11. //获取医生团队信息
  12. getDoctorTeam: function(uid){
  13. return httpRequest.get('doctor/admin-teams/team/'+uid+'/teams')
  14. },
  15. //获取患者服务类型
  16. getSigndict: function(data) {
  17. return httpRequest.get("doctor/sign/getSigndict",{data:data})
  18. },
  19. //获取健康状况/疾病类型/团队标签等
  20. allLabels: function(data) {
  21. return httpRequest.get("doctor/patient_label/all_labels",{data:data})
  22. },
  23. //保存标签修改信息
  24. updateSignServerByCode: function(data) {
  25. return httpRequest.post("doctor/sign/updateSignServerByCode",{data:data})
  26. },
  27. //貌似是更新居民标签-》第五条对应信息
  28. patientLabelUpdate: function(data) {
  29. return httpRequest.post("doctor/patient_label_info/patient_label_update",{data:data})
  30. },
  31. //添加患者标签
  32. getLabelsByType: function(data) {
  33. return httpRequest.post("doctor/patient_label/labels_by_type",{data:data})
  34. },
  35. // 添加团队标签
  36. addTeamLabel: function(data) {
  37. return httpRequest.post("doctor/patient_label/add/teams",{data:data})
  38. },
  39. }
  40. exports.tempAPI = tempAPI;
  41. })(window)