index.ts 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. import request from '@/utils/request';
  2. // 解决方案/采购方案列表
  3. export function getPurchaseCategoryList(query: any) {
  4. return request({
  5. url: '/system/indexSystem/getPurchaseCategoryList',
  6. method: 'get',
  7. params: query
  8. });
  9. }
  10. // 解决方案/采购方案详情
  11. export function getProcurementProgramDetail(id: any) {
  12. return request({
  13. url: '/product/indexProduct/getProcurementProgramDetail/' + id,
  14. method: 'get'
  15. });
  16. }
  17. // 解决方案/采购方案详情下的分组
  18. export function getProcurementProgramGroupList(id: any) {
  19. return request({
  20. url: '/product/indexProduct/getProcurementProgramGroupList/' + id,
  21. method: 'get'
  22. });
  23. }
  24. // 解决方案/采购方案分组下的商品
  25. export function getProcurementProgramGroupProductList(query: any) {
  26. return request({
  27. url: '/product/indexProduct/getProcurementProgramGroupProductList',
  28. method: 'get',
  29. params: query
  30. });
  31. }
  32. // 场景采购列表
  33. export function getProductProgramPage(query: any) {
  34. return request({
  35. url: '/product/indexProduct/getProductProgramPage',
  36. method: 'get',
  37. params: query
  38. });
  39. }
  40. // 采购方案列表
  41. export function getProcurementProgramList(query: any) {
  42. return request({
  43. url: '/product/indexProduct/getProcurementProgramList',
  44. method: 'get',
  45. params: query
  46. });
  47. }
  48. // 客户行业
  49. export function getCustomerIndustry(query: any) {
  50. return request({
  51. url: '/customer/indexCustomer/getCustomerIndustry',
  52. method: 'get',
  53. params: query
  54. });
  55. }
  56. // 项目类型
  57. export function getProjectTypeList(query: any) {
  58. return request({
  59. url: '/system/indexSystem/getProjectTypeList',
  60. method: 'get',
  61. params: query
  62. });
  63. }
  64. // 适配场景列表
  65. export function getAdaptSceneList(query: any) {
  66. return request({
  67. url: '/system/indexSystem/getAdaptSceneList',
  68. method: 'get',
  69. params: query
  70. });
  71. }
  72. // 获取价格区间列表
  73. export function getPriceRangeList(query: any) {
  74. return request({
  75. url: '/system/indexSystem/getPriceRangeList',
  76. method: 'get',
  77. params: query
  78. });
  79. }
  80. // 推荐标签
  81. export function getCustomerTag(query: any) {
  82. return request({
  83. url: '/customer/indexCustomer/getCustomerTag',
  84. method: 'get',
  85. params: query
  86. });
  87. }
  88. // 采购指南列表
  89. export function getPurchaseGuideList(query: any) {
  90. return request({
  91. url: '/product/indexProduct/getPurchaseGuideList',
  92. method: 'get',
  93. params: query
  94. });
  95. }
  96. // 采购指南详情
  97. export function getPurchaseGuideDetail(id: any) {
  98. return request({
  99. url: '/product/indexProduct/getPurchaseGuideDetail/' + id,
  100. method: 'get'
  101. });
  102. }
  103. // 项目案例列表
  104. export function getProjectCaseAllList(query: any) {
  105. return request({
  106. url: '/product/indexProduct/getProjectCaseAllList',
  107. method: 'get',
  108. params: query
  109. });
  110. }
  111. // 项目案例详情
  112. export function getProjectCaseDetail(id: any) {
  113. return request({
  114. url: '/product/indexProduct/getProjectCaseDetail/' + id,
  115. method: 'get'
  116. });
  117. }
  118. // 咨迅详情
  119. export function getYouYzXunInfo(id: any) {
  120. return request({
  121. url: '/system/indexSystem/getYouYiZiXunInfo/' + id,
  122. method: 'get'
  123. });
  124. }