瀏覽代碼

1-8-zl-前端

林小张 3 月之前
父節點
當前提交
ab3e04efd5
共有 100 個文件被更改,包括 1110 次插入0 次删除
  1. 二進制
      public/img/1家用电器.jpg
  2. 二進制
      public/img/3C数码家电.jpg
  3. 二進制
      public/img/LED大屏.jpg
  4. 二進制
      public/img/专属客服.png
  5. 二進制
      public/img/书写用品.jpg
  6. 二進制
      public/img/产品定制.png
  7. 二進制
      public/img/什湖好米.jpg
  8. 二進制
      public/img/会议室.jpg
  9. 二進制
      public/img/内页广告.jpg
  10. 二進制
      public/img/创维100V5-HG1会议平板触控一体机.png
  11. 二進制
      public/img/办公健身房.jpg
  12. 二進制
      public/img/办公室.jpg
  13. 二進制
      public/img/办公电脑.jpg
  14. 二進制
      public/img/员工管理.png
  15. 二進制
      public/img/品牌广告图片.jpg
  16. 二進制
      public/img/售后无忧.png
  17. 二進制
      public/img/商用碎纸机.jpg
  18. 二進制
      public/img/场景采购.png
  19. 二進制
      public/img/增值服务.png
  20. 二進制
      public/img/增票开具.png
  21. 二進制
      public/img/备品备件.png
  22. 二進制
      public/img/复印机.jpg
  23. 二進制
      public/img/大饼.jpg
  24. 二進制
      public/img/奔图.jpg
  25. 二進制
      public/img/安防监控.jpg
  26. 二進制
      public/img/家具解决方案.jpg
  27. 二進制
      public/img/小熊小家电.jpg
  28. 二進制
      public/img/小程序二维码.jpg
  29. 二進制
      public/img/工业装修-个人安防.jpg
  30. 二進制
      public/img/工业装修-五金工具.jpg
  31. 二進制
      public/img/工业装修-产品推荐.jpg
  32. 二進制
      public/img/工业装修-季节爆款.jpg
  33. 二進制
      public/img/希诺杯壶.jpg
  34. 二進制
      public/img/平台logo.png
  35. 二進制
      public/img/平台图标.png
  36. 二進制
      public/img/惠普.jpg
  37. 二進制
      public/img/手表.png
  38. 二進制
      public/img/打印机.jpg
  39. 二進制
      public/img/招商合作.png
  40. 二進制
      public/img/摩飞小家电.jpg
  41. 二進制
      public/img/新品推荐.png
  42. 二進制
      public/img/有线耳机.png
  43. 二進制
      public/img/格力.jpg
  44. 二進制
      public/img/梦洁锦玉梦韵四件套.png
  45. 二進制
      public/img/江润六边形折叠培训桌.png
  46. 二進制
      public/img/江润办公屏风办公桌.png
  47. 二進制
      public/img/江润双色塑钢培训椅.png
  48. 二進制
      public/img/江润多媒体讲台.png
  49. 二進制
      public/img/江润实验台.png
  50. 二進制
      public/img/洁丽雅纯棉四件套.png
  51. 二進制
      public/img/电器控制精选.jpg
  52. 二進制
      public/img/电饭煲.png
  53. 二進制
      public/img/登录设置.jpg
  54. 二進制
      public/img/登录设置2.jpg
  55. 二進制
      public/img/登录设置3.jpg
  56. 二進制
      public/img/登录设置4.jpg
  57. 二進制
      public/img/福利装修下的底部广告1.jpg
  58. 二進制
      public/img/福利装修下的底部广告2.jpg
  59. 二進制
      public/img/福利装修下的推荐广告1.jpg
  60. 二進制
      public/img/福利装修下的推荐广告2.jpg
  61. 二進制
      public/img/福利装修下的推荐广告3.jpg
  62. 二進制
      public/img/福利装修下的推荐广告4.jpg
  63. 二進制
      public/img/福礼装修下的长图广告.jpg
  64. 二進制
      public/img/红块.png
  65. 二進制
      public/img/罗技鼠标.jpg
  66. 二進制
      public/img/耳机.png
  67. 二進制
      public/img/联想.jpg
  68. 二進制
      public/img/茶水间.jpg
  69. 二進制
      public/img/蓝牙音箱.png
  70. 二進制
      public/img/账期支持.png
  71. 二進制
      public/img/采购方案.png
  72. 二進制
      public/img/针式打印.jpg
  73. 二進制
      public/img/钟石.jpg
  74. 二進制
      public/img/首页logo.png
  75. 二進制
      public/img/首页横幅广告.jpg
  76. 二進制
      public/img/高效会议一屏搞定.jpg
  77. 二進制
      public/img/默认头像.jpg
  78. 12 0
      src/api/customer/customerTag.ts
  79. 12 0
      src/api/customer/enterpriseScale.ts
  80. 54 0
      src/api/customer/industryCategory.ts
  81. 44 0
      src/api/customer/messagePublish.ts
  82. 26 0
      src/api/customer/salesInfo.ts
  83. 43 0
      src/api/customerOperation/recommendProduct.ts
  84. 54 0
      src/api/globalSetting/afterSale.ts
  85. 54 0
      src/api/globalSetting/maintenanceProject.ts
  86. 54 0
      src/api/globalSetting/maintenanceTime.ts
  87. 54 0
      src/api/globalSetting/maintenanceType.ts
  88. 54 0
      src/api/globalSetting/priceRange.ts
  89. 54 0
      src/api/globalSetting/projectType.ts
  90. 54 0
      src/api/globalSetting/purchaseCategory.ts
  91. 54 0
      src/api/globalSetting/recommendTag.ts
  92. 54 0
      src/api/globalSetting/scene.ts
  93. 54 0
      src/api/globalSetting/serviceGuarantee.ts
  94. 65 0
      src/api/globalSetting/serviceTime.ts
  95. 54 0
      src/api/globalSetting/volumeUnit.ts
  96. 54 0
      src/api/globalSetting/weightUnit.ts
  97. 54 0
      src/api/message/operationMessage.ts
  98. 44 0
      src/api/product/decorationFloorLink.ts
  99. 54 0
      src/api/product/giftCategory.ts
  100. 54 0
      src/api/product/giftCategoryLink.ts

