userinfo.js 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  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. isDataAll: true
  13. })
  14. },
  15. //获取用户信息
  16. getUserInfo: function(data) {
  17. return request({
  18. url: '/find_patient',
  19. method: 'post',
  20. data
  21. })
  22. },
  23. //体征
  24. find_physical: function(data) {
  25. return request({
  26. url: '/find_physical',
  27. method: 'post',
  28. data
  29. })
  30. },
  31. //药品分页
  32. find_medicinal_page: function(data) {
  33. return request({
  34. url: '/find_medicinal_page',
  35. method: 'post',
  36. data
  37. })
  38. },
  39. //眼底分页
  40. find_eye_page: function(data) {
  41. return request({
  42. url: '/find_eye_page',
  43. method: 'post',
  44. data
  45. })
  46. },
  47. //内外网
  48. ifoss: function(data) {
  49. return request({
  50. url: '/ifoss',
  51. method: 'post',
  52. data
  53. })
  54. },
  55. //居家检测
  56. find_home_data: function(data) {
  57. return request({
  58. url: '/find_home_data',
  59. method: 'post',
  60. data
  61. })
  62. },
  63. //健康报告
  64. find_health_report: function(data) {
  65. return request({
  66. url: '/find_health_report',
  67. method: 'post',
  68. data
  69. })
  70. },
  71. //健康报告
  72. find_hospital: function(data) {
  73. return request({
  74. url: '/find_hospital',
  75. method: 'post',
  76. data
  77. })
  78. },
  79. }