http.js 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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. }