二進制
public/img/1家用电器.jpg


二進制
public/img/3C数码家电.jpg


二進制
public/img/LED大屏.jpg


二進制
public/img/专属客服.png


二進制
public/img/书写用品.jpg


二進制
public/img/产品定制.png


二進制
public/img/什湖好米.jpg


二進制
public/img/会议室.jpg


二進制
public/img/内页广告.jpg


二進制
public/img/创维100V5-HG1会议平板触控一体机.png


二進制
public/img/办公健身房.jpg


二進制
public/img/办公室.jpg


二進制
public/img/办公电脑.jpg


二進制
public/img/员工管理.png


二進制
public/img/品牌广告图片.jpg


二進制
public/img/售后无忧.png


二進制
public/img/商用碎纸机.jpg


二進制
public/img/场景采购.png


二進制
public/img/增值服务.png


二進制
public/img/增票开具.png


二進制
public/img/备品备件.png


二進制
public/img/复印机.jpg


二進制
public/img/大饼.jpg


二進制
public/img/奔图.jpg


二進制
public/img/安防监控.jpg


二進制
public/img/家具解决方案.jpg


二進制
public/img/小熊小家电.jpg


二進制
public/img/小程序二维码.jpg


二進制
public/img/工业装修-个人安防.jpg


二進制
public/img/工业装修-五金工具.jpg


二進制
public/img/工业装修-产品推荐.jpg


二進制
public/img/工业装修-季节爆款.jpg


二進制
public/img/希诺杯壶.jpg


二進制
public/img/平台logo.png


二進制
public/img/平台图标.png


二進制
public/img/惠普.jpg


二進制
public/img/手表.png


二進制
public/img/打印机.jpg


二進制
public/img/招商合作.png


二進制
public/img/摩飞小家电.jpg


二進制
public/img/新品推荐.png


二進制
public/img/有线耳机.png


二進制
public/img/格力.jpg


二進制
public/img/梦洁锦玉梦韵四件套.png


二進制
public/img/江润六边形折叠培训桌.png


二進制
public/img/江润办公屏风办公桌.png


二進制
public/img/江润双色塑钢培训椅.png


二進制
public/img/江润多媒体讲台.png


二進制
public/img/江润实验台.png


二進制
public/img/洁丽雅纯棉四件套.png


二進制
public/img/电器控制精选.jpg


二進制
public/img/电饭煲.png


二進制
public/img/登录设置.jpg


二進制
public/img/登录设置2.jpg


