http.js 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. import http from '@/https/request.js'
  2. export default {
  3. // 地区信息
  4. area_tree(data){ return http('/api/common/area_tree' , "GET" , data) },
  5. //用户登录
  6. passwordLogin(data){ return http('/api/passwordLogin' , "POST" , data) },
  7. //用户信息
  8. getUserInfo(data){ return http('/api/getUserInfo' , "POST" , data) },
  9. //短信接口
  10. smsSend(data){ return http('/api/smsSend' , "POST" , data) },
  11. //忘记密码
  12. ForgetPassword(data){ return http('/api/ForgetPassword' , "POST" , data) },
  13. //完善信息
  14. completeInformation(data){ return http('/api/completeInformation' , "POST" , data) },
  15. //获取系统设置
  16. configInfo(data){ return http('/api/configInfo' , "POST" , data) },
  17. //上传接口
  18. uploadLocality(data){ return http('/api/uploadLocality' , "POST" , data) },
  19. //上传分类
  20. getUploadingName(data){ return http('/api/getUploadingName' , "POST" , data) },
  21. //病例分类
  22. getCaseName(data){ return http('/api/getCaseName' , "POST" , data) },
  23. //病例上传
  24. patientQuide(data){ return http('/api/patientQuide' , "POST" , data) },
  25. //病例列表
  26. patientQuideByPhongList(data){ return http('/api/patientQuideByPhongList' , "POST" , data) },
  27. //专家病例列表
  28. patientListZj(data){ return http('/api/patientListZj' , "POST" , data) },
  29. //病例编辑
  30. patientQuideEdit(data){ return http('/api/patientQuideEdit' , "POST" , data) },
  31. //上传接口2
  32. uploadLocality2(data){ return http('/api/uploadLocality2' , "POST" , data) },
  33. //问卷
  34. topicAdd(data){ return http('/api/topicAdd' , "POST" , data) },
  35. // 问卷数量
  36. getTopicNum(data){ return http('/api/getTopicNum' , "POST" , data) },
  37. // 问卷列表
  38. quesMessage(data){ return http('/api/quesMessage' , "POST" , data) },
  39. // 问卷详情
  40. quesInfo(data){ return http('/api/quesInfo' , "GET" , data) },
  41. // 提交问卷
  42. noteAdd(data){ return http('/api/noteAdd' , "POST" , data) },
  43. // 获取隐私政策
  44. getPrivacy(data){ return http('/api/getPrivacy' , "POST" , data) },
  45. // 获取登录人公司
  46. getCompName(data){ return http('/api/getCompName' , "GET" , data) },
  47. // 勾选个人公司
  48. setCompNameTrue(data){ return http('/api/setCompNameTrue' , "GET" , data) },
  49. // 获取用户签约状态
  50. getApiUserSignStatus(data){ return http('/api/getApiUserSignStatus' , "GET" , data) },
  51. // 获取签约协议
  52. getUserAgreement(data){ return http('/api/getUserAgreement' , "GET" , data) },
  53. // 签署协议
  54. agreeUserAgreement(data){ return http('/api/agreeUserAgreement' , "GET" , data) },
  55. // 四要素验证(下发验证码)
  56. perfectInformation(data){ return http('/api/perfectInformation' , "POST" , data) },
  57. // 完善个人信息
  58. perfectInformationUpload(data){ return http('/api/perfectInformationUpload' , "POST" , data) },
  59. // 小程序转账列表
  60. transList(data){ return http('/api/transList' , "GET" , data) },
  61. }