userinfo.js 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. import request from './request.js';
  2. export default {
  3. //获取token
  4. decrypt: function(data) {
  5. return request({
  6. url: '/decrypt',
  7. method: 'post',
  8. headers:{
  9. 'Content-type':'multipart/form-data;charset=UTF-8'
  10. },
  11. data
  12. })
  13. },
  14. //获取用户信息
  15. getUserInfo: function(data) {
  16. return request({
  17. url: '/find_patient',
  18. method: 'post',
  19. data
  20. })
  21. },
  22. //体征
  23. find_physical: function(data) {
  24. return request({
  25. url: '/find_physical',
  26. method: 'post',
  27. data
  28. })
  29. },
  30. //药品分页
  31. find_medicinal_page: function(data) {
  32. return request({
  33. url: '/find_medicinal_page',
  34. method: 'post',
  35. data
  36. })
  37. },
  38. //眼底分页
  39. find_eye_page: function(data) {
  40. return request({
  41. url: '/find_eye_page',
  42. method: 'post',
  43. data
  44. })
  45. },
  46. //内外网
  47. ifoss: function(data) {
  48. return request({
  49. url: '/ifoss',
  50. method: 'post',
  51. data
  52. })
  53. },
  54. //居家检测
  55. find_home_data: function(data) {
  56. return request({
  57. url: '/find_home_data',
  58. method: 'post',
  59. data
  60. })
  61. },
  62. //健康报告
  63. find_health_report: function(data) {
  64. return request({
  65. url: '/find_health_report',
  66. method: 'post',
  67. data
  68. })
  69. },
  70. //健康报告
  71. find_hospital: function(data) {
  72. return request({
  73. url: '/find_hospital',
  74. method: 'post',
  75. data
  76. })
  77. },
  78. }