二進制
public/img/登录设置3.jpg


二進制
public/img/登录设置4.jpg


二進制
public/img/福利装修下的底部广告1.jpg


二進制
public/img/福利装修下的底部广告2.jpg


二進制
public/img/福利装修下的推荐广告1.jpg


二進制
public/img/福利装修下的推荐广告2.jpg


二進制
public/img/福利装修下的推荐广告3.jpg


二進制
public/img/福利装修下的推荐广告4.jpg


二進制
public/img/福礼装修下的长图广告.jpg


二進制
public/img/红块.png


二進制
public/img/罗技鼠标.jpg


二進制
public/img/耳机.png


二進制
public/img/联想.jpg


二進制
public/img/茶水间.jpg


二進制
public/img/蓝牙音箱.png


二進制
public/img/账期支持.png


二進制
public/img/采购方案.png


二進制
public/img/针式打印.jpg


二進制
public/img/钟石.jpg


二進制
public/img/首页logo.png


二進制
public/img/首页横幅广告.jpg


二進制
public/img/高效会议一屏搞定.jpg


二進制
public/img/默认头像.jpg


+ 12 - 0
src/api/customer/customerTag.ts

@@ -0,0 +1,12 @@
+import request from '@/utils/request';
+
+/**
+ * 查询客户标签列表
+ */
+export function listCustomerTag(query?: any) {
+  return request({
+    url: '/customer/customerTag/list',
+    method: 'get',
+    params: query
+  });
+}

+ 12 - 0
src/api/customer/enterpriseScale.ts

@@ -0,0 +1,12 @@
+import request from '@/utils/request';
+
+/**
+ * 查询企业规模列表
+ */
+export function listEnterpriseScale(query?: any) {
+  return request({
+    url: '/customer/enterpriseScale/list',
+    method: 'get',
+    params: query
+  });
+}

+ 54 - 0
src/api/customer/industryCategory.ts

@@ -0,0 +1,54 @@
+import request from '@/utils/request';
+
+/**
+ * 查询所属行业列表
+ */
+export function listIndustryCategory(query?: any) {
+  return request({
+    url: '/customer/industryCategory/list',
+    method: 'get',
+    params: query
+  });
+}
+
+/**
+ * 查询所属行业详情
+ */
+export function getIndustryCategory(id: number | string) {
+  return request({
+    url: '/customer/industryCategory/' + id,
+    method: 'get'
+  });
+}
+
+/**
+ * 新增所属行业
+ */
+export function addIndustryCategory(data: any) {
+  return request({
+    url: '/customer/industryCategory',
+    method: 'post',
+    data
+  });
+}
+
+/**
+ * 修改所属行业
+ */
+export function updateIndustryCategory(data: any) {
+  return request({
+    url: '/customer/industryCategory',
+    method: 'put',
+    data
+  });
+}
+
+/**
+ * 删除所属行业
+ */
+export function delIndustryCategory(id: number | string) {
+  return request({
+    url: '/customer/industryCategory/' + id,
+    method: 'delete'
+  });
+}

+ 44 - 0
src/api/customer/messagePublish.ts

@@ -0,0 +1,44 @@
+import request from '@/utils/request';
+
+/**
+ * 消息发布-查询客户列表
+ */
+export function listMessagePublishCustomer(query?: any) {
+  return request({
+    url: '/customer/customerInfo/messagePublishList',
+    method: 'get',
+    params: query
+  });
+}
+
+/**
+ * 设置客户标签
+ */
+export function setCustomerInfoTag(data: { customerIds: number[]; tagIds: number[] }) {
+  return request({
+    url: '/customer/customerInfo/setCustomerInfoTag',
+    method: 'put',
+    data
+  });
+}
+
+/**
+ * 查询客户详情
+ */
+export function getCustomerInfo(id: number | string) {
+  return request({
+    url: '/customer/customerInfo/' + id,
+    method: 'get'
+  });
+}
+
+/**
+ * 修改客户信息
+ */
+export function updateCustomerInfo(data: any) {
+  return request({
+    url: '/customer/customerInfo',
+    method: 'put',
+    data
+  });
+}

+ 26 - 0
src/api/customer/salesInfo.ts

