userinfo.js 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  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. findIdCard: function(params) {
  17. return request({
  18. url: '/findIdCard',
  19. method: 'get',
  20. headers: {
  21. 'Content-type': 'multipart/form-data;charset=UTF-8'
  22. },
  23. params,
  24. isDataAll: true
  25. })
  26. },
  27. //获取用户信息
  28. getUserInfo: function(data) {
  29. return request({
  30. url: '/find_patient',
  31. method: 'post',
  32. data
  33. })
  34. },
  35. //体征
  36. find_physical: function(data) {
  37. return request({
  38. url: '/find_physical',
  39. method: 'post',
  40. data
  41. })
  42. },
  43. //药品分页
  44. find_medicinal_page: function(data) {
  45. return request({
  46. url: '/find_medicinal_page',
  47. method: 'post',
  48. data
  49. })
  50. },
  51. //眼底分页
  52. find_eye_page: function(data) {
  53. return request({
  54. url: '/find_eye_page',
  55. method: 'post',
  56. data
  57. })
  58. },
  59. //内外网
  60. ifoss: function(data) {
  61. return request({
  62. url: '/ifoss',
  63. method: 'post',
  64. data
  65. })
  66. },
  67. //居家检测
  68. find_home_data: function(data) {
  69. return request({
  70. url: '/find_home_data',
  71. method: 'post',
  72. data
  73. })
  74. },
  75. //健康报告
  76. find_health_report: function(data) {
  77. return request({
  78. url: '/find_health_report',
  79. method: 'post',
  80. data
  81. })
  82. },
  83. //医院
  84. find_hospital: function(data) {
  85. return request({
  86. url: '/find_hospital',
  87. method: 'post',
  88. data
  89. })
  90. },
  91. //工作台
  92. find_workspace: function(params) {
  93. return request({
  94. url: '/workspace',
  95. method: 'get',
  96. params
  97. })
  98. },
  99. }