profileTp.js 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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. //获取所有使用商品ID
  22. getbaseprofiletplist(data) {
  23. return myRequest({
  24. url: '/base/profile/tp/goods_list',
  25. method: 'get',
  26. data: data
  27. })
  28. },
  29. //获取填写资料审核详细信息
  30. getbaseprofiletpgetInfo(data) {
  31. return myRequest({
  32. url: '/base/profile/tp/getInfo',
  33. method: 'get',
  34. data: data
  35. })
  36. },
  37. //查询资料模板列表
  38. getbaseprofiletplists(data) {
  39. return myRequest({
  40. url: '/base/profile/tp/list',
  41. method: 'get',
  42. data: data
  43. })
  44. },
  45. //查询填写资料审核列表
  46. getbaseprofiletplistProfile(data) {
  47. return myRequest({
  48. url: '/base/profile/tp/listProfile',
  49. method: 'get',
  50. data: data
  51. })
  52. },
  53. //获取资料模板详细信息
  54. getbaseprofiletpId(data) {
  55. return myRequest({
  56. url: '/base/profile/tp/' + data,
  57. method: 'get'
  58. })
  59. },
  60. }