@@ -0,0 +1,26 @@
+import request from '@/utils/request';
+
+/**
+ * 分配业务人员
+ */
+export function assignStaff(data: {
+  customerId: number;
+  salesPersonId?: number;
+  serviceStaffId?: number;
+}) {
+  return request({
+    url: '/customer/salesInfo/assignStaff',
+    method: 'put',
+    data
+  });
+}
+
+/**
+ * 根据客户ID获取销售信息
+ */
+export function getSalesInfoByCustomerId(customerId: number) {
+  return request({
+    url: `/customer/salesInfo/getByCustomerId/${customerId}`,
+    method: 'get'
+  });
+}

+ 43 - 0
src/api/customerOperation/recommendProduct.ts

@@ -0,0 +1,43 @@
+import request from '@/utils/request';
+
+/**
+ * 查询推荐商品列表
+ */
+export function listProduct(query: any) {
+  return request({
+    url: '/product/base/recommendProduct/list',
+    method: 'get',
+    params: query
+  });
+}
+
+/**
+ * 更新商品推荐信息
+ */
+export function updateProduct(data: any) {
+  return request({
+    url: '/product/base',
+    method: 'put',
+    data
+  });
+}
+
+/**
+ * 获取品牌列表
+ */
+export function getBrandList() {
+  return request({
+    url: '/product/base/brandList',
+    method: 'get'
+  });
+}
+
+/**
+ * 获取分类树
+ */
+export function getCategoryTree() {
+  return request({
+    url: '/product/base/categoryTree',
+    method: 'get'
+  });
+}

+ 54 - 0
src/api/globalSetting/afterSale.ts

@@ -0,0 +1,54 @@
+import request from '@/utils/request';
+
+/**
+ * 查询售后服务列表
+ */
+export function listAfterSale(query?: any) {
+  return request({
+    url: '/product/afterSales/list',
+    method: 'get',
+    params: query
+  });
+}
+
+/**
+ * 查询售后服务详情
+ */
+export function getAfterSale(id: number | string) {
+  return request({
+    url: '/product/afterSales/' + id,
+    method: 'get'
+  });
+}
+
+/**
+ * 新增售后服务
+ */
+export function addAfterSale(data: any) {
+  return request({
+    url: '/product/afterSales',
+    method: 'post',
+    data
+  });
+}
+
+/**
+ * 修改售后服务
+ */
+export function updateAfterSale(data: any) {
+  return request({
+    url: '/product/afterSales',
+    method: 'put',
+    data
+  });
+}
+
+/**
+ * 删除售后服务
+ */
+export function delAfterSale(id: number | string) {
+  return request({
+    url: '/product/afterSales/' + id,
+    method: 'delete'
+  });
+}

+ 54 - 0
src/api/globalSetting/maintenanceProject.ts

@@ -0,0 +1,54 @@
+import request from '@/utils/request';
+
+/**
+ * 查询维保项目列表
+ */
+export function listMaintenanceProject(query?: any) {
+  return request({
+    url: '/customer/serverItem/list',
+    method: 'get',
+    params: query
+  });
+}
+
+/**
+ * 查询维保项目详情
+ */
+export function getMaintenanceProject(id: number | string) {
+  return request({
+    url: '/customer/serverItem/' + id,
+    method: 'get'
+  });
+}
+
+/**
+ * 新增维保项目
+ */
+export function addMaintenanceProject(data: any) {
+  return request({
+    url: '/customer/serverItem',
+    method: 'post',
+    data
+  });
+}
+
+/**
+ * 修改维保项目
+ */
+export function updateMaintenanceProject(data: any) {
+  return request({
+    url: '/customer/serverItem',
+    method: 'put',
+    data
+  });
+}
+
+/**
+ * 删除维保项目
+ */
+export function delMaintenanceProject(id: number | string) {
+  return request({
+    url: '/customer/serverItem/' + id,
+    method: 'delete'
+  });
+}

+ 54 - 0
src/api/globalSetting/maintenanceTime.ts

@@ -0,0 +1,54 @@
+import request from '@/utils/request';
+
+/**
+ * 查询维保时间列表
+ */
+export function listMaintenanceTime(query?: any) {
+  return request({
+    url: '/customer/serverTime/list',
+    method: 'get',
+    params: query
+  });
+}
+
+/**
+ * 查询维保时间详情
+ */
+export function getMaintenanceTime(id: number | string) {
+  return request({
+    url: '/customer/serverTime/' + id,
+    method: 'get'
+  });
+}
+
+/**
+ * 新增维保时间
+ */
+export function addMaintenanceTime(data: any) {
+  return request({
+    url: '/customer/serverTime',
+    method: 'post',
+    data
+  });
+}
+
+/**
+ * 修改维保时间
+ */
+export function updateMaintenanceTime(data: any) {
+  return request({
+    url: '/customer/serverTime',
+    method: 'put',
+    data
+  });
+}
+
+/**
+ * 删除维保时间
+ */
+export function delMaintenanceTime(id: number | string) {
+  return request({
+    url: '/customer/serverTime/' + id,
+    method: 'delete'
+  });
+}

