profileTp.js 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. import {
  2. myRequest
  3. } from '../request.js'
  4. export default {
  5. //新增资料模板
  6. addbaseprofiletp(data) {
  7. return myRequest({
  8. url: '/base/profile/tp',
  9. method: 'post',
  10. data: data
  11. })
  12. },
  13. //修改资料模板
  14. editbaseprofiletp(data) {
  15. return myRequest({
  16. url: '/base/profile/tp/edit',
  17. method: 'post',
  18. data: data
  19. })
  20. },
  21. //更新七大员承诺书
  22. updateCommitment(data) {
  23. return myRequest({
  24. url: '/base/profile/tp/commitment/upload',
  25. method: 'post',
  26. data: data
  27. })
  28. },
  29. //获取所有使用商品ID
  30. getbaseprofiletplist(data) {
  31. return myRequest({
  32. url: '/base/profile/tp/goods_list',
  33. method: 'get',
  34. data: data
  35. })
  36. },
  37. //获取填写资料审核详细信息
  38. getbaseprofiletpgetInfo(data) {
  39. return myRequest({
  40. url: '/base/profile/tp/getInfo',
  41. method: 'get',
  42. data: data
  43. })
  44. },
  45. //查询资料模板列表
  46. getbaseprofiletplists(data) {
  47. return myRequest({
  48. url: '/base/profile/tp/list',
  49. method: 'get',
  50. data: data
  51. })
  52. },
  53. //查询填写资料审核列表
  54. getbaseprofiletplistProfile(data) {
  55. return myRequest({
  56. url: '/base/profile/tp/listProfile',
  57. method: 'get',
  58. data: data
  59. })
  60. },
  61. //获取资料模板详细信息
  62. getbaseprofiletpId(data) {
  63. return myRequest({
  64. url: '/base/profile/tp/' + data,
  65. method: 'get'
  66. })
  67. },
  68. //预约考试跳转判断
  69. courseoldgoodsredirect(data) {
  70. return myRequest({
  71. url: '/course/old/goods/redirect',
  72. method: 'get',
  73. data: data
  74. })
  75. },
  76. }