+ 54 - 0
src/api/globalSetting/maintenanceType.ts

@@ -0,0 +1,54 @@
+import request from '@/utils/request';
+
+/**
+ * 查询维保类型列表
+ */
+export function listMaintenanceType(query?: any) {
+  return request({
+    url: '/customer/maintenanceType/list',
+    method: 'get',
+    params: query
+  });
+}
+
+/**
+ * 查询维保类型详情
+ */
+export function getMaintenanceType(id: number | string) {
+  return request({
+    url: '/customer/maintenanceType/' + id,
+    method: 'get'
+  });
+}
+
+/**
+ * 新增维保类型
+ */
+export function addMaintenanceType(data: any) {
+  return request({
+    url: '/customer/maintenanceType',
+    method: 'post',
+    data
+  });
+}
+
+/**
+ * 修改维保类型
+ */
+export function updateMaintenanceType(data: any) {
+  return request({
+    url: '/customer/maintenanceType',
+    method: 'put',
+    data
+  });
+}
+
+/**
+ * 删除维保类型
+ */
+export function delMaintenanceType(id: number | string) {
+  return request({
+    url: '/customer/maintenanceType/' + id,
+    method: 'delete'
+  });
+}

+ 54 - 0
src/api/globalSetting/priceRange.ts

@@ -0,0 +1,54 @@
+import request from '@/utils/request';
+
+/**
+ * 查询价格区间列表
+ */
+export function listPriceRange(query?: any) {
+  return request({
+    url: '/system/priceRange/list',
+    method: 'get',
+    params: query
+  });
+}
+
+/**
+ * 查询价格区间详情
+ */
+export function getPriceRange(id: number | string) {
+  return request({
+    url: '/system/priceRange/' + id,
+    method: 'get'
+  });
+}
+
+/**
+ * 新增价格区间
+ */
+export function addPriceRange(data: any) {
+  return request({
+    url: '/system/priceRange',
+    method: 'post',
+    data
+  });
+}
+
+/**
+ * 修改价格区间
+ */
+export function updatePriceRange(data: any) {
+  return request({
+    url: '/system/priceRange',
+    method: 'put',
+    data
+  });
+}
+
+/**
+ * 删除价格区间
+ */
+export function delPriceRange(id: number | string) {
+  return request({
+    url: '/system/priceRange/' + id,
+    method: 'delete'
+  });
+}

+ 54 - 0
src/api/globalSetting/projectType.ts

@@ -0,0 +1,54 @@
+import request from '@/utils/request';
+
+/**
+ * 查询项目类型列表
+ */
+export function listProjectType(query?: any) {
+  return request({
+    url: '/system/projectType/list',
+    method: 'get',
+    params: query
+  });
+}
+
+/**
+ * 查询项目类型详情
+ */
+export function getProjectType(id: number | string) {
+  return request({
+    url: '/system/projectType/' + id,
+    method: 'get'
+  });
+}
+
+/**
+ * 新增项目类型
+ */
+export function addProjectType(data: any) {
+  return request({
+    url: '/system/projectType',
+    method: 'post',
+    data
+  });
+}
+
+/**
+ * 修改项目类型
+ */
+export function updateProjectType(data: any) {
+  return request({
+    url: '/system/projectType',
+    method: 'put',
+    data
+  });
+}
+
+/**
+ * 删除项目类型
+ */
+export function delProjectType(id: number | string) {
+  return request({
+    url: '/system/projectType/' + id,
+    method: 'delete'
+  });
+}

+ 54 - 0
src/api/globalSetting/purchaseCategory.ts

@@ -0,0 +1,54 @@
+import request from '@/utils/request';
+
+/**
+ * 查询采购分类列表
+ */
+export function listPurchaseCategory(query?: any) {
+  return request({
+    url: '/system/purchaseCategory/list',
+    method: 'get',
+    params: query
+  });
+}
+
+/**
+ * 查询采购分类详情
+ */
+export function getPurchaseCategory(id: number | string) {
+  return request({
+    url: '/system/purchaseCategory/' + id,
+    method: 'get'
+  });
+}
+
+/**
+ * 新增采购分类
+ */
+export function addPurchaseCategory(data: any) {
+  return request({
+    url: '/system/purchaseCategory',
+    method: 'post',
+    data
+  });
+}
+
+/**
+ * 修改采购分类
+ */
+export function updatePurchaseCategory(data: any) {
+  return request({
+    url: '/system/purchaseCategory',
+    method: 'put',
+    data
+  });
+}
+
+/**
+ * 删除采购分类
+ */
+export function delPurchaseCategory(id: number | string) {
+  return request({
+    url: '/system/purchaseCategory/' + id,
+    method: 'delete'
+  });
+}

+ 54 - 0
src/api/globalSetting/recommendTag.ts

@@ -0,0 +1,54 @@
+import request from '@/utils/request';
+
+/**
+ * 查询推荐标签列表
+ */
+export function listRecommendTag(query?: any) {
+  return request({
+    url: '/customer/customerTag/list',
+    method: 'get',
+    params: query
+  });
+}
+
+/**
+ * 查询推荐标签详情
+ */
+export function getRecommendTag(id: number | string) {
+  return request({
+    url: '/customer/customerTag/' + id,
+    method: 'get'
+  });
+}
+
+/**
+ * 新增推荐标签
+ */
+export function addRecommendTag(data: any) {
+  return request({
+    url: '/customer/customerTag',
+    method: 'post',
+    data
+  });
+}
+
+/**
+ * 修改推荐标签
+ */
+export function updateRecommendTag(data: any) {
+  return request({
+    url: '/customer/customerTag',
+    method: 'put',
+    data
+  });
+}
+
+/**
+ * 删除推荐标签
+ */
+export function delRecommendTag(id: number | string) {
+  return request({
+    url: '/customer/customerTag/' + id,
+    method: 'delete'
+  });
+}

+ 54 - 0
src/api/globalSetting/scene.ts

@@ -0,0 +1,54 @@
+import request from '@/utils/request';
+
+/**
+ * 查询适配场景列表
+ */
+export function listScene(query?: any) {
+  return request({
+    url: '/system/adaptScene/list',
+    method: 'get',
+    params: query
+  });
+}
+
+/**
+ * 查询适配场景详情
+ */
+export function getScene(id: number | string) {
+  return request({
+    url: '/system/adaptScene/' + id,
+    method: 'get'
+  });
+}
+
+/**
+ * 新增适配场景
+ */
+export function addScene(data: any) {
+  return request({
+    url: '/system/adaptScene',
+    method: 'post',
+    data
+  });
+}
+
+/**
+ * 修改适配场景
+ */
+export function updateScene(data: any) {
+  return request({
+    url: '/system/adaptScene',
+    method: 'put',
+    data
+  });
+}
+
+/**
+ * 删除适配场景
+ */
+export function delScene(id: number | string) {
+  return request({
+    url: '/system/adaptScene/' + id,
+    method: 'delete'
+  });
+}

+ 54 - 0
src/api/globalSetting/serviceGuarantee.ts

@@ -0,0 +1,54 @@
+import request from '@/utils/request';
+
+/**
+ * 查询服务保证列表
+ */
+export function listServiceGuarantee(query?: any) {
+  return request({
+    url: '/product/ensure/list',
+    method: 'get',
+    params: query
+  });
+}
+
+/**
+ * 查询服务保证详情
+ */
+export function getServiceGuarantee(id: number | string) {
+  return request({
+    url: '/product/ensure/' + id,
+    method: 'get'
+  });
+}
+
+/**
+ * 新增服务保证
+ */
+export function addServiceGuarantee(data: any) {
+  return request({
+    url: '/product/ensure',
+    method: 'post',
+    data
+  });
+}
+
+/**
+ * 修改服务保证
+ */
+export function updateServiceGuarantee(data: any) {
+  return request({
+    url: '/product/ensure',
+    method: 'put',
+    data
+  });
+}
+
+/**
+ * 删除服务保证
+ */
+export function delServiceGuarantee(id: number | string) {
+  return request({
+    url: '/product/ensure/' + id,
+    method: 'delete'
+  });
+}

+ 65 - 0
src/api/globalSetting/serviceTime.ts

@@ -0,0 +1,65 @@
+import request from '@/utils/request';
+
+/**
+ * 查询服务时间列表
+ */
+export function listServiceTime(query?: any) {
+  return request({
+    url: '/system/serviceTime/list',
+    method: 'get',
+    params: query
+  });
+}
+
+/**
+ * 查询服务时间详情
+ */
+export function getServiceTime(id: number | string) {
+  return request({
+    url: '/system/serviceTime/' + id,
+    method: 'get'
+  });
+}
+
+/**
+ * 新增服务时间
+ */
+export function addServiceTime(data: any) {
+  return request({
+    url: '/system/serviceTime',
+    method: 'post',
+    data
+  });
+}
+
+/**
+ * 修改服务时间
+ */
+export function updateServiceTime(data: any) {
+  return request({
+    url: '/system/serviceTime',
+    method: 'put',
+    data
+  });
+}
+
+/**
+ * 删除服务时间
+ */
+export function delServiceTime(id: number | string) {
+  return request({
+    url: '/system/serviceTime/' + id,
+    method: 'delete'
+  });
+}
+
+/**
+ * 查询区域列表(下拉框用)
+ */
+export function listAddressArea(query?: any) {
+  return request({
+    url: '/system/addressArea/list',
+    method: 'get',
+    params: query
+  });
+}

+ 54 - 0
src/api/globalSetting/volumeUnit.ts

@@ -0,0 +1,54 @@
+import request from '@/utils/request';
+
+/**
+ * 查询体积单位列表
+ */
+export function listVolumeUnit(query?: any) {
+  return request({
+    url: '/product/volumeUnit/list',
+    method: 'get',
+    params: query
+  });
+}
+
+/**
+ * 查询体积单位详情
+ */
+export function getVolumeUnit(id: number | string) {
+  return request({
+    url: '/product/volumeUnit/' + id,
+    method: 'get'
+  });
+}
+
+/**
+ * 新增体积单位
+ */
+export function addVolumeUnit(data: any) {
+  return request({
+    url: '/product/volumeUnit',
+    method: 'post',
+    data
+  });
+}
+
+/**
+ * 修改体积单位
+ */
+export function updateVolumeUnit(data: any) {
+  return request({
+    url: '/product/volumeUnit',
+    method: 'put',
+    data
+  });
+}
+
+/**
+ * 删除体积单位
+ */
+export function delVolumeUnit(id: number | string) {
+  return request({
+    url: '/product/volumeUnit/' + id,
+    method: 'delete'
+  });
+}

+ 54 - 0
src/api/globalSetting/weightUnit.ts

@@ -0,0 +1,54 @@
+import request from '@/utils/request';
+
+/**
+ * 查询重量单位列表
+ */
+export function listWeightUnit(query?: any) {
+  return request({
+    url: '/product/weightUnit/list',
+    method: 'get',
+    params: query
+  });
+}
+
+/**
+ * 查询重量单位详情
+ */
+export function getWeightUnit(id: number | string) {
+  return request({
+    url: '/product/weightUnit/' + id,
+    method: 'get'
+  });
+}
+
+/**
+ * 新增重量单位
+ */
+export function addWeightUnit(data: any) {
+  return request({
+    url: '/product/weightUnit',
+    method: 'post',
+    data
+  });
+}
+
+/**
+ * 修改重量单位
+ */
+export function updateWeightUnit(data: any) {
+  return request({
+    url: '/product/weightUnit',
+    method: 'put',
+    data
+  });
+}
+
+/**
+ * 删除重量单位
+ */
+export function delWeightUnit(id: number | string) {
+  return request({
+    url: '/product/weightUnit/' + id,
+    method: 'delete'
+  });
+}

+ 54 - 0
src/api/message/operationMessage.ts

@@ -0,0 +1,54 @@
+import request from '@/utils/request';
+
+/**
+ * 查询运营消息列表
+ */
+export function listOperationMessage(query?: any) {
+  return request({
+    url: '/system/operationMessage/list',
+    method: 'get',
+    params: query
+  });
+}
+
+/**
+ * 查询运营消息详情
+ */
+export function getOperationMessage(id: number | string) {
+  return request({
+    url: '/system/operationMessage/' + id,
+    method: 'get'
+  });
+}
+
+/**
+ * 新增运营消息
+ */
+export function addOperationMessage(data: any) {
+  return request({
+    url: '/system/operationMessage',
+    method: 'post',
+    data
+  });
+}
+
+/**
+ * 修改运营消息
+ */
+export function updateOperationMessage(data: any) {
+  return request({
+    url: '/system/operationMessage',
+    method: 'put',
+    data
+  });
+}
+
+/**
+ * 删除运营消息
+ */
+export function delOperationMessage(id: number | string) {
+  return request({
+    url: '/system/operationMessage/' + id,
+    method: 'delete'
+  });
+}

+ 44 - 0
src/api/product/decorationFloorLink.ts

@@ -0,0 +1,44 @@
+import request from '@/utils/request';
+
+// 查询平台装修楼层商品关联列表
+export function listDecorationFloorLink(query: any) {
+  return request({
+    url: '/product/decorationFloorLink/list',
+    method: 'get',
+    params: query
+  });
+}
+
+// 查询平台装修楼层商品关联详情
+export function getDecorationFloorLink(id: number) {
+  return request({
+    url: '/product/decorationFloorLink/' + id,
+    method: 'get'
+  });
+}
+
+// 新增平台装修楼层商品关联
+export function addDecorationFloorLink(data: any) {
+  return request({
+    url: '/product/decorationFloorLink',
+    method: 'post',
+    data: data
+  });
+}
+
+// 修改平台装修楼层商品关联
+export function updateDecorationFloorLink(data: any) {
+  return request({
+    url: '/product/decorationFloorLink',
+    method: 'put',
+    data: data
+  });
+}
+
+// 删除平台装修楼层商品关联
+export function delDecorationFloorLink(ids: number | number[]) {
+  return request({
+    url: '/product/decorationFloorLink/' + ids,
+    method: 'delete'
+  });
+}

+ 54 - 0
src/api/product/giftCategory.ts

@@ -0,0 +1,54 @@
+import request from '@/utils/request';
+
+/**
+ * 查询福礼分类列表
+ */
+export function listGiftCategory(query?: any) {
+  return request({
+    url: '/product/giftCategory/list',
+    method: 'get',
+    params: query
+  });
+}
+
+/**
+ * 查询福礼分类详情
+ */
+export function getGiftCategory(id: number | string) {
+  return request({
+    url: `/product/giftCategory/${id}`,
+    method: 'get'
+  });
+}
+
+/**
+ * 新增福礼分类
+ */
+export function addGiftCategory(data: any) {
+  return request({
+    url: '/product/giftCategory',
+    method: 'post',
+    data
+  });
+}
+
+/**
+ * 修改福礼分类
+ */
+export function updateGiftCategory(data: any) {
+  return request({
+    url: '/product/giftCategory',
+    method: 'put',
+    data
+  });
+}
+
+/**
+ * 删除福礼分类
+ */
+export function delGiftCategory(ids: number | string | (number | string)[]) {
+  return request({
+    url: `/product/giftCategory/${ids}`,
+    method: 'delete'
+  });
+}

+ 54 - 0
src/api/product/giftCategoryLink.ts

@@ -0,0 +1,54 @@
+import request from '@/utils/request';
+
+/**
+ * 查询福礼分类商品关联列表
+ */
+export function listGiftCategoryLink(query?: any) {
+  return request({
+    url: '/product/giftCategoryLink/list',
+    method: 'get',
+    params: query
+  });
+}
+
+/**
+ * 查询福礼分类商品关联详情
+ */
+export function getGiftCategoryLink(id: number | string) {
+  return request({
+    url: `/product/giftCategoryLink/${id}`,
+    method: 'get'
+  });
+}
+
+/**
+ * 新增福礼分类商品关联
+ */
+export function addGiftCategoryLink(data: any) {
+  return request({
+    url: '/product/giftCategoryLink',
+    method: 'post',
+    data
+  });
+}
+
+/**
+ * 修改福礼分类商品关联
+ */
+export function updateGiftCategoryLink(data: any) {
+  return request({
+    url: '/product/giftCategoryLink',
+    method: 'put',
+    data
+  });
+}
+
+/**
+ * 删除福礼分类商品关联
+ */
+export function delGiftCategoryLink(ids: number | string | (number | string)[]) {
+  return request({
+    url: `/product/giftCategoryLink/${ids}`,
+    method: 'delete'
+  });
+}

Some files were not shown because too many files changed in this diff