wansfa 1 год назад
Родитель
Сommit
35676a802c
100 измененных файлов с 5283 добавлено и 5276 удалено
  1. 11 11
      src/App.vue
  2. 85 85
      src/api/company/company.js
  3. 52 52
      src/api/company/companyConfig.js
  4. 61 61
      src/api/company/companyDeduct.js
  5. 60 60
      src/api/company/companyDept.js
  6. 52 52
      src/api/company/companyLogininfor.js
  7. 52 52
      src/api/company/companyMenu.js
  8. 51 51
      src/api/company/companyMoneyLogs.js
  9. 52 52
      src/api/company/companyOperLog.js
  10. 52 52
      src/api/company/companyPost.js
  11. 68 68
      src/api/company/companyProfit.js
  12. 61 61
      src/api/company/companyRecharge.js
  13. 52 52
      src/api/company/companyRole.js
  14. 52 52
      src/api/company/companyRoleDept.js
  15. 52 52
      src/api/company/companyRoleMenu.js
  16. 52 52
      src/api/company/companySms.js
  17. 52 52
      src/api/company/companySmsLogs.js
  18. 52 52
      src/api/company/companySmsOrder.js
  19. 52 52
      src/api/company/companySmsPackage.js
  20. 60 60
      src/api/company/companySmsTemp.js
  21. 68 68
      src/api/company/companyUser.js
  22. 52 52
      src/api/company/companyUserPost.js
  23. 52 52
      src/api/company/companyUserRole.js
  24. 52 52
      src/api/company/companyVoice.js
  25. 59 59
      src/api/company/companyVoiceApi.js
  26. 52 52
      src/api/company/companyVoiceBlacklist.js
  27. 72 72
      src/api/company/companyVoiceCaller.js
  28. 52 52
      src/api/company/companyVoiceConfig.js
  29. 52 52
      src/api/company/companyVoiceLogs.js
  30. 61 61
      src/api/company/companyVoiceMobile.js
  31. 52 52
      src/api/company/companyVoicePackage.js
  32. 52 52
      src/api/company/companyVoicePackageOrder.js
  33. 9 9
      src/api/company/index.js
  34. 30 30
      src/api/company/statistics.js
  35. 136 136
      src/api/crm/customer.js
  36. 20 20
      src/api/crm/customerAssign.js
  37. 52 52
      src/api/crm/customerContacts.js
  38. 52 52
      src/api/crm/customerExt.js
  39. 52 52
      src/api/crm/customerLogs.js
  40. 52 52
      src/api/crm/customerUser.js
  41. 52 52
      src/api/crm/customerVisit.js
  42. 52 52
      src/api/crm/event.js
  43. 52 52
      src/api/crm/msg.js
  44. 52 52
      src/api/doc/doc.js
  45. 52 52
      src/api/doc/docOrder.js
  46. 52 52
      src/api/doc/docOrderReply.js
  47. 52 52
      src/api/doc/docRecord.js
  48. 52 52
      src/api/doc/docRecordReply.js
  49. 39 39
      src/api/login.js
  50. 8 8
      src/api/menu.js
  51. 79 79
      src/api/monitor/job.js
  52. 34 34
      src/api/monitor/jobLog.js
  53. 34 34
      src/api/monitor/logininfor.js
  54. 18 18
      src/api/monitor/online.js
  55. 34 34
      src/api/monitor/operlog.js
  56. 8 8
      src/api/monitor/server.js
  57. 52 52
      src/api/store/adv.js
  58. 52 52
      src/api/store/appVersion.js
  59. 52 52
      src/api/store/article.js
  60. 60 60
      src/api/store/articleCate.js
  61. 52 52
      src/api/store/articleViews.js
  62. 68 68
      src/api/store/city.js
  63. 52 52
      src/api/store/express.js
  64. 30 30
      src/api/store/index.js
  65. 52 52
      src/api/store/level.js
  66. 52 52
      src/api/store/material.js
  67. 60 60
      src/api/store/materialGroup.js
  68. 52 52
      src/api/store/menu.js
  69. 52 52
      src/api/store/patient.js
  70. 52 52
      src/api/store/prescribe.js
  71. 52 52
      src/api/store/prescribeDrug.js
  72. 59 59
      src/api/store/shippingTemplates.js
  73. 52 52
      src/api/store/shippingTemplatesFree.js
  74. 52 52
      src/api/store/shippingTemplatesRegion.js
  75. 18 18
      src/api/store/statistics.js
  76. 52 52
      src/api/store/storeActivity.js
  77. 87 87
      src/api/store/storeAfterSales.js
  78. 52 52
      src/api/store/storeAfterSalesItem.js
  79. 52 52
      src/api/store/storeAfterSalesStatus.js
  80. 20 20
      src/api/store/storeCanvas.js
  81. 52 52
      src/api/store/storeCart.js
  82. 61 61
      src/api/store/storeCoupon.js
  83. 52 52
      src/api/store/storeCouponIssue.js
  84. 52 52
      src/api/store/storeCouponIssueUser.js
  85. 52 52
      src/api/store/storeCouponUser.js
  86. 149 159
      src/api/store/storeOrder.js
  87. 52 52
      src/api/store/storeOrderItem.js
  88. 52 52
      src/api/store/storeOrderNotice.js
  89. 52 52
      src/api/store/storeOrderStatus.js
  90. 68 61
      src/api/store/storePayment.js
  91. 74 74
      src/api/store/storeProduct.js
  92. 52 52
      src/api/store/storeProductAttr.js
  93. 52 52
      src/api/store/storeProductAttrValue.js
  94. 59 59
      src/api/store/storeProductCategory.js
  95. 52 52
      src/api/store/storeProductDetails.js
  96. 52 52
      src/api/store/storeProductGroup.js
  97. 62 52
      src/api/store/storeProductPackage.js
  98. 52 52
      src/api/store/storeProductRelation.js
  99. 61 61
      src/api/store/storeProductReply.js
  100. 61 61
      src/api/store/storeProductRule.js

+ 11 - 11
src/App.vue

@@ -1,11 +1,11 @@
-<template>
-  <div id="app">
-    <router-view />
-  </div>
-</template>
-
-<script>
-export default  {
-  name:  'App'
-}
-</script>
+<template>
+  <div id="app">
+    <router-view />
+  </div>
+</template>
+
+<script>
+export default  {
+  name:  'App'
+}
+</script>

+ 85 - 85
src/api/company/company.js

@@ -1,85 +1,85 @@
-import request from '@/utils/request'
-
-// 查询企业列表
-export function listCompany(query) {
-  return request({
-    url: '/company/company/list',
-    method: 'get',
-    params: query
-  })
-}
-
-// 查询企业详细
-export function getCompany(companyId) {
-  return request({
-    url: '/company/company/' + companyId,
-    method: 'get'
-  })
-}
-
-// 新增企业
-export function addCompany(data) {
-  return request({
-    url: '/company/company',
-    method: 'post',
-    data: data
-  })
-}
-export function resetPwd(companyId) {
-  return request({
-    url: '/company/company/resetPwd/'+companyId,
-    method: 'post'
-  })
-}
- 
-
-
-// 修改企业
-export function updateCompany(data) {
-  return request({
-    url: '/company/company',
-    method: 'put',
-    data: data
-  })
-}
-
-// 删除企业
-export function delCompany(companyId) {
-  return request({
-    url: '/company/company/' + companyId,
-    method: 'delete'
-  })
-}
-
-// 导出企业
-export function exportCompany(query) {
-  return request({
-    url: '/company/company/export',
-    method: 'get',
-    params: query
-  })
-}
-
-export function getCompanyList() {
-  return request({
-    url: '/company/company/getCompanyList',
-    method: 'get'
-  })
-}
-export function recharge(data) {
-  return request({
-    url: '/company/company/recharge',
-    method: 'post',
-    data: data
-  })
-}
-export function deduct(data) {
-  return request({
-    url: '/company/company/deduct',
-    method: 'post',
-    data: data
-  })
-}
- 
- 
-
+import request from '@/utils/request'
+
+// 查询企业列表
+export function listCompany(query) {
+  return request({
+    url: '/company/company/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询企业详细
+export function getCompany(companyId) {
+  return request({
+    url: '/company/company/' + companyId,
+    method: 'get'
+  })
+}
+
+// 新增企业
+export function addCompany(data) {
+  return request({
+    url: '/company/company',
+    method: 'post',
+    data: data
+  })
+}
+export function resetPwd(companyId) {
+  return request({
+    url: '/company/company/resetPwd/'+companyId,
+    method: 'post'
+  })
+}
+ 
+
+
+// 修改企业
+export function updateCompany(data) {
+  return request({
+    url: '/company/company',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除企业
+export function delCompany(companyId) {
+  return request({
+    url: '/company/company/' + companyId,
+    method: 'delete'
+  })
+}
+
+// 导出企业
+export function exportCompany(query) {
+  return request({
+    url: '/company/company/export',
+    method: 'get',
+    params: query
+  })
+}
+
+export function getCompanyList() {
+  return request({
+    url: '/company/company/getCompanyList',
+    method: 'get'
+  })
+}
+export function recharge(data) {
+  return request({
+    url: '/company/company/recharge',
+    method: 'post',
+    data: data
+  })
+}
+export function deduct(data) {
+  return request({
+    url: '/company/company/deduct',
+    method: 'post',
+    data: data
+  })
+}
+ 
+ 
+

+ 52 - 52
src/api/company/companyConfig.js

@@ -1,53 +1,53 @@
-import request from '@/utils/request'
-
-// 查询参数配置列表
-export function listCompanyConfig(query) {
-  return request({
-    url: '/company/companyConfig/list',
-    method: 'get',
-    params: query
-  })
-}
-
-// 查询参数配置详细
-export function getCompanyConfig(configId) {
-  return request({
-    url: '/company/companyConfig/' + configId,
-    method: 'get'
-  })
-}
-
-// 新增参数配置
-export function addCompanyConfig(data) {
-  return request({
-    url: '/company/companyConfig',
-    method: 'post',
-    data: data
-  })
-}
-
-// 修改参数配置
-export function updateCompanyConfig(data) {
-  return request({
-    url: '/company/companyConfig',
-    method: 'put',
-    data: data
-  })
-}
-
-// 删除参数配置
-export function delCompanyConfig(configId) {
-  return request({
-    url: '/company/companyConfig/' + configId,
-    method: 'delete'
-  })
-}
-
-// 导出参数配置
-export function exportCompanyConfig(query) {
-  return request({
-    url: '/company/companyConfig/export',
-    method: 'get',
-    params: query
-  })
+import request from '@/utils/request'
+
+// 查询参数配置列表
+export function listCompanyConfig(query) {
+  return request({
+    url: '/company/companyConfig/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询参数配置详细
+export function getCompanyConfig(configId) {
+  return request({
+    url: '/company/companyConfig/' + configId,
+    method: 'get'
+  })
+}
+
+// 新增参数配置
+export function addCompanyConfig(data) {
+  return request({
+    url: '/company/companyConfig',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改参数配置
+export function updateCompanyConfig(data) {
+  return request({
+    url: '/company/companyConfig',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除参数配置
+export function delCompanyConfig(configId) {
+  return request({
+    url: '/company/companyConfig/' + configId,
+    method: 'delete'
+  })
+}
+
+// 导出参数配置
+export function exportCompanyConfig(query) {
+  return request({
+    url: '/company/companyConfig/export',
+    method: 'get',
+    params: query
+  })
 }

+ 61 - 61
src/api/company/companyDeduct.js

@@ -1,61 +1,61 @@
-import request from '@/utils/request'
-
-// 查询扣款列表
-export function listCompanyDeduct(query) {
-  return request({
-    url: '/company/companyDeduct/list',
-    method: 'get',
-    params: query
-  })
-}
-
-// 查询扣款详细
-export function getCompanyDeduct(deductId) {
-  return request({
-    url: '/company/companyDeduct/' + deductId,
-    method: 'get'
-  })
-}
-
-// 新增扣款
-export function addCompanyDeduct(data) {
-  return request({
-    url: '/company/companyDeduct',
-    method: 'post',
-    data: data
-  })
-}
-
-// 修改扣款
-export function updateCompanyDeduct(data) {
-  return request({
-    url: '/company/companyDeduct',
-    method: 'put',
-    data: data
-  })
-}
-
-// 删除扣款
-export function delCompanyDeduct(deductId) {
-  return request({
-    url: '/company/companyDeduct/' + deductId,
-    method: 'delete'
-  })
-}
-
-// 导出扣款
-export function exportCompanyDeduct(query) {
-  return request({
-    url: '/company/companyDeduct/export',
-    method: 'get',
-    params: query
-  })
-}
-
-export function audit(data) {
-  return request({
-    url: '/company/companyDeduct/audit',
-    method: 'post',
-    data: data
-  })
-}
+import request from '@/utils/request'
+
+// 查询扣款列表
+export function listCompanyDeduct(query) {
+  return request({
+    url: '/company/companyDeduct/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询扣款详细
+export function getCompanyDeduct(deductId) {
+  return request({
+    url: '/company/companyDeduct/' + deductId,
+    method: 'get'
+  })
+}
+
+// 新增扣款
+export function addCompanyDeduct(data) {
+  return request({
+    url: '/company/companyDeduct',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改扣款
+export function updateCompanyDeduct(data) {
+  return request({
+    url: '/company/companyDeduct',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除扣款
+export function delCompanyDeduct(deductId) {
+  return request({
+    url: '/company/companyDeduct/' + deductId,
+    method: 'delete'
+  })
+}
+
+// 导出扣款
+export function exportCompanyDeduct(query) {
+  return request({
+    url: '/company/companyDeduct/export',
+    method: 'get',
+    params: query
+  })
+}
+
+export function audit(data) {
+  return request({
+    url: '/company/companyDeduct/audit',
+    method: 'post',
+    data: data
+  })
+}

+ 60 - 60
src/api/company/companyDept.js

@@ -1,61 +1,61 @@
-import request from '@/utils/request'
-
-// 查询部门列表
-export function listCompanyDept(query) {
-  return request({
-    url: '/company/companyDept/list',
-    method: 'get',
-    params: query
-  })
-}
-
-// 查询部门详细
-export function getCompanyDept(deptId) {
-  return request({
-    url: '/company/companyDept/' + deptId,
-    method: 'get'
-  })
-}
-
-// 新增部门
-export function addCompanyDept(data) {
-  return request({
-    url: '/company/companyDept',
-    method: 'post',
-    data: data
-  })
-}
-
-// 修改部门
-export function updateCompanyDept(data) {
-  return request({
-    url: '/company/companyDept',
-    method: 'put',
-    data: data
-  })
-}
-
-// 删除部门
-export function delCompanyDept(deptId) {
-  return request({
-    url: '/company/companyDept/' + deptId,
-    method: 'delete'
-  })
-}
-
-// 导出部门
-export function exportCompanyDept(query) {
-  return request({
-    url: '/company/companyDept/export',
-    method: 'get',
-    params: query
-  })
-}
-
-export function treeselect(query) {
-  return request({
-    url: '/company/companyDept/treeselect',
-    method: 'get',
-    params: query
-  })
+import request from '@/utils/request'
+
+// 查询部门列表
+export function listCompanyDept(query) {
+  return request({
+    url: '/company/companyDept/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询部门详细
+export function getCompanyDept(deptId) {
+  return request({
+    url: '/company/companyDept/' + deptId,
+    method: 'get'
+  })
+}
+
+// 新增部门
+export function addCompanyDept(data) {
+  return request({
+    url: '/company/companyDept',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改部门
+export function updateCompanyDept(data) {
+  return request({
+    url: '/company/companyDept',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除部门
+export function delCompanyDept(deptId) {
+  return request({
+    url: '/company/companyDept/' + deptId,
+    method: 'delete'
+  })
+}
+
+// 导出部门
+export function exportCompanyDept(query) {
+  return request({
+    url: '/company/companyDept/export',
+    method: 'get',
+    params: query
+  })
+}
+
+export function treeselect(query) {
+  return request({
+    url: '/company/companyDept/treeselect',
+    method: 'get',
+    params: query
+  })
 }

+ 52 - 52
src/api/company/companyLogininfor.js

@@ -1,53 +1,53 @@
-import request from '@/utils/request'
-
-// 查询系统访问记录列表
-export function listCompanyLogininfor(query) {
-  return request({
-    url: '/company/companyLogininfor/list',
-    method: 'get',
-    params: query
-  })
-}
-
-// 查询系统访问记录详细
-export function getCompanyLogininfor(infoId) {
-  return request({
-    url: '/company/companyLogininfor/' + infoId,
-    method: 'get'
-  })
-}
-
-// 新增系统访问记录
-export function addCompanyLogininfor(data) {
-  return request({
-    url: '/company/companyLogininfor',
-    method: 'post',
-    data: data
-  })
-}
-
-// 修改系统访问记录
-export function updateCompanyLogininfor(data) {
-  return request({
-    url: '/company/companyLogininfor',
-    method: 'put',
-    data: data
-  })
-}
-
-// 删除系统访问记录
-export function delCompanyLogininfor(infoId) {
-  return request({
-    url: '/company/companyLogininfor/' + infoId,
-    method: 'delete'
-  })
-}
-
-// 导出系统访问记录
-export function exportCompanyLogininfor(query) {
-  return request({
-    url: '/company/companyLogininfor/export',
-    method: 'get',
-    params: query
-  })
+import request from '@/utils/request'
+
+// 查询系统访问记录列表
+export function listCompanyLogininfor(query) {
+  return request({
+    url: '/company/companyLogininfor/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询系统访问记录详细
+export function getCompanyLogininfor(infoId) {
+  return request({
+    url: '/company/companyLogininfor/' + infoId,
+    method: 'get'
+  })
+}
+
+// 新增系统访问记录
+export function addCompanyLogininfor(data) {
+  return request({
+    url: '/company/companyLogininfor',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改系统访问记录
+export function updateCompanyLogininfor(data) {
+  return request({
+    url: '/company/companyLogininfor',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除系统访问记录
+export function delCompanyLogininfor(infoId) {
+  return request({
+    url: '/company/companyLogininfor/' + infoId,
+    method: 'delete'
+  })
+}
+
+// 导出系统访问记录
+export function exportCompanyLogininfor(query) {
+  return request({
+    url: '/company/companyLogininfor/export',
+    method: 'get',
+    params: query
+  })
 }

+ 52 - 52
src/api/company/companyMenu.js

@@ -1,53 +1,53 @@
-import request from '@/utils/request'
-
-// 查询菜单权限列表
-export function listCompanyMenu(query) {
-  return request({
-    url: '/company/companyMenu/list',
-    method: 'get',
-    params: query
-  })
-}
-
-// 查询菜单权限详细
-export function getCompanyMenu(menuId) {
-  return request({
-    url: '/company/companyMenu/' + menuId,
-    method: 'get'
-  })
-}
-
-// 新增菜单权限
-export function addCompanyMenu(data) {
-  return request({
-    url: '/company/companyMenu',
-    method: 'post',
-    data: data
-  })
-}
-
-// 修改菜单权限
-export function updateCompanyMenu(data) {
-  return request({
-    url: '/company/companyMenu',
-    method: 'put',
-    data: data
-  })
-}
-
-// 删除菜单权限
-export function delCompanyMenu(menuId) {
-  return request({
-    url: '/company/companyMenu/' + menuId,
-    method: 'delete'
-  })
-}
-
-// 导出菜单权限
-export function exportCompanyMenu(query) {
-  return request({
-    url: '/company/companyMenu/export',
-    method: 'get',
-    params: query
-  })
+import request from '@/utils/request'
+
+// 查询菜单权限列表
+export function listCompanyMenu(query) {
+  return request({
+    url: '/company/companyMenu/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询菜单权限详细
+export function getCompanyMenu(menuId) {
+  return request({
+    url: '/company/companyMenu/' + menuId,
+    method: 'get'
+  })
+}
+
+// 新增菜单权限
+export function addCompanyMenu(data) {
+  return request({
+    url: '/company/companyMenu',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改菜单权限
+export function updateCompanyMenu(data) {
+  return request({
+    url: '/company/companyMenu',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除菜单权限
+export function delCompanyMenu(menuId) {
+  return request({
+    url: '/company/companyMenu/' + menuId,
+    method: 'delete'
+  })
+}
+
+// 导出菜单权限
+export function exportCompanyMenu(query) {
+  return request({
+    url: '/company/companyMenu/export',
+    method: 'get',
+    params: query
+  })
 }

+ 51 - 51
src/api/company/companyMoneyLogs.js

@@ -1,52 +1,52 @@
-import request from '@/utils/request'
-
-// 查询企业账户记录列表
-export function listCompanyMoneyLogs(query) {
-  return request({
-    url: '/company/companyMoneyLogs/list',
-    method: 'get',
-    params: query
-  })
-}
-
-export function listCompanyMoneyLogs1(query) {
-  return request({
-    url: '/company/companyMoneyLogs/list1',
-    method: 'get',
-    params: query
-  })
-}
-export function listCompanyMoneyLogs2(query) {
-  return request({
-    url: '/company/companyMoneyLogs/list2',
-    method: 'get',
-    params: query
-  })
-}
-export function listCompanyMoneyLogs3(query) {
-  return request({
-    url: '/company/companyMoneyLogs/list3',
-    method: 'get',
-    params: query
-  })
-}
-
-// 查询企业账户记录详细
-export function getCompanyMoneyLogs(logsId) {
-  return request({
-    url: '/company/companyMoneyLogs/' + logsId,
-    method: 'get'
-  })
-}
-
- 
- 
-
-// 导出企业账户记录
-export function exportCompanyMoneyLogs(query) {
-  return request({
-    url: '/company/companyMoneyLogs/export',
-    method: 'get',
-    params: query
-  })
+import request from '@/utils/request'
+
+// 查询企业账户记录列表
+export function listCompanyMoneyLogs(query) {
+  return request({
+    url: '/company/companyMoneyLogs/list',
+    method: 'get',
+    params: query
+  })
+}
+
+export function listCompanyMoneyLogs1(query) {
+  return request({
+    url: '/company/companyMoneyLogs/list1',
+    method: 'get',
+    params: query
+  })
+}
+export function listCompanyMoneyLogs2(query) {
+  return request({
+    url: '/company/companyMoneyLogs/list2',
+    method: 'get',
+    params: query
+  })
+}
+export function listCompanyMoneyLogs3(query) {
+  return request({
+    url: '/company/companyMoneyLogs/list3',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询企业账户记录详细
+export function getCompanyMoneyLogs(logsId) {
+  return request({
+    url: '/company/companyMoneyLogs/' + logsId,
+    method: 'get'
+  })
+}
+
+ 
+ 
+
+// 导出企业账户记录
+export function exportCompanyMoneyLogs(query) {
+  return request({
+    url: '/company/companyMoneyLogs/export',
+    method: 'get',
+    params: query
+  })
 } 

+ 52 - 52
src/api/company/companyOperLog.js

@@ -1,53 +1,53 @@
-import request from '@/utils/request'
-
-// 查询操作日志记录列表
-export function listCompanyOperLog(query) {
-  return request({
-    url: '/company/companyOperLog/list',
-    method: 'get',
-    params: query
-  })
-}
-
-// 查询操作日志记录详细
-export function getCompanyOperLog(operId) {
-  return request({
-    url: '/company/companyOperLog/' + operId,
-    method: 'get'
-  })
-}
-
-// 新增操作日志记录
-export function addCompanyOperLog(data) {
-  return request({
-    url: '/company/companyOperLog',
-    method: 'post',
-    data: data
-  })
-}
-
-// 修改操作日志记录
-export function updateCompanyOperLog(data) {
-  return request({
-    url: '/company/companyOperLog',
-    method: 'put',
-    data: data
-  })
-}
-
-// 删除操作日志记录
-export function delCompanyOperLog(operId) {
-  return request({
-    url: '/company/companyOperLog/' + operId,
-    method: 'delete'
-  })
-}
-
-// 导出操作日志记录
-export function exportCompanyOperLog(query) {
-  return request({
-    url: '/company/companyOperLog/export',
-    method: 'get',
-    params: query
-  })
+import request from '@/utils/request'
+
+// 查询操作日志记录列表
+export function listCompanyOperLog(query) {
+  return request({
+    url: '/company/companyOperLog/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询操作日志记录详细
+export function getCompanyOperLog(operId) {
+  return request({
+    url: '/company/companyOperLog/' + operId,
+    method: 'get'
+  })
+}
+
+// 新增操作日志记录
+export function addCompanyOperLog(data) {
+  return request({
+    url: '/company/companyOperLog',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改操作日志记录
+export function updateCompanyOperLog(data) {
+  return request({
+    url: '/company/companyOperLog',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除操作日志记录
+export function delCompanyOperLog(operId) {
+  return request({
+    url: '/company/companyOperLog/' + operId,
+    method: 'delete'
+  })
+}
+
+// 导出操作日志记录
+export function exportCompanyOperLog(query) {
+  return request({
+    url: '/company/companyOperLog/export',
+    method: 'get',
+    params: query
+  })
 }

+ 52 - 52
src/api/company/companyPost.js

@@ -1,53 +1,53 @@
-import request from '@/utils/request'
-
-// 查询岗位信息列表
-export function listCompanyPost(query) {
-  return request({
-    url: '/company/companyPost/list',
-    method: 'get',
-    params: query
-  })
-}
-
-// 查询岗位信息详细
-export function getCompanyPost(postId) {
-  return request({
-    url: '/company/companyPost/' + postId,
-    method: 'get'
-  })
-}
-
-// 新增岗位信息
-export function addCompanyPost(data) {
-  return request({
-    url: '/company/companyPost',
-    method: 'post',
-    data: data
-  })
-}
-
-// 修改岗位信息
-export function updateCompanyPost(data) {
-  return request({
-    url: '/company/companyPost',
-    method: 'put',
-    data: data
-  })
-}
-
-// 删除岗位信息
-export function delCompanyPost(postId) {
-  return request({
-    url: '/company/companyPost/' + postId,
-    method: 'delete'
-  })
-}
-
-// 导出岗位信息
-export function exportCompanyPost(query) {
-  return request({
-    url: '/company/companyPost/export',
-    method: 'get',
-    params: query
-  })
+import request from '@/utils/request'
+
+// 查询岗位信息列表
+export function listCompanyPost(query) {
+  return request({
+    url: '/company/companyPost/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询岗位信息详细
+export function getCompanyPost(postId) {
+  return request({
+    url: '/company/companyPost/' + postId,
+    method: 'get'
+  })
+}
+
+// 新增岗位信息
+export function addCompanyPost(data) {
+  return request({
+    url: '/company/companyPost',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改岗位信息
+export function updateCompanyPost(data) {
+  return request({
+    url: '/company/companyPost',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除岗位信息
+export function delCompanyPost(postId) {
+  return request({
+    url: '/company/companyPost/' + postId,
+    method: 'delete'
+  })
+}
+
+// 导出岗位信息
+export function exportCompanyPost(query) {
+  return request({
+    url: '/company/companyPost/export',
+    method: 'get',
+    params: query
+  })
 }

+ 68 - 68
src/api/company/companyProfit.js

@@ -1,69 +1,69 @@
-import request from '@/utils/request'
-
-// 查询提现列表
-export function listCompanyProfit(query) {
-  return request({
-    url: '/company/companyProfit/list',
-    method: 'get',
-    params: query
-  })
-}
-
-// 查询提现详细
-export function getCompanyProfit(profitId) {
-  return request({
-    url: '/company/companyProfit/' + profitId,
-    method: 'get'
-  })
-}
-
-// 新增提现
-export function audit1(data) {
-  return request({
-    url: '/company/companyProfit/audit1',
-    method: 'post',
-    data: data
-  })
-}
-
-export function audit2(data) {
-  return request({
-    url: '/company/companyProfit/audit2',
-    method: 'post',
-    data: data
-  })
-}
-
-export function audit3(data) {
-  return request({
-    url: '/company/companyProfit/audit3',
-    method: 'post',
-    data: data
-  })
-}
-
-// 修改提现
-export function updateCompanyProfit(data) {
-  return request({
-    url: '/company/companyProfit',
-    method: 'put',
-    data: data
-  })
-}
-
-// 删除提现
-export function delCompanyProfit(profitId) {
-  return request({
-    url: '/company/companyProfit/' + profitId,
-    method: 'delete'
-  })
-}
-
-// 导出提现
-export function exportCompanyProfit(query) {
-  return request({
-    url: '/company/companyProfit/export',
-    method: 'get',
-    params: query
-  })
+import request from '@/utils/request'
+
+// 查询提现列表
+export function listCompanyProfit(query) {
+  return request({
+    url: '/company/companyProfit/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询提现详细
+export function getCompanyProfit(profitId) {
+  return request({
+    url: '/company/companyProfit/' + profitId,
+    method: 'get'
+  })
+}
+
+// 新增提现
+export function audit1(data) {
+  return request({
+    url: '/company/companyProfit/audit1',
+    method: 'post',
+    data: data
+  })
+}
+
+export function audit2(data) {
+  return request({
+    url: '/company/companyProfit/audit2',
+    method: 'post',
+    data: data
+  })
+}
+
+export function audit3(data) {
+  return request({
+    url: '/company/companyProfit/audit3',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改提现
+export function updateCompanyProfit(data) {
+  return request({
+    url: '/company/companyProfit',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除提现
+export function delCompanyProfit(profitId) {
+  return request({
+    url: '/company/companyProfit/' + profitId,
+    method: 'delete'
+  })
+}
+
+// 导出提现
+export function exportCompanyProfit(query) {
+  return request({
+    url: '/company/companyProfit/export',
+    method: 'get',
+    params: query
+  })
 }

+ 61 - 61
src/api/company/companyRecharge.js

@@ -1,61 +1,61 @@
-import request from '@/utils/request'
-
-// 查询充值列表
-export function listCompanyRecharge(query) {
-  return request({
-    url: '/company/companyRecharge/list',
-    method: 'get',
-    params: query
-  })
-}
-
-// 查询充值详细
-export function getCompanyRecharge(rechargeId) {
-  return request({
-    url: '/company/companyRecharge/' + rechargeId,
-    method: 'get'
-  })
-}
-
-// 新增充值
-export function addCompanyRecharge(data) {
-  return request({
-    url: '/company/companyRecharge',
-    method: 'post',
-    data: data
-  })
-}
-
-// 修改充值
-export function updateCompanyRecharge(data) {
-  return request({
-    url: '/company/companyRecharge',
-    method: 'put',
-    data: data
-  })
-}
-
-// 删除充值
-export function delCompanyRecharge(rechargeId) {
-  return request({
-    url: '/company/companyRecharge/' + rechargeId,
-    method: 'delete'
-  })
-}
-
-// 导出充值
-export function exportCompanyRecharge(query) {
-  return request({
-    url: '/company/companyRecharge/export',
-    method: 'get',
-    params: query
-  })
-}
-
-export function audit(data) {
-  return request({
-    url: '/company/companyRecharge/audit',
-    method: 'post',
-    data: data
-  })
-}
+import request from '@/utils/request'
+
+// 查询充值列表
+export function listCompanyRecharge(query) {
+  return request({
+    url: '/company/companyRecharge/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询充值详细
+export function getCompanyRecharge(rechargeId) {
+  return request({
+    url: '/company/companyRecharge/' + rechargeId,
+    method: 'get'
+  })
+}
+
+// 新增充值
+export function addCompanyRecharge(data) {
+  return request({
+    url: '/company/companyRecharge',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改充值
+export function updateCompanyRecharge(data) {
+  return request({
+    url: '/company/companyRecharge',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除充值
+export function delCompanyRecharge(rechargeId) {
+  return request({
+    url: '/company/companyRecharge/' + rechargeId,
+    method: 'delete'
+  })
+}
+
+// 导出充值
+export function exportCompanyRecharge(query) {
+  return request({
+    url: '/company/companyRecharge/export',
+    method: 'get',
+    params: query
+  })
+}
+
+export function audit(data) {
+  return request({
+    url: '/company/companyRecharge/audit',
+    method: 'post',
+    data: data
+  })
+}

+ 52 - 52
src/api/company/companyRole.js

@@ -1,53 +1,53 @@
-import request from '@/utils/request'
-
-// 查询角色信息列表
-export function listCompanyRole(query) {
-  return request({
-    url: '/company/companyRole/list',
-    method: 'get',
-    params: query
-  })
-}
-
-// 查询角色信息详细
-export function getCompanyRole(roleId) {
-  return request({
-    url: '/company/companyRole/' + roleId,
-    method: 'get'
-  })
-}
-
-// 新增角色信息
-export function addCompanyRole(data) {
-  return request({
-    url: '/company/companyRole',
-    method: 'post',
-    data: data
-  })
-}
-
-// 修改角色信息
-export function updateCompanyRole(data) {
-  return request({
-    url: '/company/companyRole',
-    method: 'put',
-    data: data
-  })
-}
-
-// 删除角色信息
-export function delCompanyRole(roleId) {
-  return request({
-    url: '/company/companyRole/' + roleId,
-    method: 'delete'
-  })
-}
-
-// 导出角色信息
-export function exportCompanyRole(query) {
-  return request({
-    url: '/company/companyRole/export',
-    method: 'get',
-    params: query
-  })
+import request from '@/utils/request'
+
+// 查询角色信息列表
+export function listCompanyRole(query) {
+  return request({
+    url: '/company/companyRole/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询角色信息详细
+export function getCompanyRole(roleId) {
+  return request({
+    url: '/company/companyRole/' + roleId,
+    method: 'get'
+  })
+}
+
+// 新增角色信息
+export function addCompanyRole(data) {
+  return request({
+    url: '/company/companyRole',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改角色信息
+export function updateCompanyRole(data) {
+  return request({
+    url: '/company/companyRole',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除角色信息
+export function delCompanyRole(roleId) {
+  return request({
+    url: '/company/companyRole/' + roleId,
+    method: 'delete'
+  })
+}
+
+// 导出角色信息
+export function exportCompanyRole(query) {
+  return request({
+    url: '/company/companyRole/export',
+    method: 'get',
+    params: query
+  })
 }

+ 52 - 52
src/api/company/companyRoleDept.js

@@ -1,53 +1,53 @@
-import request from '@/utils/request'
-
-// 查询角色和部门关联列表
-export function listCompanyRoleDept(query) {
-  return request({
-    url: '/company/companyRoleDept/list',
-    method: 'get',
-    params: query
-  })
-}
-
-// 查询角色和部门关联详细
-export function getCompanyRoleDept(roleId) {
-  return request({
-    url: '/company/companyRoleDept/' + roleId,
-    method: 'get'
-  })
-}
-
-// 新增角色和部门关联
-export function addCompanyRoleDept(data) {
-  return request({
-    url: '/company/companyRoleDept',
-    method: 'post',
-    data: data
-  })
-}
-
-// 修改角色和部门关联
-export function updateCompanyRoleDept(data) {
-  return request({
-    url: '/company/companyRoleDept',
-    method: 'put',
-    data: data
-  })
-}
-
-// 删除角色和部门关联
-export function delCompanyRoleDept(roleId) {
-  return request({
-    url: '/company/companyRoleDept/' + roleId,
-    method: 'delete'
-  })
-}
-
-// 导出角色和部门关联
-export function exportCompanyRoleDept(query) {
-  return request({
-    url: '/company/companyRoleDept/export',
-    method: 'get',
-    params: query
-  })
+import request from '@/utils/request'
+
+// 查询角色和部门关联列表
+export function listCompanyRoleDept(query) {
+  return request({
+    url: '/company/companyRoleDept/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询角色和部门关联详细
+export function getCompanyRoleDept(roleId) {
+  return request({
+    url: '/company/companyRoleDept/' + roleId,
+    method: 'get'
+  })
+}
+
+// 新增角色和部门关联
+export function addCompanyRoleDept(data) {
+  return request({
+    url: '/company/companyRoleDept',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改角色和部门关联
+export function updateCompanyRoleDept(data) {
+  return request({
+    url: '/company/companyRoleDept',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除角色和部门关联
+export function delCompanyRoleDept(roleId) {
+  return request({
+    url: '/company/companyRoleDept/' + roleId,
+    method: 'delete'
+  })
+}
+
+// 导出角色和部门关联
+export function exportCompanyRoleDept(query) {
+  return request({
+    url: '/company/companyRoleDept/export',
+    method: 'get',
+    params: query
+  })
 }

+ 52 - 52
src/api/company/companyRoleMenu.js

@@ -1,53 +1,53 @@
-import request from '@/utils/request'
-
-// 查询角色和菜单关联列表
-export function listCompanyRoleMenu(query) {
-  return request({
-    url: '/company/companyRoleMenu/list',
-    method: 'get',
-    params: query
-  })
-}
-
-// 查询角色和菜单关联详细
-export function getCompanyRoleMenu(roleId) {
-  return request({
-    url: '/company/companyRoleMenu/' + roleId,
-    method: 'get'
-  })
-}
-
-// 新增角色和菜单关联
-export function addCompanyRoleMenu(data) {
-  return request({
-    url: '/company/companyRoleMenu',
-    method: 'post',
-    data: data
-  })
-}
-
-// 修改角色和菜单关联
-export function updateCompanyRoleMenu(data) {
-  return request({
-    url: '/company/companyRoleMenu',
-    method: 'put',
-    data: data
-  })
-}
-
-// 删除角色和菜单关联
-export function delCompanyRoleMenu(roleId) {
-  return request({
-    url: '/company/companyRoleMenu/' + roleId,
-    method: 'delete'
-  })
-}
-
-// 导出角色和菜单关联
-export function exportCompanyRoleMenu(query) {
-  return request({
-    url: '/company/companyRoleMenu/export',
-    method: 'get',
-    params: query
-  })
+import request from '@/utils/request'
+
+// 查询角色和菜单关联列表
+export function listCompanyRoleMenu(query) {
+  return request({
+    url: '/company/companyRoleMenu/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询角色和菜单关联详细
+export function getCompanyRoleMenu(roleId) {
+  return request({
+    url: '/company/companyRoleMenu/' + roleId,
+    method: 'get'
+  })
+}
+
+// 新增角色和菜单关联
+export function addCompanyRoleMenu(data) {
+  return request({
+    url: '/company/companyRoleMenu',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改角色和菜单关联
+export function updateCompanyRoleMenu(data) {
+  return request({
+    url: '/company/companyRoleMenu',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除角色和菜单关联
+export function delCompanyRoleMenu(roleId) {
+  return request({
+    url: '/company/companyRoleMenu/' + roleId,
+    method: 'delete'
+  })
+}
+
+// 导出角色和菜单关联
+export function exportCompanyRoleMenu(query) {
+  return request({
+    url: '/company/companyRoleMenu/export',
+    method: 'get',
+    params: query
+  })
 }

+ 52 - 52
src/api/company/companySms.js

@@ -1,53 +1,53 @@
-import request from '@/utils/request'
-
-// 查询公司短信列表
-export function listCompanySms(query) {
-  return request({
-    url: '/company/companySms/list',
-    method: 'get',
-    params: query
-  })
-}
-
-// 查询公司短信详细
-export function getCompanySms(smsId) {
-  return request({
-    url: '/company/companySms/' + smsId,
-    method: 'get'
-  })
-}
-
-// 新增公司短信
-export function addCompanySms(data) {
-  return request({
-    url: '/company/companySms',
-    method: 'post',
-    data: data
-  })
-}
-
-// 修改公司短信
-export function updateCompanySms(data) {
-  return request({
-    url: '/company/companySms',
-    method: 'put',
-    data: data
-  })
-}
-
-// 删除公司短信
-export function delCompanySms(smsId) {
-  return request({
-    url: '/company/companySms/' + smsId,
-    method: 'delete'
-  })
-}
-
-// 导出公司短信
-export function exportCompanySms(query) {
-  return request({
-    url: '/company/companySms/export',
-    method: 'get',
-    params: query
-  })
+import request from '@/utils/request'
+
+// 查询公司短信列表
+export function listCompanySms(query) {
+  return request({
+    url: '/company/companySms/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询公司短信详细
+export function getCompanySms(smsId) {
+  return request({
+    url: '/company/companySms/' + smsId,
+    method: 'get'
+  })
+}
+
+// 新增公司短信
+export function addCompanySms(data) {
+  return request({
+    url: '/company/companySms',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改公司短信
+export function updateCompanySms(data) {
+  return request({
+    url: '/company/companySms',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除公司短信
+export function delCompanySms(smsId) {
+  return request({
+    url: '/company/companySms/' + smsId,
+    method: 'delete'
+  })
+}
+
+// 导出公司短信
+export function exportCompanySms(query) {
+  return request({
+    url: '/company/companySms/export',
+    method: 'get',
+    params: query
+  })
 }

+ 52 - 52
src/api/company/companySmsLogs.js

@@ -1,53 +1,53 @@
-import request from '@/utils/request'
-
-// 查询短信发送记录列表
-export function listCompanySmsLogs(query) {
-  return request({
-    url: '/company/companySmsLogs/list',
-    method: 'get',
-    params: query
-  })
-}
-
-// 查询短信发送记录详细
-export function getCompanySmsLogs(logsId) {
-  return request({
-    url: '/company/companySmsLogs/' + logsId,
-    method: 'get'
-  })
-}
-
-// 新增短信发送记录
-export function addCompanySmsLogs(data) {
-  return request({
-    url: '/company/companySmsLogs',
-    method: 'post',
-    data: data
-  })
-}
-
-// 修改短信发送记录
-export function updateCompanySmsLogs(data) {
-  return request({
-    url: '/company/companySmsLogs',
-    method: 'put',
-    data: data
-  })
-}
-
-// 删除短信发送记录
-export function delCompanySmsLogs(logsId) {
-  return request({
-    url: '/company/companySmsLogs/' + logsId,
-    method: 'delete'
-  })
-}
-
-// 导出短信发送记录
-export function exportCompanySmsLogs(query) {
-  return request({
-    url: '/company/companySmsLogs/export',
-    method: 'get',
-    params: query
-  })
+import request from '@/utils/request'
+
+// 查询短信发送记录列表
+export function listCompanySmsLogs(query) {
+  return request({
+    url: '/company/companySmsLogs/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询短信发送记录详细
+export function getCompanySmsLogs(logsId) {
+  return request({
+    url: '/company/companySmsLogs/' + logsId,
+    method: 'get'
+  })
+}
+
+// 新增短信发送记录
+export function addCompanySmsLogs(data) {
+  return request({
+    url: '/company/companySmsLogs',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改短信发送记录
+export function updateCompanySmsLogs(data) {
+  return request({
+    url: '/company/companySmsLogs',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除短信发送记录
+export function delCompanySmsLogs(logsId) {
+  return request({
+    url: '/company/companySmsLogs/' + logsId,
+    method: 'delete'
+  })
+}
+
+// 导出短信发送记录
+export function exportCompanySmsLogs(query) {
+  return request({
+    url: '/company/companySmsLogs/export',
+    method: 'get',
+    params: query
+  })
 }

+ 52 - 52
src/api/company/companySmsOrder.js

@@ -1,53 +1,53 @@
-import request from '@/utils/request'
-
-// 查询短信购买订单列表
-export function listCompanySmsOrder(query) {
-  return request({
-    url: '/company/companySmsOrder/list',
-    method: 'get',
-    params: query
-  })
-}
-
-// 查询短信购买订单详细
-export function getCompanySmsOrder(orderId) {
-  return request({
-    url: '/company/companySmsOrder/' + orderId,
-    method: 'get'
-  })
-}
-
-// 新增短信购买订单
-export function addCompanySmsOrder(data) {
-  return request({
-    url: '/company/companySmsOrder',
-    method: 'post',
-    data: data
-  })
-}
-
-// 修改短信购买订单
-export function updateCompanySmsOrder(data) {
-  return request({
-    url: '/company/companySmsOrder',
-    method: 'put',
-    data: data
-  })
-}
-
-// 删除短信购买订单
-export function delCompanySmsOrder(orderId) {
-  return request({
-    url: '/company/companySmsOrder/' + orderId,
-    method: 'delete'
-  })
-}
-
-// 导出短信购买订单
-export function exportCompanySmsOrder(query) {
-  return request({
-    url: '/company/companySmsOrder/export',
-    method: 'get',
-    params: query
-  })
+import request from '@/utils/request'
+
+// 查询短信购买订单列表
+export function listCompanySmsOrder(query) {
+  return request({
+    url: '/company/companySmsOrder/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询短信购买订单详细
+export function getCompanySmsOrder(orderId) {
+  return request({
+    url: '/company/companySmsOrder/' + orderId,
+    method: 'get'
+  })
+}
+
+// 新增短信购买订单
+export function addCompanySmsOrder(data) {
+  return request({
+    url: '/company/companySmsOrder',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改短信购买订单
+export function updateCompanySmsOrder(data) {
+  return request({
+    url: '/company/companySmsOrder',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除短信购买订单
+export function delCompanySmsOrder(orderId) {
+  return request({
+    url: '/company/companySmsOrder/' + orderId,
+    method: 'delete'
+  })
+}
+
+// 导出短信购买订单
+export function exportCompanySmsOrder(query) {
+  return request({
+    url: '/company/companySmsOrder/export',
+    method: 'get',
+    params: query
+  })
 }

+ 52 - 52
src/api/company/companySmsPackage.js

@@ -1,53 +1,53 @@
-import request from '@/utils/request'
-
-// 查询短信套餐包列表
-export function listCompanySmsPackage(query) {
-  return request({
-    url: '/company/companySmsPackage/list',
-    method: 'get',
-    params: query
-  })
-}
-
-// 查询短信套餐包详细
-export function getCompanySmsPackage(packageId) {
-  return request({
-    url: '/company/companySmsPackage/' + packageId,
-    method: 'get'
-  })
-}
-
-// 新增短信套餐包
-export function addCompanySmsPackage(data) {
-  return request({
-    url: '/company/companySmsPackage',
-    method: 'post',
-    data: data
-  })
-}
-
-// 修改短信套餐包
-export function updateCompanySmsPackage(data) {
-  return request({
-    url: '/company/companySmsPackage',
-    method: 'put',
-    data: data
-  })
-}
-
-// 删除短信套餐包
-export function delCompanySmsPackage(packageId) {
-  return request({
-    url: '/company/companySmsPackage/' + packageId,
-    method: 'delete'
-  })
-}
-
-// 导出短信套餐包
-export function exportCompanySmsPackage(query) {
-  return request({
-    url: '/company/companySmsPackage/export',
-    method: 'get',
-    params: query
-  })
+import request from '@/utils/request'
+
+// 查询短信套餐包列表
+export function listCompanySmsPackage(query) {
+  return request({
+    url: '/company/companySmsPackage/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询短信套餐包详细
+export function getCompanySmsPackage(packageId) {
+  return request({
+    url: '/company/companySmsPackage/' + packageId,
+    method: 'get'
+  })
+}
+
+// 新增短信套餐包
+export function addCompanySmsPackage(data) {
+  return request({
+    url: '/company/companySmsPackage',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改短信套餐包
+export function updateCompanySmsPackage(data) {
+  return request({
+    url: '/company/companySmsPackage',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除短信套餐包
+export function delCompanySmsPackage(packageId) {
+  return request({
+    url: '/company/companySmsPackage/' + packageId,
+    method: 'delete'
+  })
+}
+
+// 导出短信套餐包
+export function exportCompanySmsPackage(query) {
+  return request({
+    url: '/company/companySmsPackage/export',
+    method: 'get',
+    params: query
+  })
 }

+ 60 - 60
src/api/company/companySmsTemp.js

@@ -1,61 +1,61 @@
-import request from '@/utils/request'
-
-// 查询短信模板列表
-export function listCompanySmsTemp(query) {
-  return request({
-    url: '/company/companySmsTemp/list',
-    method: 'get',
-    params: query
-  })
-}
-
-// 查询短信模板详细
-export function getCompanySmsTemp(tempId) {
-  return request({
-    url: '/company/companySmsTemp/' + tempId,
-    method: 'get'
-  })
-}
-
-// 新增短信模板
-export function addCompanySmsTemp(data) {
-  return request({
-    url: '/company/companySmsTemp',
-    method: 'post',
-    data: data
-  })
-}
-
-// 修改短信模板
-export function updateCompanySmsTemp(data) {
-  return request({
-    url: '/company/companySmsTemp',
-    method: 'put',
-    data: data
-  })
-}
-
-// 删除短信模板
-export function delCompanySmsTemp(tempId) {
-  return request({
-    url: '/company/companySmsTemp/' + tempId,
-    method: 'delete'
-  })
-}
-
-// 导出短信模板
-export function exportCompanySmsTemp(query) {
-  return request({
-    url: '/company/companySmsTemp/export',
-    method: 'get',
-    params: query
-  })
-}
-
-export function audit(data) {
-  return request({
-    url: '/company/companySmsTemp/audit',
-    method: 'post',
-    data: data
-  })
+import request from '@/utils/request'
+
+// 查询短信模板列表
+export function listCompanySmsTemp(query) {
+  return request({
+    url: '/company/companySmsTemp/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询短信模板详细
+export function getCompanySmsTemp(tempId) {
+  return request({
+    url: '/company/companySmsTemp/' + tempId,
+    method: 'get'
+  })
+}
+
+// 新增短信模板
+export function addCompanySmsTemp(data) {
+  return request({
+    url: '/company/companySmsTemp',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改短信模板
+export function updateCompanySmsTemp(data) {
+  return request({
+    url: '/company/companySmsTemp',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除短信模板
+export function delCompanySmsTemp(tempId) {
+  return request({
+    url: '/company/companySmsTemp/' + tempId,
+    method: 'delete'
+  })
+}
+
+// 导出短信模板
+export function exportCompanySmsTemp(query) {
+  return request({
+    url: '/company/companySmsTemp/export',
+    method: 'get',
+    params: query
+  })
+}
+
+export function audit(data) {
+  return request({
+    url: '/company/companySmsTemp/audit',
+    method: 'post',
+    data: data
+  })
 }

+ 68 - 68
src/api/company/companyUser.js

@@ -1,69 +1,69 @@
-import request from '@/utils/request'
-
-// 查询企业员工信息列表
-export function listCompanyUser(query) {
-  return request({
-    url: '/company/companyUser/list',
-    method: 'get',
-    params: query
-  })
-}
-export function getAllUserlist(query) {
-  return request({
-    url: '/company/companyUser/getAllUserlist',
-    method: 'get',
-    params: query
-  })
-}
-
-export function getUserListByDeptId(query) {
-  return request({
-    url: '/company/companyUser/getUserListByDeptId',
-    method: 'get',
-    params: query
-  })
-}
-
-
-// 查询企业员工信息详细
-export function getCompanyUser(userId) {
-  return request({
-    url: '/company/companyUser/' + userId,
-    method: 'get'
-  })
-}
-
-// 新增企业员工信息
-export function addCompanyUser(data) {
-  return request({
-    url: '/company/companyUser',
-    method: 'post',
-    data: data
-  })
-}
-
-// 修改企业员工信息
-export function updateCompanyUser(data) {
-  return request({
-    url: '/company/companyUser',
-    method: 'put',
-    data: data
-  })
-}
-
-// 删除企业员工信息
-export function delCompanyUser(userId) {
-  return request({
-    url: '/company/companyUser/' + userId,
-    method: 'delete'
-  })
-}
-
-// 导出企业员工信息
-export function exportCompanyUser(query) {
-  return request({
-    url: '/company/companyUser/export',
-    method: 'get',
-    params: query
-  })
+import request from '@/utils/request'
+
+// 查询企业员工信息列表
+export function listCompanyUser(query) {
+  return request({
+    url: '/company/companyUser/list',
+    method: 'get',
+    params: query
+  })
+}
+export function getAllUserlist(query) {
+  return request({
+    url: '/company/companyUser/getAllUserlist',
+    method: 'get',
+    params: query
+  })
+}
+
+export function getUserListByDeptId(query) {
+  return request({
+    url: '/company/companyUser/getUserListByDeptId',
+    method: 'get',
+    params: query
+  })
+}
+
+
+// 查询企业员工信息详细
+export function getCompanyUser(userId) {
+  return request({
+    url: '/company/companyUser/' + userId,
+    method: 'get'
+  })
+}
+
+// 新增企业员工信息
+export function addCompanyUser(data) {
+  return request({
+    url: '/company/companyUser',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改企业员工信息
+export function updateCompanyUser(data) {
+  return request({
+    url: '/company/companyUser',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除企业员工信息
+export function delCompanyUser(userId) {
+  return request({
+    url: '/company/companyUser/' + userId,
+    method: 'delete'
+  })
+}
+
+// 导出企业员工信息
+export function exportCompanyUser(query) {
+  return request({
+    url: '/company/companyUser/export',
+    method: 'get',
+    params: query
+  })
 }

+ 52 - 52
src/api/company/companyUserPost.js

@@ -1,53 +1,53 @@
-import request from '@/utils/request'
-
-// 查询用户与岗位关联列表
-export function listCompanyUserPost(query) {
-  return request({
-    url: '/company/companyUserPost/list',
-    method: 'get',
-    params: query
-  })
-}
-
-// 查询用户与岗位关联详细
-export function getCompanyUserPost(userId) {
-  return request({
-    url: '/company/companyUserPost/' + userId,
-    method: 'get'
-  })
-}
-
-// 新增用户与岗位关联
-export function addCompanyUserPost(data) {
-  return request({
-    url: '/company/companyUserPost',
-    method: 'post',
-    data: data
-  })
-}
-
-// 修改用户与岗位关联
-export function updateCompanyUserPost(data) {
-  return request({
-    url: '/company/companyUserPost',
-    method: 'put',
-    data: data
-  })
-}
-
-// 删除用户与岗位关联
-export function delCompanyUserPost(userId) {
-  return request({
-    url: '/company/companyUserPost/' + userId,
-    method: 'delete'
-  })
-}
-
-// 导出用户与岗位关联
-export function exportCompanyUserPost(query) {
-  return request({
-    url: '/company/companyUserPost/export',
-    method: 'get',
-    params: query
-  })
+import request from '@/utils/request'
+
+// 查询用户与岗位关联列表
+export function listCompanyUserPost(query) {
+  return request({
+    url: '/company/companyUserPost/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询用户与岗位关联详细
+export function getCompanyUserPost(userId) {
+  return request({
+    url: '/company/companyUserPost/' + userId,
+    method: 'get'
+  })
+}
+
+// 新增用户与岗位关联
+export function addCompanyUserPost(data) {
+  return request({
+    url: '/company/companyUserPost',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改用户与岗位关联
+export function updateCompanyUserPost(data) {
+  return request({
+    url: '/company/companyUserPost',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除用户与岗位关联
+export function delCompanyUserPost(userId) {
+  return request({
+    url: '/company/companyUserPost/' + userId,
+    method: 'delete'
+  })
+}
+
+// 导出用户与岗位关联
+export function exportCompanyUserPost(query) {
+  return request({
+    url: '/company/companyUserPost/export',
+    method: 'get',
+    params: query
+  })
 }

+ 52 - 52
src/api/company/companyUserRole.js

@@ -1,53 +1,53 @@
-import request from '@/utils/request'
-
-// 查询用户和角色关联列表
-export function listCompanyUserRole(query) {
-  return request({
-    url: '/company/companyUserRole/list',
-    method: 'get',
-    params: query
-  })
-}
-
-// 查询用户和角色关联详细
-export function getCompanyUserRole(userId) {
-  return request({
-    url: '/company/companyUserRole/' + userId,
-    method: 'get'
-  })
-}
-
-// 新增用户和角色关联
-export function addCompanyUserRole(data) {
-  return request({
-    url: '/company/companyUserRole',
-    method: 'post',
-    data: data
-  })
-}
-
-// 修改用户和角色关联
-export function updateCompanyUserRole(data) {
-  return request({
-    url: '/company/companyUserRole',
-    method: 'put',
-    data: data
-  })
-}
-
-// 删除用户和角色关联
-export function delCompanyUserRole(userId) {
-  return request({
-    url: '/company/companyUserRole/' + userId,
-    method: 'delete'
-  })
-}
-
-// 导出用户和角色关联
-export function exportCompanyUserRole(query) {
-  return request({
-    url: '/company/companyUserRole/export',
-    method: 'get',
-    params: query
-  })
+import request from '@/utils/request'
+
+// 查询用户和角色关联列表
+export function listCompanyUserRole(query) {
+  return request({
+    url: '/company/companyUserRole/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询用户和角色关联详细
+export function getCompanyUserRole(userId) {
+  return request({
+    url: '/company/companyUserRole/' + userId,
+    method: 'get'
+  })
+}
+
+// 新增用户和角色关联
+export function addCompanyUserRole(data) {
+  return request({
+    url: '/company/companyUserRole',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改用户和角色关联
+export function updateCompanyUserRole(data) {
+  return request({
+    url: '/company/companyUserRole',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除用户和角色关联
+export function delCompanyUserRole(userId) {
+  return request({
+    url: '/company/companyUserRole/' + userId,
+    method: 'delete'
+  })
+}
+
+// 导出用户和角色关联
+export function exportCompanyUserRole(query) {
+  return request({
+    url: '/company/companyUserRole/export',
+    method: 'get',
+    params: query
+  })
 }

+ 52 - 52
src/api/company/companyVoice.js

@@ -1,53 +1,53 @@
-import request from '@/utils/request'
-
-// 查询企业通话列表
-export function listCompanyVoice(query) {
-  return request({
-    url: '/company/companyVoice/list',
-    method: 'get',
-    params: query
-  })
-}
-
-// 查询企业通话详细
-export function getCompanyVoice(voiceId) {
-  return request({
-    url: '/company/companyVoice/' + voiceId,
-    method: 'get'
-  })
-}
-
-// 新增企业通话
-export function addCompanyVoice(data) {
-  return request({
-    url: '/company/companyVoice',
-    method: 'post',
-    data: data
-  })
-}
-
-// 修改企业通话
-export function updateCompanyVoice(data) {
-  return request({
-    url: '/company/companyVoice',
-    method: 'put',
-    data: data
-  })
-}
-
-// 删除企业通话
-export function delCompanyVoice(voiceId) {
-  return request({
-    url: '/company/companyVoice/' + voiceId,
-    method: 'delete'
-  })
-}
-
-// 导出企业通话
-export function exportCompanyVoice(query) {
-  return request({
-    url: '/company/companyVoice/export',
-    method: 'get',
-    params: query
-  })
+import request from '@/utils/request'
+
+// 查询企业通话列表
+export function listCompanyVoice(query) {
+  return request({
+    url: '/company/companyVoice/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询企业通话详细
+export function getCompanyVoice(voiceId) {
+  return request({
+    url: '/company/companyVoice/' + voiceId,
+    method: 'get'
+  })
+}
+
+// 新增企业通话
+export function addCompanyVoice(data) {
+  return request({
+    url: '/company/companyVoice',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改企业通话
+export function updateCompanyVoice(data) {
+  return request({
+    url: '/company/companyVoice',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除企业通话
+export function delCompanyVoice(voiceId) {
+  return request({
+    url: '/company/companyVoice/' + voiceId,
+    method: 'delete'
+  })
+}
+
+// 导出企业通话
+export function exportCompanyVoice(query) {
+  return request({
+    url: '/company/companyVoice/export',
+    method: 'get',
+    params: query
+  })
 }

+ 59 - 59
src/api/company/companyVoiceApi.js

@@ -1,60 +1,60 @@
-import request from '@/utils/request'
-
-// 查询呼叫接口列表
-export function listCompanyVoiceApi(query) {
-  return request({
-    url: '/company/companyVoiceApi/list',
-    method: 'get',
-    params: query
-  })
-}
-export function getVoiceApiList() {
-  return request({
-    url: '/company/companyVoiceApi/getVoiceApiList',
-    method: 'get'
-  })
-}
-
-
-// 查询呼叫接口详细
-export function getCompanyVoiceApi(apiId) {
-  return request({
-    url: '/company/companyVoiceApi/' + apiId,
-    method: 'get'
-  })
-}
-
-// 新增呼叫接口
-export function addCompanyVoiceApi(data) {
-  return request({
-    url: '/company/companyVoiceApi',
-    method: 'post',
-    data: data
-  })
-}
-
-// 修改呼叫接口
-export function updateCompanyVoiceApi(data) {
-  return request({
-    url: '/company/companyVoiceApi',
-    method: 'put',
-    data: data
-  })
-}
-
-// 删除呼叫接口
-export function delCompanyVoiceApi(apiId) {
-  return request({
-    url: '/company/companyVoiceApi/' + apiId,
-    method: 'delete'
-  })
-}
-
-// 导出呼叫接口
-export function exportCompanyVoiceApi(query) {
-  return request({
-    url: '/company/companyVoiceApi/export',
-    method: 'get',
-    params: query
-  })
+import request from '@/utils/request'
+
+// 查询呼叫接口列表
+export function listCompanyVoiceApi(query) {
+  return request({
+    url: '/company/companyVoiceApi/list',
+    method: 'get',
+    params: query
+  })
+}
+export function getVoiceApiList() {
+  return request({
+    url: '/company/companyVoiceApi/getVoiceApiList',
+    method: 'get'
+  })
+}
+
+
+// 查询呼叫接口详细
+export function getCompanyVoiceApi(apiId) {
+  return request({
+    url: '/company/companyVoiceApi/' + apiId,
+    method: 'get'
+  })
+}
+
+// 新增呼叫接口
+export function addCompanyVoiceApi(data) {
+  return request({
+    url: '/company/companyVoiceApi',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改呼叫接口
+export function updateCompanyVoiceApi(data) {
+  return request({
+    url: '/company/companyVoiceApi',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除呼叫接口
+export function delCompanyVoiceApi(apiId) {
+  return request({
+    url: '/company/companyVoiceApi/' + apiId,
+    method: 'delete'
+  })
+}
+
+// 导出呼叫接口
+export function exportCompanyVoiceApi(query) {
+  return request({
+    url: '/company/companyVoiceApi/export',
+    method: 'get',
+    params: query
+  })
 }

+ 52 - 52
src/api/company/companyVoiceBlacklist.js

@@ -1,53 +1,53 @@
-import request from '@/utils/request'
-
-// 查询黑名单列表
-export function listCompanyVoiceBlacklist(query) {
-  return request({
-    url: '/company/companyVoiceBlacklist/list',
-    method: 'get',
-    params: query
-  })
-}
-
-// 查询黑名单详细
-export function getCompanyVoiceBlacklist(blacklistId) {
-  return request({
-    url: '/company/companyVoiceBlacklist/' + blacklistId,
-    method: 'get'
-  })
-}
-
-// 新增黑名单
-export function addCompanyVoiceBlacklist(data) {
-  return request({
-    url: '/company/companyVoiceBlacklist',
-    method: 'post',
-    data: data
-  })
-}
-
-// 修改黑名单
-export function updateCompanyVoiceBlacklist(data) {
-  return request({
-    url: '/company/companyVoiceBlacklist',
-    method: 'put',
-    data: data
-  })
-}
-
-// 删除黑名单
-export function delCompanyVoiceBlacklist(blacklistId) {
-  return request({
-    url: '/company/companyVoiceBlacklist/' + blacklistId,
-    method: 'delete'
-  })
-}
-
-// 导出黑名单
-export function exportCompanyVoiceBlacklist(query) {
-  return request({
-    url: '/company/companyVoiceBlacklist/export',
-    method: 'get',
-    params: query
-  })
+import request from '@/utils/request'
+
+// 查询黑名单列表
+export function listCompanyVoiceBlacklist(query) {
+  return request({
+    url: '/company/companyVoiceBlacklist/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询黑名单详细
+export function getCompanyVoiceBlacklist(blacklistId) {
+  return request({
+    url: '/company/companyVoiceBlacklist/' + blacklistId,
+    method: 'get'
+  })
+}
+
+// 新增黑名单
+export function addCompanyVoiceBlacklist(data) {
+  return request({
+    url: '/company/companyVoiceBlacklist',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改黑名单
+export function updateCompanyVoiceBlacklist(data) {
+  return request({
+    url: '/company/companyVoiceBlacklist',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除黑名单
+export function delCompanyVoiceBlacklist(blacklistId) {
+  return request({
+    url: '/company/companyVoiceBlacklist/' + blacklistId,
+    method: 'delete'
+  })
+}
+
+// 导出黑名单
+export function exportCompanyVoiceBlacklist(query) {
+  return request({
+    url: '/company/companyVoiceBlacklist/export',
+    method: 'get',
+    params: query
+  })
 }

+ 72 - 72
src/api/company/companyVoiceCaller.js

@@ -1,72 +1,72 @@
-import request from '@/utils/request'
-
-// 查询企业用户坐席列表
-export function listCompanyVoiceCaller(query) {
-  return request({
-    url: '/company/companyVoiceCaller/list',
-    method: 'get',
-    params: query
-  })
-}
-
-// 查询企业用户坐席详细
-export function getCompanyVoiceCaller(callingId) {
-  return request({
-    url: '/company/companyVoiceCaller/' + callingId,
-    method: 'get'
-  })
-}
-
-// 新增企业用户坐席
-export function addCompanyVoiceCaller(data) {
-  return request({
-    url: '/company/companyVoiceCaller',
-    method: 'post',
-    data: data
-  })
-}
-
-// 修改企业用户坐席
-export function updateCompanyVoiceCaller(data) {
-  return request({
-    url: '/company/companyVoiceCaller',
-    method: 'put',
-    data: data
-  })
-}
-
-// 删除企业用户坐席
-export function delCompanyVoiceCaller(callingId) {
-  return request({
-    url: '/company/companyVoiceCaller/' + callingId,
-    method: 'delete'
-  })
-}
-
-// 导出企业用户坐席
-export function exportCompanyVoiceCaller(query) {
-  return request({
-    url: '/company/companyVoiceCaller/export',
-    method: 'get',
-    params: query
-  })
-}
-
-// 下载用户导入模板
-export function importTemplate() {
-  return request({
-    url: '/company/companyVoiceCaller/importTemplate',
-    method: 'get'
-  })
-}
-export function recover(data) {
-  return request({
-    url: '/company/companyVoiceCaller/recover',
-    method: 'post',
-    data: data
-  })
-}
-
-
-
-
+import request from '@/utils/request'
+
+// 查询企业用户坐席列表
+export function listCompanyVoiceCaller(query) {
+  return request({
+    url: '/company/companyVoiceCaller/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询企业用户坐席详细
+export function getCompanyVoiceCaller(callingId) {
+  return request({
+    url: '/company/companyVoiceCaller/' + callingId,
+    method: 'get'
+  })
+}
+
+// 新增企业用户坐席
+export function addCompanyVoiceCaller(data) {
+  return request({
+    url: '/company/companyVoiceCaller',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改企业用户坐席
+export function updateCompanyVoiceCaller(data) {
+  return request({
+    url: '/company/companyVoiceCaller',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除企业用户坐席
+export function delCompanyVoiceCaller(callingId) {
+  return request({
+    url: '/company/companyVoiceCaller/' + callingId,
+    method: 'delete'
+  })
+}
+
+// 导出企业用户坐席
+export function exportCompanyVoiceCaller(query) {
+  return request({
+    url: '/company/companyVoiceCaller/export',
+    method: 'get',
+    params: query
+  })
+}
+
+// 下载用户导入模板
+export function importTemplate() {
+  return request({
+    url: '/company/companyVoiceCaller/importTemplate',
+    method: 'get'
+  })
+}
+export function recover(data) {
+  return request({
+    url: '/company/companyVoiceCaller/recover',
+    method: 'post',
+    data: data
+  })
+}
+
+
+
+

+ 52 - 52
src/api/company/companyVoiceConfig.js

@@ -1,53 +1,53 @@
-import request from '@/utils/request'
-
-// 查询呼叫频率配置列表
-export function listCompanyVoiceConfig(query) {
-  return request({
-    url: '/company/companyVoiceConfig/list',
-    method: 'get',
-    params: query
-  })
-}
-
-// 查询呼叫频率配置详细
-export function getCompanyVoiceConfig(configId) {
-  return request({
-    url: '/company/companyVoiceConfig/' + configId,
-    method: 'get'
-  })
-}
-
-// 新增呼叫频率配置
-export function addCompanyVoiceConfig(data) {
-  return request({
-    url: '/company/companyVoiceConfig',
-    method: 'post',
-    data: data
-  })
-}
-
-// 修改呼叫频率配置
-export function updateCompanyVoiceConfig(data) {
-  return request({
-    url: '/company/companyVoiceConfig',
-    method: 'put',
-    data: data
-  })
-}
-
-// 删除呼叫频率配置
-export function delCompanyVoiceConfig(configId) {
-  return request({
-    url: '/company/companyVoiceConfig/' + configId,
-    method: 'delete'
-  })
-}
-
-// 导出呼叫频率配置
-export function exportCompanyVoiceConfig(query) {
-  return request({
-    url: '/company/companyVoiceConfig/export',
-    method: 'get',
-    params: query
-  })
+import request from '@/utils/request'
+
+// 查询呼叫频率配置列表
+export function listCompanyVoiceConfig(query) {
+  return request({
+    url: '/company/companyVoiceConfig/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询呼叫频率配置详细
+export function getCompanyVoiceConfig(configId) {
+  return request({
+    url: '/company/companyVoiceConfig/' + configId,
+    method: 'get'
+  })
+}
+
+// 新增呼叫频率配置
+export function addCompanyVoiceConfig(data) {
+  return request({
+    url: '/company/companyVoiceConfig',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改呼叫频率配置
+export function updateCompanyVoiceConfig(data) {
+  return request({
+    url: '/company/companyVoiceConfig',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除呼叫频率配置
+export function delCompanyVoiceConfig(configId) {
+  return request({
+    url: '/company/companyVoiceConfig/' + configId,
+    method: 'delete'
+  })
+}
+
+// 导出呼叫频率配置
+export function exportCompanyVoiceConfig(query) {
+  return request({
+    url: '/company/companyVoiceConfig/export',
+    method: 'get',
+    params: query
+  })
 }

+ 52 - 52
src/api/company/companyVoiceLogs.js

@@ -1,53 +1,53 @@
-import request from '@/utils/request'
-
-// 查询通话记录列表
-export function listCompanyVoiceLogs(query) {
-  return request({
-    url: '/company/companyVoiceLogs/list',
-    method: 'get',
-    params: query
-  })
-}
-
-// 查询通话记录详细
-export function getCompanyVoiceLogs(voiceId) {
-  return request({
-    url: '/company/companyVoiceLogs/' + voiceId,
-    method: 'get'
-  })
-}
-
-// 新增通话记录
-export function addCompanyVoiceLogs(data) {
-  return request({
-    url: '/company/companyVoiceLogs',
-    method: 'post',
-    data: data
-  })
-}
-
-// 修改通话记录
-export function updateCompanyVoiceLogs(data) {
-  return request({
-    url: '/company/companyVoiceLogs',
-    method: 'put',
-    data: data
-  })
-}
-
-// 删除通话记录
-export function delCompanyVoiceLogs(voiceId) {
-  return request({
-    url: '/company/companyVoiceLogs/' + voiceId,
-    method: 'delete'
-  })
-}
-
-// 导出通话记录
-export function exportCompanyVoiceLogs(query) {
-  return request({
-    url: '/company/companyVoiceLogs/export',
-    method: 'get',
-    params: query
-  })
+import request from '@/utils/request'
+
+// 查询通话记录列表
+export function listCompanyVoiceLogs(query) {
+  return request({
+    url: '/company/companyVoiceLogs/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询通话记录详细
+export function getCompanyVoiceLogs(voiceId) {
+  return request({
+    url: '/company/companyVoiceLogs/' + voiceId,
+    method: 'get'
+  })
+}
+
+// 新增通话记录
+export function addCompanyVoiceLogs(data) {
+  return request({
+    url: '/company/companyVoiceLogs',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改通话记录
+export function updateCompanyVoiceLogs(data) {
+  return request({
+    url: '/company/companyVoiceLogs',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除通话记录
+export function delCompanyVoiceLogs(voiceId) {
+  return request({
+    url: '/company/companyVoiceLogs/' + voiceId,
+    method: 'delete'
+  })
+}
+
+// 导出通话记录
+export function exportCompanyVoiceLogs(query) {
+  return request({
+    url: '/company/companyVoiceLogs/export',
+    method: 'get',
+    params: query
+  })
 }

+ 61 - 61
src/api/company/companyVoiceMobile.js

@@ -1,61 +1,61 @@
-import request from '@/utils/request'
-
-// 查询中间号列表
-export function listCompanyVoiceMobile(query) {
-  return request({
-    url: '/company/companyVoiceMobile/list',
-    method: 'get',
-    params: query
-  })
-}
-
-// 查询中间号详细
-export function getCompanyVoiceMobile(mobileId) {
-  return request({
-    url: '/company/companyVoiceMobile/' + mobileId,
-    method: 'get'
-  })
-}
-
-// 新增中间号
-export function addCompanyVoiceMobile(data) {
-  return request({
-    url: '/company/companyVoiceMobile',
-    method: 'post',
-    data: data
-  })
-}
-
-// 修改中间号
-export function updateCompanyVoiceMobile(data) {
-  return request({
-    url: '/company/companyVoiceMobile',
-    method: 'put',
-    data: data
-  })
-}
-
-// 删除中间号
-export function delCompanyVoiceMobile(mobileId) {
-  return request({
-    url: '/company/companyVoiceMobile/' + mobileId,
-    method: 'delete'
-  })
-}
-
-// 导出中间号
-export function exportCompanyVoiceMobile(query) {
-  return request({
-    url: '/company/companyVoiceMobile/export',
-    method: 'get',
-    params: query
-  })
-}
-
-// 下载用户导入模板
-export function importTemplate() {
-  return request({
-    url: '/company/companyVoiceMobile/importTemplate',
-    method: 'get'
-  })
-}
+import request from '@/utils/request'
+
+// 查询中间号列表
+export function listCompanyVoiceMobile(query) {
+  return request({
+    url: '/company/companyVoiceMobile/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询中间号详细
+export function getCompanyVoiceMobile(mobileId) {
+  return request({
+    url: '/company/companyVoiceMobile/' + mobileId,
+    method: 'get'
+  })
+}
+
+// 新增中间号
+export function addCompanyVoiceMobile(data) {
+  return request({
+    url: '/company/companyVoiceMobile',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改中间号
+export function updateCompanyVoiceMobile(data) {
+  return request({
+    url: '/company/companyVoiceMobile',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除中间号
+export function delCompanyVoiceMobile(mobileId) {
+  return request({
+    url: '/company/companyVoiceMobile/' + mobileId,
+    method: 'delete'
+  })
+}
+
+// 导出中间号
+export function exportCompanyVoiceMobile(query) {
+  return request({
+    url: '/company/companyVoiceMobile/export',
+    method: 'get',
+    params: query
+  })
+}
+
+// 下载用户导入模板
+export function importTemplate() {
+  return request({
+    url: '/company/companyVoiceMobile/importTemplate',
+    method: 'get'
+  })
+}

+ 52 - 52
src/api/company/companyVoicePackage.js

@@ -1,53 +1,53 @@
-import request from '@/utils/request'
-
-// 查询套餐列表
-export function listCompanyVoicePackage(query) {
-  return request({
-    url: '/company/companyVoicePackage/list',
-    method: 'get',
-    params: query
-  })
-}
-
-// 查询套餐详细
-export function getCompanyVoicePackage(packageId) {
-  return request({
-    url: '/company/companyVoicePackage/' + packageId,
-    method: 'get'
-  })
-}
-
-// 新增套餐
-export function addCompanyVoicePackage(data) {
-  return request({
-    url: '/company/companyVoicePackage',
-    method: 'post',
-    data: data
-  })
-}
-
-// 修改套餐
-export function updateCompanyVoicePackage(data) {
-  return request({
-    url: '/company/companyVoicePackage',
-    method: 'put',
-    data: data
-  })
-}
-
-// 删除套餐
-export function delCompanyVoicePackage(packageId) {
-  return request({
-    url: '/company/companyVoicePackage/' + packageId,
-    method: 'delete'
-  })
-}
-
-// 导出套餐
-export function exportCompanyVoicePackage(query) {
-  return request({
-    url: '/company/companyVoicePackage/export',
-    method: 'get',
-    params: query
-  })
+import request from '@/utils/request'
+
+// 查询套餐列表
+export function listCompanyVoicePackage(query) {
+  return request({
+    url: '/company/companyVoicePackage/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询套餐详细
+export function getCompanyVoicePackage(packageId) {
+  return request({
+    url: '/company/companyVoicePackage/' + packageId,
+    method: 'get'
+  })
+}
+
+// 新增套餐
+export function addCompanyVoicePackage(data) {
+  return request({
+    url: '/company/companyVoicePackage',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改套餐
+export function updateCompanyVoicePackage(data) {
+  return request({
+    url: '/company/companyVoicePackage',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除套餐
+export function delCompanyVoicePackage(packageId) {
+  return request({
+    url: '/company/companyVoicePackage/' + packageId,
+    method: 'delete'
+  })
+}
+
+// 导出套餐
+export function exportCompanyVoicePackage(query) {
+  return request({
+    url: '/company/companyVoicePackage/export',
+    method: 'get',
+    params: query
+  })
 }

+ 52 - 52
src/api/company/companyVoicePackageOrder.js

@@ -1,53 +1,53 @@
-import request from '@/utils/request'
-
-// 查询套餐订单列表
-export function listCompanyVoicePackageOrder(query) {
-  return request({
-    url: '/company/companyVoicePackageOrder/list',
-    method: 'get',
-    params: query
-  })
-}
-
-// 查询套餐订单详细
-export function getCompanyVoicePackageOrder(orderId) {
-  return request({
-    url: '/company/companyVoicePackageOrder/' + orderId,
-    method: 'get'
-  })
-}
-
-// 新增套餐订单
-export function addCompanyVoicePackageOrder(data) {
-  return request({
-    url: '/company/companyVoicePackageOrder',
-    method: 'post',
-    data: data
-  })
-}
-
-// 修改套餐订单
-export function updateCompanyVoicePackageOrder(data) {
-  return request({
-    url: '/company/companyVoicePackageOrder',
-    method: 'put',
-    data: data
-  })
-}
-
-// 删除套餐订单
-export function delCompanyVoicePackageOrder(orderId) {
-  return request({
-    url: '/company/companyVoicePackageOrder/' + orderId,
-    method: 'delete'
-  })
-}
-
-// 导出套餐订单
-export function exportCompanyVoicePackageOrder(query) {
-  return request({
-    url: '/company/companyVoicePackageOrder/export',
-    method: 'get',
-    params: query
-  })
+import request from '@/utils/request'
+
+// 查询套餐订单列表
+export function listCompanyVoicePackageOrder(query) {
+  return request({
+    url: '/company/companyVoicePackageOrder/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询套餐订单详细
+export function getCompanyVoicePackageOrder(orderId) {
+  return request({
+    url: '/company/companyVoicePackageOrder/' + orderId,
+    method: 'get'
+  })
+}
+
+// 新增套餐订单
+export function addCompanyVoicePackageOrder(data) {
+  return request({
+    url: '/company/companyVoicePackageOrder',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改套餐订单
+export function updateCompanyVoicePackageOrder(data) {
+  return request({
+    url: '/company/companyVoicePackageOrder',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除套餐订单
+export function delCompanyVoicePackageOrder(orderId) {
+  return request({
+    url: '/company/companyVoicePackageOrder/' + orderId,
+    method: 'delete'
+  })
+}
+
+// 导出套餐订单
+export function exportCompanyVoicePackageOrder(query) {
+  return request({
+    url: '/company/companyVoicePackageOrder/export',
+    method: 'get',
+    params: query
+  })
 }

+ 9 - 9
src/api/company/index.js

@@ -1,10 +1,10 @@
-import request from '@/utils/request'
-
- 
-export function getCount() {
-  return request({
-    url: '/company/index/getCount',
-    method: 'get'
-  })
-}
+import request from '@/utils/request'
+
+ 
+export function getCount() {
+  return request({
+    url: '/company/index/getCount',
+    method: 'get'
+  })
+}
  

+ 30 - 30
src/api/company/statistics.js

@@ -1,31 +1,31 @@
-import request from '@/utils/request'
-
- 
-export function voiceLogs(query) {
-  return request({
-    url: '/company/statistics/voiceLogs',
-    method: 'get',
-    params: query
-  })
-}
-export function exportVoiceLogs(query) {
-  return request({
-    url: '/company/statistics/exportVoiceLogs',
-    method: 'get',
-    params: query
-  })
-}
-export function smsLogs(query) {
-  return request({
-    url: '/company/statistics/smsLogs',
-    method: 'get',
-    params: query
-  })
-}
-
-
-
- 
-  
- 
+import request from '@/utils/request'
+
+ 
+export function voiceLogs(query) {
+  return request({
+    url: '/company/statistics/voiceLogs',
+    method: 'get',
+    params: query
+  })
+}
+export function exportVoiceLogs(query) {
+  return request({
+    url: '/company/statistics/exportVoiceLogs',
+    method: 'get',
+    params: query
+  })
+}
+export function smsLogs(query) {
+  return request({
+    url: '/company/statistics/smsLogs',
+    method: 'get',
+    params: query
+  })
+}
+
+
+
+ 
+  
+ 
   

+ 136 - 136
src/api/crm/customer.js

@@ -1,137 +1,137 @@
-import request from '@/utils/request'
-
-export function listLineCustomer(query) {
-  return request({
-    url: '/crm/customer/lineList',
-    method: 'get',
-    params: query
-  })
-}
-export function getCustomerListByIds(query) {
-  return request({
-    url: '/crm/customer/getCustomerListByIds',
-    method: 'get',
-    params: query
-  })
-}
-export function addLineCustomer(data) {
-  return request({
-    url: '/crm/customer/addLine',
-    method: 'post',
-    data: data
-  })
-}
-
-// 修改客户
-export function updateLineCustomer(data) {
-  return request({
-    url: '/crm/customer/editLine',
-    method: 'put',
-    data: data
-  })
-}
-
-export function updateCustomerSource(data) {
-  return request({
-    url: '/crm/customer/updateCustomerSource',
-    method: 'post',
-    data: data
-  })
-}
-
-
-
-// 删除客户
-export function delLineCustomer(customerId) {
-  return request({
-    url: '/crm/customer/removeLine/' + customerId,
-    method: 'delete'
-  })
-}
-
-
-// 查询客户详细
-export function getLineCustomer(customerId) {
-  return request({
-    url: '/crm/customer/queryLine/' + customerId,
-    method: 'get'
-  })
-}
-
-// 导出客户
-export function exportLineCustomer(query) {
-  return request({
-    url: '/crm/customer/exportLine',
-    method: 'get',
-    params: query
-  })
-}
-export function exportCustomer(query) {
-  return request({
-    url: '/crm/customer/export',
-    method: 'get',
-    params: query
-  })
-}
-
-
-
-
-// 下载用户导入模板
-export function importLineTemplate() {
-  return request({
-    url: '/crm/customer/importLineTemplate',
-    method: 'get'
-  })
-}
-
-export function assignCustomer(data) {
-  return request({
-    url: '/crm/customer/assign',
-    method: 'post',
-    data: data
-  })
-}
-
-export function listCustomer(query) {
-  return request({
-    url: '/crm/customer/list',
-    method: 'get',
-    params: query
-  })
-}
-
-export function getCustomer(customerId) {
-  return request({
-    url: '/crm/customer/query/' + customerId,
-    method: 'get'
-  })
-}
-
-
-
-
-export function addCustomer(data) {
-  return request({
-    url: '/crm/customer',
-    method: 'post',
-    data: data
-  })
-}
-
-// 修改客户
-export function updateCustomer(data) {
-  return request({
-    url: '/crm/customer',
-    method: 'put',
-    data: data
-  })
-}
-
-// 删除客户
-export function delCustomer(customerId) {
-  return request({
-    url: '/crm/customer/' + customerId,
-    method: 'delete'
-  })
+import request from '@/utils/request'
+
+export function listLineCustomer(query) {
+  return request({
+    url: '/crm/customer/lineList',
+    method: 'get',
+    params: query
+  })
+}
+export function getCustomerListByIds(query) {
+  return request({
+    url: '/crm/customer/getCustomerListByIds',
+    method: 'get',
+    params: query
+  })
+}
+export function addLineCustomer(data) {
+  return request({
+    url: '/crm/customer/addLine',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改客户
+export function updateLineCustomer(data) {
+  return request({
+    url: '/crm/customer/editLine',
+    method: 'put',
+    data: data
+  })
+}
+
+export function updateCustomerSource(data) {
+  return request({
+    url: '/crm/customer/updateCustomerSource',
+    method: 'post',
+    data: data
+  })
+}
+
+
+
+// 删除客户
+export function delLineCustomer(customerId) {
+  return request({
+    url: '/crm/customer/removeLine/' + customerId,
+    method: 'delete'
+  })
+}
+
+
+// 查询客户详细
+export function getLineCustomer(customerId) {
+  return request({
+    url: '/crm/customer/queryLine/' + customerId,
+    method: 'get'
+  })
+}
+
+// 导出客户
+export function exportLineCustomer(query) {
+  return request({
+    url: '/crm/customer/exportLine',
+    method: 'get',
+    params: query
+  })
+}
+export function exportCustomer(query) {
+  return request({
+    url: '/crm/customer/export',
+    method: 'get',
+    params: query
+  })
+}
+
+
+
+
+// 下载用户导入模板
+export function importLineTemplate() {
+  return request({
+    url: '/crm/customer/importLineTemplate',
+    method: 'get'
+  })
+}
+
+export function assignCustomer(data) {
+  return request({
+    url: '/crm/customer/assign',
+    method: 'post',
+    data: data
+  })
+}
+
+export function listCustomer(query) {
+  return request({
+    url: '/crm/customer/list',
+    method: 'get',
+    params: query
+  })
+}
+
+export function getCustomer(customerId) {
+  return request({
+    url: '/crm/customer/query/' + customerId,
+    method: 'get'
+  })
+}
+
+
+
+
+export function addCustomer(data) {
+  return request({
+    url: '/crm/customer',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改客户
+export function updateCustomer(data) {
+  return request({
+    url: '/crm/customer',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除客户
+export function delCustomer(customerId) {
+  return request({
+    url: '/crm/customer/' + customerId,
+    method: 'delete'
+  })
 }

+ 20 - 20
src/api/crm/customerAssign.js

@@ -1,21 +1,21 @@
-import request from '@/utils/request'
-
-// 查询客户分配记录列表
-export function listCustomerAssign(query) {
-  return request({
-    url: '/crm/customerAssign/list',
-    method: 'get',
-    params: query
-  })
-}
-
- 
- 
-export function cancelCustomerAssign(data) {
-  return request({
-    url: '/crm/customerAssign/cancel' ,
-    method: 'post',
-    data: data
-  })
-}
+import request from '@/utils/request'
+
+// 查询客户分配记录列表
+export function listCustomerAssign(query) {
+  return request({
+    url: '/crm/customerAssign/list',
+    method: 'get',
+    params: query
+  })
+}
+
+ 
+ 
+export function cancelCustomerAssign(data) {
+  return request({
+    url: '/crm/customerAssign/cancel' ,
+    method: 'post',
+    data: data
+  })
+}
  

+ 52 - 52
src/api/crm/customerContacts.js

@@ -1,53 +1,53 @@
-import request from '@/utils/request'
-
-// 查询客户联系人列表
-export function listCustomerContacts(query) {
-  return request({
-    url: '/crm/customerContacts/list',
-    method: 'get',
-    params: query
-  })
-}
-
-// 查询客户联系人详细
-export function getCustomerContacts(contactsId) {
-  return request({
-    url: '/crm/customerContacts/' + contactsId,
-    method: 'get'
-  })
-}
-
-// 新增客户联系人
-export function addCustomerContacts(data) {
-  return request({
-    url: '/crm/customerContacts',
-    method: 'post',
-    data: data
-  })
-}
-
-// 修改客户联系人
-export function updateCustomerContacts(data) {
-  return request({
-    url: '/crm/customerContacts',
-    method: 'put',
-    data: data
-  })
-}
-
-// 删除客户联系人
-export function delCustomerContacts(contactsId) {
-  return request({
-    url: '/crm/customerContacts/' + contactsId,
-    method: 'delete'
-  })
-}
-
-// 导出客户联系人
-export function exportCustomerContacts(query) {
-  return request({
-    url: '/crm/customerContacts/export',
-    method: 'get',
-    params: query
-  })
+import request from '@/utils/request'
+
+// 查询客户联系人列表
+export function listCustomerContacts(query) {
+  return request({
+    url: '/crm/customerContacts/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询客户联系人详细
+export function getCustomerContacts(contactsId) {
+  return request({
+    url: '/crm/customerContacts/' + contactsId,
+    method: 'get'
+  })
+}
+
+// 新增客户联系人
+export function addCustomerContacts(data) {
+  return request({
+    url: '/crm/customerContacts',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改客户联系人
+export function updateCustomerContacts(data) {
+  return request({
+    url: '/crm/customerContacts',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除客户联系人
+export function delCustomerContacts(contactsId) {
+  return request({
+    url: '/crm/customerContacts/' + contactsId,
+    method: 'delete'
+  })
+}
+
+// 导出客户联系人
+export function exportCustomerContacts(query) {
+  return request({
+    url: '/crm/customerContacts/export',
+    method: 'get',
+    params: query
+  })
 }

+ 52 - 52
src/api/crm/customerExt.js

@@ -1,53 +1,53 @@
-import request from '@/utils/request'
-
-// 查询客户字段扩展列表
-export function listCustomerExt(query) {
-  return request({
-    url: '/crm/customerExt/list',
-    method: 'get',
-    params: query
-  })
-}
-
-// 查询客户字段扩展详细
-export function getCustomerExt(extId) {
-  return request({
-    url: '/crm/customerExt/' + extId,
-    method: 'get'
-  })
-}
-
-// 新增客户字段扩展
-export function addCustomerExt(data) {
-  return request({
-    url: '/crm/customerExt',
-    method: 'post',
-    data: data
-  })
-}
-
-// 修改客户字段扩展
-export function updateCustomerExt(data) {
-  return request({
-    url: '/crm/customerExt',
-    method: 'put',
-    data: data
-  })
-}
-
-// 删除客户字段扩展
-export function delCustomerExt(extId) {
-  return request({
-    url: '/crm/customerExt/' + extId,
-    method: 'delete'
-  })
-}
-
-// 导出客户字段扩展
-export function exportCustomerExt(query) {
-  return request({
-    url: '/crm/customerExt/export',
-    method: 'get',
-    params: query
-  })
+import request from '@/utils/request'
+
+// 查询客户字段扩展列表
+export function listCustomerExt(query) {
+  return request({
+    url: '/crm/customerExt/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询客户字段扩展详细
+export function getCustomerExt(extId) {
+  return request({
+    url: '/crm/customerExt/' + extId,
+    method: 'get'
+  })
+}
+
+// 新增客户字段扩展
+export function addCustomerExt(data) {
+  return request({
+    url: '/crm/customerExt',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改客户字段扩展
+export function updateCustomerExt(data) {
+  return request({
+    url: '/crm/customerExt',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除客户字段扩展
+export function delCustomerExt(extId) {
+  return request({
+    url: '/crm/customerExt/' + extId,
+    method: 'delete'
+  })
+}
+
+// 导出客户字段扩展
+export function exportCustomerExt(query) {
+  return request({
+    url: '/crm/customerExt/export',
+    method: 'get',
+    params: query
+  })
 }

+ 52 - 52
src/api/crm/customerLogs.js

@@ -1,53 +1,53 @@
-import request from '@/utils/request'
-
-// 查询客户日志列表
-export function listCustomerLogs(query) {
-  return request({
-    url: '/crm/customerLogs/list',
-    method: 'get',
-    params: query
-  })
-}
-
-// 查询客户日志详细
-export function getCustomerLogs(logsId) {
-  return request({
-    url: '/crm/customerLogs/' + logsId,
-    method: 'get'
-  })
-}
-
-// 新增客户日志
-export function addCustomerLogs(data) {
-  return request({
-    url: '/crm/customerLogs',
-    method: 'post',
-    data: data
-  })
-}
-
-// 修改客户日志
-export function updateCustomerLogs(data) {
-  return request({
-    url: '/crm/customerLogs',
-    method: 'put',
-    data: data
-  })
-}
-
-// 删除客户日志
-export function delCustomerLogs(logsId) {
-  return request({
-    url: '/crm/customerLogs/' + logsId,
-    method: 'delete'
-  })
-}
-
-// 导出客户日志
-export function exportCustomerLogs(query) {
-  return request({
-    url: '/crm/customerLogs/export',
-    method: 'get',
-    params: query
-  })
+import request from '@/utils/request'
+
+// 查询客户日志列表
+export function listCustomerLogs(query) {
+  return request({
+    url: '/crm/customerLogs/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询客户日志详细
+export function getCustomerLogs(logsId) {
+  return request({
+    url: '/crm/customerLogs/' + logsId,
+    method: 'get'
+  })
+}
+
+// 新增客户日志
+export function addCustomerLogs(data) {
+  return request({
+    url: '/crm/customerLogs',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改客户日志
+export function updateCustomerLogs(data) {
+  return request({
+    url: '/crm/customerLogs',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除客户日志
+export function delCustomerLogs(logsId) {
+  return request({
+    url: '/crm/customerLogs/' + logsId,
+    method: 'delete'
+  })
+}
+
+// 导出客户日志
+export function exportCustomerLogs(query) {
+  return request({
+    url: '/crm/customerLogs/export',
+    method: 'get',
+    params: query
+  })
 }

+ 52 - 52
src/api/crm/customerUser.js

@@ -1,53 +1,53 @@
-import request from '@/utils/request'
-
-// 查询客户员工认领列表
-export function listCustomerUser(query) {
-  return request({
-    url: '/crm/customerUser/list',
-    method: 'get',
-    params: query
-  })
-}
-
-// 查询客户员工认领详细
-export function getCustomerUser(customerUserId) {
-  return request({
-    url: '/crm/customerUser/' + customerUserId,
-    method: 'get'
-  })
-}
-
-// 新增客户员工认领
-export function addCustomerUser(data) {
-  return request({
-    url: '/crm/customerUser',
-    method: 'post',
-    data: data
-  })
-}
-
-// 修改客户员工认领
-export function updateCustomerUser(data) {
-  return request({
-    url: '/crm/customerUser',
-    method: 'put',
-    data: data
-  })
-}
-
-// 删除客户员工认领
-export function delCustomerUser(customerUserId) {
-  return request({
-    url: '/crm/customerUser/' + customerUserId,
-    method: 'delete'
-  })
-}
-
-// 导出客户员工认领
-export function exportCustomerUser(query) {
-  return request({
-    url: '/crm/customerUser/export',
-    method: 'get',
-    params: query
-  })
+import request from '@/utils/request'
+
+// 查询客户员工认领列表
+export function listCustomerUser(query) {
+  return request({
+    url: '/crm/customerUser/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询客户员工认领详细
+export function getCustomerUser(customerUserId) {
+  return request({
+    url: '/crm/customerUser/' + customerUserId,
+    method: 'get'
+  })
+}
+
+// 新增客户员工认领
+export function addCustomerUser(data) {
+  return request({
+    url: '/crm/customerUser',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改客户员工认领
+export function updateCustomerUser(data) {
+  return request({
+    url: '/crm/customerUser',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除客户员工认领
+export function delCustomerUser(customerUserId) {
+  return request({
+    url: '/crm/customerUser/' + customerUserId,
+    method: 'delete'
+  })
+}
+
+// 导出客户员工认领
+export function exportCustomerUser(query) {
+  return request({
+    url: '/crm/customerUser/export',
+    method: 'get',
+    params: query
+  })
 }

+ 52 - 52
src/api/crm/customerVisit.js

@@ -1,53 +1,53 @@
-import request from '@/utils/request'
-
-// 查询跟进列表
-export function listCustomerVisit(query) {
-  return request({
-    url: '/crm/customerVisit/list',
-    method: 'get',
-    params: query
-  })
-}
-
-// 查询跟进详细
-export function getCustomerVisit(visitId) {
-  return request({
-    url: '/crm/customerVisit/' + visitId,
-    method: 'get'
-  })
-}
-
-// 新增跟进
-export function addCustomerVisit(data) {
-  return request({
-    url: '/crm/customerVisit',
-    method: 'post',
-    data: data
-  })
-}
-
-// 修改跟进
-export function updateCustomerVisit(data) {
-  return request({
-    url: '/crm/customerVisit',
-    method: 'put',
-    data: data
-  })
-}
-
-// 删除跟进
-export function delCustomerVisit(visitId) {
-  return request({
-    url: '/crm/customerVisit/' + visitId,
-    method: 'delete'
-  })
-}
-
-// 导出跟进
-export function exportCustomerVisit(query) {
-  return request({
-    url: '/crm/customerVisit/export',
-    method: 'get',
-    params: query
-  })
+import request from '@/utils/request'
+
+// 查询跟进列表
+export function listCustomerVisit(query) {
+  return request({
+    url: '/crm/customerVisit/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询跟进详细
+export function getCustomerVisit(visitId) {
+  return request({
+    url: '/crm/customerVisit/' + visitId,
+    method: 'get'
+  })
+}
+
+// 新增跟进
+export function addCustomerVisit(data) {
+  return request({
+    url: '/crm/customerVisit',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改跟进
+export function updateCustomerVisit(data) {
+  return request({
+    url: '/crm/customerVisit',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除跟进
+export function delCustomerVisit(visitId) {
+  return request({
+    url: '/crm/customerVisit/' + visitId,
+    method: 'delete'
+  })
+}
+
+// 导出跟进
+export function exportCustomerVisit(query) {
+  return request({
+    url: '/crm/customerVisit/export',
+    method: 'get',
+    params: query
+  })
 }

+ 52 - 52
src/api/crm/event.js

@@ -1,53 +1,53 @@
-import request from '@/utils/request'
-
-// 查询代办事项列表
-export function listEvent(query) {
-  return request({
-    url: '/crm/event/list',
-    method: 'get',
-    params: query
-  })
-}
-
-// 查询代办事项详细
-export function getEvent(eventId) {
-  return request({
-    url: '/crm/event/' + eventId,
-    method: 'get'
-  })
-}
-
-// 新增代办事项
-export function addEvent(data) {
-  return request({
-    url: '/crm/event',
-    method: 'post',
-    data: data
-  })
-}
-
-// 修改代办事项
-export function updateEvent(data) {
-  return request({
-    url: '/crm/event',
-    method: 'put',
-    data: data
-  })
-}
-
-// 删除代办事项
-export function delEvent(eventId) {
-  return request({
-    url: '/crm/event/' + eventId,
-    method: 'delete'
-  })
-}
-
-// 导出代办事项
-export function exportEvent(query) {
-  return request({
-    url: '/crm/event/export',
-    method: 'get',
-    params: query
-  })
+import request from '@/utils/request'
+
+// 查询代办事项列表
+export function listEvent(query) {
+  return request({
+    url: '/crm/event/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询代办事项详细
+export function getEvent(eventId) {
+  return request({
+    url: '/crm/event/' + eventId,
+    method: 'get'
+  })
+}
+
+// 新增代办事项
+export function addEvent(data) {
+  return request({
+    url: '/crm/event',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改代办事项
+export function updateEvent(data) {
+  return request({
+    url: '/crm/event',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除代办事项
+export function delEvent(eventId) {
+  return request({
+    url: '/crm/event/' + eventId,
+    method: 'delete'
+  })
+}
+
+// 导出代办事项
+export function exportEvent(query) {
+  return request({
+    url: '/crm/event/export',
+    method: 'get',
+    params: query
+  })
 }

+ 52 - 52
src/api/crm/msg.js

@@ -1,53 +1,53 @@
-import request from '@/utils/request'
-
-// 查询 消息列表
-export function listMsg(query) {
-  return request({
-    url: '/crm/msg/list',
-    method: 'get',
-    params: query
-  })
-}
-
-// 查询 消息详细
-export function getMsg(msgId) {
-  return request({
-    url: '/crm/msg/' + msgId,
-    method: 'get'
-  })
-}
-
-// 新增 消息
-export function addMsg(data) {
-  return request({
-    url: '/crm/msg',
-    method: 'post',
-    data: data
-  })
-}
-
-// 修改 消息
-export function updateMsg(data) {
-  return request({
-    url: '/crm/msg',
-    method: 'put',
-    data: data
-  })
-}
-
-// 删除 消息
-export function delMsg(msgId) {
-  return request({
-    url: '/crm/msg/' + msgId,
-    method: 'delete'
-  })
-}
-
-// 导出 消息
-export function exportMsg(query) {
-  return request({
-    url: '/crm/msg/export',
-    method: 'get',
-    params: query
-  })
+import request from '@/utils/request'
+
+// 查询 消息列表
+export function listMsg(query) {
+  return request({
+    url: '/crm/msg/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询 消息详细
+export function getMsg(msgId) {
+  return request({
+    url: '/crm/msg/' + msgId,
+    method: 'get'
+  })
+}
+
+// 新增 消息
+export function addMsg(data) {
+  return request({
+    url: '/crm/msg',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改 消息
+export function updateMsg(data) {
+  return request({
+    url: '/crm/msg',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除 消息
+export function delMsg(msgId) {
+  return request({
+    url: '/crm/msg/' + msgId,
+    method: 'delete'
+  })
+}
+
+// 导出 消息
+export function exportMsg(query) {
+  return request({
+    url: '/crm/msg/export',
+    method: 'get',
+    params: query
+  })
 }

+ 52 - 52
src/api/doc/doc.js

@@ -1,53 +1,53 @@
-import request from '@/utils/request'
-
-// 查询档案列表
-export function listDoc(query) {
-  return request({
-    url: '/doc/doc/list',
-    method: 'get',
-    params: query
-  })
-}
-
-// 查询档案详细
-export function getDoc(docId) {
-  return request({
-    url: '/doc/doc/' + docId,
-    method: 'get'
-  })
-}
-
-// 新增档案
-export function addDoc(data) {
-  return request({
-    url: '/doc/doc',
-    method: 'post',
-    data: data
-  })
-}
-
-// 修改档案
-export function updateDoc(data) {
-  return request({
-    url: '/doc/doc',
-    method: 'put',
-    data: data
-  })
-}
-
-// 删除档案
-export function delDoc(docId) {
-  return request({
-    url: '/doc/doc/' + docId,
-    method: 'delete'
-  })
-}
-
-// 导出档案
-export function exportDoc(query) {
-  return request({
-    url: '/doc/doc/export',
-    method: 'get',
-    params: query
-  })
+import request from '@/utils/request'
+
+// 查询档案列表
+export function listDoc(query) {
+  return request({
+    url: '/doc/doc/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询档案详细
+export function getDoc(docId) {
+  return request({
+    url: '/doc/doc/' + docId,
+    method: 'get'
+  })
+}
+
+// 新增档案
+export function addDoc(data) {
+  return request({
+    url: '/doc/doc',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改档案
+export function updateDoc(data) {
+  return request({
+    url: '/doc/doc',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除档案
+export function delDoc(docId) {
+  return request({
+    url: '/doc/doc/' + docId,
+    method: 'delete'
+  })
+}
+
+// 导出档案
+export function exportDoc(query) {
+  return request({
+    url: '/doc/doc/export',
+    method: 'get',
+    params: query
+  })
 }

+ 52 - 52
src/api/doc/docOrder.js

@@ -1,53 +1,53 @@
-import request from '@/utils/request'
-
-// 查询问医生列表
-export function listDocOrder(query) {
-  return request({
-    url: '/doc/docOrder/list',
-    method: 'get',
-    params: query
-  })
-}
-
-// 查询问医生详细
-export function getDocOrder(orderId) {
-  return request({
-    url: '/doc/docOrder/' + orderId,
-    method: 'get'
-  })
-}
-
-// 新增问医生
-export function addDocOrder(data) {
-  return request({
-    url: '/doc/docOrder',
-    method: 'post',
-    data: data
-  })
-}
-
-// 修改问医生
-export function updateDocOrder(data) {
-  return request({
-    url: '/doc/docOrder',
-    method: 'put',
-    data: data
-  })
-}
-
-// 删除问医生
-export function delDocOrder(orderId) {
-  return request({
-    url: '/doc/docOrder/' + orderId,
-    method: 'delete'
-  })
-}
-
-// 导出问医生
-export function exportDocOrder(query) {
-  return request({
-    url: '/doc/docOrder/export',
-    method: 'get',
-    params: query
-  })
+import request from '@/utils/request'
+
+// 查询问医生列表
+export function listDocOrder(query) {
+  return request({
+    url: '/doc/docOrder/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询问医生详细
+export function getDocOrder(orderId) {
+  return request({
+    url: '/doc/docOrder/' + orderId,
+    method: 'get'
+  })
+}
+
+// 新增问医生
+export function addDocOrder(data) {
+  return request({
+    url: '/doc/docOrder',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改问医生
+export function updateDocOrder(data) {
+  return request({
+    url: '/doc/docOrder',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除问医生
+export function delDocOrder(orderId) {
+  return request({
+    url: '/doc/docOrder/' + orderId,
+    method: 'delete'
+  })
+}
+
+// 导出问医生
+export function exportDocOrder(query) {
+  return request({
+    url: '/doc/docOrder/export',
+    method: 'get',
+    params: query
+  })
 }

+ 52 - 52
src/api/doc/docOrderReply.js

@@ -1,53 +1,53 @@
-import request from '@/utils/request'
-
-// 查询订单回复列表
-export function listDocOrderReply(query) {
-  return request({
-    url: '/doc/docOrderReply/list',
-    method: 'get',
-    params: query
-  })
-}
-
-// 查询订单回复详细
-export function getDocOrderReply(replyId) {
-  return request({
-    url: '/doc/docOrderReply/' + replyId,
-    method: 'get'
-  })
-}
-
-// 新增订单回复
-export function addDocOrderReply(data) {
-  return request({
-    url: '/doc/docOrderReply',
-    method: 'post',
-    data: data
-  })
-}
-
-// 修改订单回复
-export function updateDocOrderReply(data) {
-  return request({
-    url: '/doc/docOrderReply',
-    method: 'put',
-    data: data
-  })
-}
-
-// 删除订单回复
-export function delDocOrderReply(replyId) {
-  return request({
-    url: '/doc/docOrderReply/' + replyId,
-    method: 'delete'
-  })
-}
-
-// 导出订单回复
-export function exportDocOrderReply(query) {
-  return request({
-    url: '/doc/docOrderReply/export',
-    method: 'get',
-    params: query
-  })
+import request from '@/utils/request'
+
+// 查询订单回复列表
+export function listDocOrderReply(query) {
+  return request({
+    url: '/doc/docOrderReply/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询订单回复详细
+export function getDocOrderReply(replyId) {
+  return request({
+    url: '/doc/docOrderReply/' + replyId,
+    method: 'get'
+  })
+}
+
+// 新增订单回复
+export function addDocOrderReply(data) {
+  return request({
+    url: '/doc/docOrderReply',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改订单回复
+export function updateDocOrderReply(data) {
+  return request({
+    url: '/doc/docOrderReply',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除订单回复
+export function delDocOrderReply(replyId) {
+  return request({
+    url: '/doc/docOrderReply/' + replyId,
+    method: 'delete'
+  })
+}
+
+// 导出订单回复
+export function exportDocOrderReply(query) {
+  return request({
+    url: '/doc/docOrderReply/export',
+    method: 'get',
+    params: query
+  })
 }

+ 52 - 52
src/api/doc/docRecord.js

@@ -1,53 +1,53 @@
-import request from '@/utils/request'
-
-// 查询记录列表
-export function listDocRecord(query) {
-  return request({
-    url: '/doc/docRecord/list',
-    method: 'get',
-    params: query
-  })
-}
-
-// 查询记录详细
-export function getDocRecord(recordId) {
-  return request({
-    url: '/doc/docRecord/' + recordId,
-    method: 'get'
-  })
-}
-
-// 新增记录
-export function addDocRecord(data) {
-  return request({
-    url: '/doc/docRecord',
-    method: 'post',
-    data: data
-  })
-}
-
-// 修改记录
-export function updateDocRecord(data) {
-  return request({
-    url: '/doc/docRecord',
-    method: 'put',
-    data: data
-  })
-}
-
-// 删除记录
-export function delDocRecord(recordId) {
-  return request({
-    url: '/doc/docRecord/' + recordId,
-    method: 'delete'
-  })
-}
-
-// 导出记录
-export function exportDocRecord(query) {
-  return request({
-    url: '/doc/docRecord/export',
-    method: 'get',
-    params: query
-  })
+import request from '@/utils/request'
+
+// 查询记录列表
+export function listDocRecord(query) {
+  return request({
+    url: '/doc/docRecord/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询记录详细
+export function getDocRecord(recordId) {
+  return request({
+    url: '/doc/docRecord/' + recordId,
+    method: 'get'
+  })
+}
+
+// 新增记录
+export function addDocRecord(data) {
+  return request({
+    url: '/doc/docRecord',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改记录
+export function updateDocRecord(data) {
+  return request({
+    url: '/doc/docRecord',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除记录
+export function delDocRecord(recordId) {
+  return request({
+    url: '/doc/docRecord/' + recordId,
+    method: 'delete'
+  })
+}
+
+// 导出记录
+export function exportDocRecord(query) {
+  return request({
+    url: '/doc/docRecord/export',
+    method: 'get',
+    params: query
+  })
 }

+ 52 - 52
src/api/doc/docRecordReply.js

@@ -1,53 +1,53 @@
-import request from '@/utils/request'
-
-// 查询回复列表
-export function listDocRecordReply(query) {
-  return request({
-    url: '/doc/docRecordReply/list',
-    method: 'get',
-    params: query
-  })
-}
-
-// 查询回复详细
-export function getDocRecordReply(replyId) {
-  return request({
-    url: '/doc/docRecordReply/' + replyId,
-    method: 'get'
-  })
-}
-
-// 新增回复
-export function addDocRecordReply(data) {
-  return request({
-    url: '/doc/docRecordReply',
-    method: 'post',
-    data: data
-  })
-}
-
-// 修改回复
-export function updateDocRecordReply(data) {
-  return request({
-    url: '/doc/docRecordReply',
-    method: 'put',
-    data: data
-  })
-}
-
-// 删除回复
-export function delDocRecordReply(replyId) {
-  return request({
-    url: '/doc/docRecordReply/' + replyId,
-    method: 'delete'
-  })
-}
-
-// 导出回复
-export function exportDocRecordReply(query) {
-  return request({
-    url: '/doc/docRecordReply/export',
-    method: 'get',
-    params: query
-  })
+import request from '@/utils/request'
+
+// 查询回复列表
+export function listDocRecordReply(query) {
+  return request({
+    url: '/doc/docRecordReply/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询回复详细
+export function getDocRecordReply(replyId) {
+  return request({
+    url: '/doc/docRecordReply/' + replyId,
+    method: 'get'
+  })
+}
+
+// 新增回复
+export function addDocRecordReply(data) {
+  return request({
+    url: '/doc/docRecordReply',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改回复
+export function updateDocRecordReply(data) {
+  return request({
+    url: '/doc/docRecordReply',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除回复
+export function delDocRecordReply(replyId) {
+  return request({
+    url: '/doc/docRecordReply/' + replyId,
+    method: 'delete'
+  })
+}
+
+// 导出回复
+export function exportDocRecordReply(query) {
+  return request({
+    url: '/doc/docRecordReply/export',
+    method: 'get',
+    params: query
+  })
 }

+ 39 - 39
src/api/login.js

@@ -1,40 +1,40 @@
-import request from '@/utils/request'
-
-// 登录方法
-export function login(username, password, code, uuid) {
-  const data = {
-    username,
-    password,
-    code,
-    uuid
-  }
-  return request({
-    url: '/login',
-    method: 'post',
-    data: data
-  })
-}
-
-// 获取用户详细信息
-export function getInfo() {
-  return request({
-    url: '/getInfo',
-    method: 'get'
-  })
-}
-
-// 退出方法
-export function logout() {
-  return request({
-    url: '/logout',
-    method: 'post'
-  })
-}
-
-// 获取验证码
-export function getCodeImg() {
-  return request({
-    url: '/captchaImage',
-    method: 'get'
-  })
+import request from '@/utils/request'
+
+// 登录方法
+export function login(username, password, code, uuid) {
+  const data = {
+    username,
+    password,
+    code,
+    uuid
+  }
+  return request({
+    url: '/login',
+    method: 'post',
+    data: data
+  })
+}
+
+// 获取用户详细信息
+export function getInfo() {
+  return request({
+    url: '/getInfo',
+    method: 'get'
+  })
+}
+
+// 退出方法
+export function logout() {
+  return request({
+    url: '/logout',
+    method: 'post'
+  })
+}
+
+// 获取验证码
+export function getCodeImg() {
+  return request({
+    url: '/captchaImage',
+    method: 'get'
+  })
 }

+ 8 - 8
src/api/menu.js

@@ -1,9 +1,9 @@
-import request from '@/utils/request'
-
-// 获取路由
-export const getRouters = () => {
-  return request({
-    url: '/getRouters',
-    method: 'get'
-  })
+import request from '@/utils/request'
+
+// 获取路由
+export const getRouters = () => {
+  return request({
+    url: '/getRouters',
+    method: 'get'
+  })
 }

+ 79 - 79
src/api/monitor/job.js

@@ -1,80 +1,80 @@
-import request from '@/utils/request'
-
-// 查询定时任务调度列表
-export function listJob(query) {
-  return request({
-    url: '/monitor/job/list',
-    method: 'get',
-    params: query
-  })
-}
-
-// 查询定时任务调度详细
-export function getJob(jobId) {
-  return request({
-    url: '/monitor/job/' + jobId,
-    method: 'get'
-  })
-}
-
-// 新增定时任务调度
-export function addJob(data) {
-  return request({
-    url: '/monitor/job',
-    method: 'post',
-    data: data
-  })
-}
-
-// 修改定时任务调度
-export function updateJob(data) {
-  return request({
-    url: '/monitor/job',
-    method: 'put',
-    data: data
-  })
-}
-
-// 删除定时任务调度
-export function delJob(jobId) {
-  return request({
-    url: '/monitor/job/' + jobId,
-    method: 'delete'
-  })
-}
-
-// 导出定时任务调度
-export function exportJob(query) {
-  return request({
-    url: '/monitor/job/export',
-    method: 'get',
-    params: query
-  })
-}
-
-// 任务状态修改
-export function changeJobStatus(jobId, status) {
-  const data = {
-    jobId,
-    status
-  }
-  return request({
-    url: '/monitor/job/changeStatus',
-    method: 'put',
-    data: data
-  })
-}
-
-
-// 定时任务立即执行一次
-export function runJob(jobId, jobGroup) {
-  const data = {
-    jobId,
-    jobGroup
-  }
-  return request({
-    url: '/monitor/job/run',
-    method: 'put',
-    data: data
-  })
+import request from '@/utils/request'
+
+// 查询定时任务调度列表
+export function listJob(query) {
+  return request({
+    url: '/monitor/job/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询定时任务调度详细
+export function getJob(jobId) {
+  return request({
+    url: '/monitor/job/' + jobId,
+    method: 'get'
+  })
+}
+
+// 新增定时任务调度
+export function addJob(data) {
+  return request({
+    url: '/monitor/job',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改定时任务调度
+export function updateJob(data) {
+  return request({
+    url: '/monitor/job',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除定时任务调度
+export function delJob(jobId) {
+  return request({
+    url: '/monitor/job/' + jobId,
+    method: 'delete'
+  })
+}
+
+// 导出定时任务调度
+export function exportJob(query) {
+  return request({
+    url: '/monitor/job/export',
+    method: 'get',
+    params: query
+  })
+}
+
+// 任务状态修改
+export function changeJobStatus(jobId, status) {
+  const data = {
+    jobId,
+    status
+  }
+  return request({
+    url: '/monitor/job/changeStatus',
+    method: 'put',
+    data: data
+  })
+}
+
+
+// 定时任务立即执行一次
+export function runJob(jobId, jobGroup) {
+  const data = {
+    jobId,
+    jobGroup
+  }
+  return request({
+    url: '/monitor/job/run',
+    method: 'put',
+    data: data
+  })
 }

+ 34 - 34
src/api/monitor/jobLog.js

@@ -1,35 +1,35 @@
-import request from '@/utils/request'
-
-// 查询调度日志列表
-export function listJobLog(query) {
-  return request({
-    url: '/monitor/jobLog/list',
-    method: 'get',
-    params: query
-  })
-}
-
-// 删除调度日志
-export function delJobLog(jobLogId) {
-  return request({
-    url: '/monitor/jobLog/' + jobLogId,
-    method: 'delete'
-  })
-}
-
-// 清空调度日志
-export function cleanJobLog() {
-  return request({
-    url: '/monitor/jobLog/clean',
-    method: 'delete'
-  })
-}
-
-// 导出调度日志
-export function exportJobLog(query) {
-  return request({
-    url: '/monitor/jobLog/export',
-    method: 'get',
-    params: query
-  })
+import request from '@/utils/request'
+
+// 查询调度日志列表
+export function listJobLog(query) {
+  return request({
+    url: '/monitor/jobLog/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 删除调度日志
+export function delJobLog(jobLogId) {
+  return request({
+    url: '/monitor/jobLog/' + jobLogId,
+    method: 'delete'
+  })
+}
+
+// 清空调度日志
+export function cleanJobLog() {
+  return request({
+    url: '/monitor/jobLog/clean',
+    method: 'delete'
+  })
+}
+
+// 导出调度日志
+export function exportJobLog(query) {
+  return request({
+    url: '/monitor/jobLog/export',
+    method: 'get',
+    params: query
+  })
 }

+ 34 - 34
src/api/monitor/logininfor.js

@@ -1,35 +1,35 @@
-import request from '@/utils/request'
-
-// 查询登录日志列表
-export function list(query) {
-  return request({
-    url: '/monitor/logininfor/list',
-    method: 'get',
-    params: query
-  })
-}
-
-// 删除登录日志
-export function delLogininfor(infoId) {
-  return request({
-    url: '/monitor/logininfor/' + infoId,
-    method: 'delete'
-  })
-}
-
-// 清空登录日志
-export function cleanLogininfor() {
-  return request({
-    url: '/monitor/logininfor/clean',
-    method: 'delete'
-  })
-}
-
-// 导出登录日志
-export function exportLogininfor(query) {
-  return request({
-    url: '/monitor/logininfor/export',
-    method: 'get',
-    params: query
-  })
+import request from '@/utils/request'
+
+// 查询登录日志列表
+export function list(query) {
+  return request({
+    url: '/monitor/logininfor/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 删除登录日志
+export function delLogininfor(infoId) {
+  return request({
+    url: '/monitor/logininfor/' + infoId,
+    method: 'delete'
+  })
+}
+
+// 清空登录日志
+export function cleanLogininfor() {
+  return request({
+    url: '/monitor/logininfor/clean',
+    method: 'delete'
+  })
+}
+
+// 导出登录日志
+export function exportLogininfor(query) {
+  return request({
+    url: '/monitor/logininfor/export',
+    method: 'get',
+    params: query
+  })
 }

+ 18 - 18
src/api/monitor/online.js

@@ -1,18 +1,18 @@
-import request from '@/utils/request'
-
-// 查询在线用户列表
-export function list(query) {
-  return request({
-    url: '/monitor/online/list',
-    method: 'get',
-    params: query
-  })
-}
-
-// 强退用户
-export function forceLogout(tokenId) {
-  return request({
-    url: '/monitor/online/' + tokenId,
-    method: 'delete'
-  })
-}
+import request from '@/utils/request'
+
+// 查询在线用户列表
+export function list(query) {
+  return request({
+    url: '/monitor/online/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 强退用户
+export function forceLogout(tokenId) {
+  return request({
+    url: '/monitor/online/' + tokenId,
+    method: 'delete'
+  })
+}

+ 34 - 34
src/api/monitor/operlog.js

@@ -1,35 +1,35 @@
-import request from '@/utils/request'
-
-// 查询操作日志列表
-export function list(query) {
-  return request({
-    url: '/monitor/operlog/list',
-    method: 'get',
-    params: query
-  })
-}
-
-// 删除操作日志
-export function delOperlog(operId) {
-  return request({
-    url: '/monitor/operlog/' + operId,
-    method: 'delete'
-  })
-}
-
-// 清空操作日志
-export function cleanOperlog() {
-  return request({
-    url: '/monitor/operlog/clean',
-    method: 'delete'
-  })
-}
-
-// 导出操作日志
-export function exportOperlog(query) {
-  return request({
-    url: '/monitor/operlog/export',
-    method: 'get',
-    params: query
-  })
+import request from '@/utils/request'
+
+// 查询操作日志列表
+export function list(query) {
+  return request({
+    url: '/monitor/operlog/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 删除操作日志
+export function delOperlog(operId) {
+  return request({
+    url: '/monitor/operlog/' + operId,
+    method: 'delete'
+  })
+}
+
+// 清空操作日志
+export function cleanOperlog() {
+  return request({
+    url: '/monitor/operlog/clean',
+    method: 'delete'
+  })
+}
+
+// 导出操作日志
+export function exportOperlog(query) {
+  return request({
+    url: '/monitor/operlog/export',
+    method: 'get',
+    params: query
+  })
 }

+ 8 - 8
src/api/monitor/server.js

@@ -1,9 +1,9 @@
-import request from '@/utils/request'
-
-// 查询服务器详细
-export function getServer() {
-  return request({
-    url: '/monitor/server',
-    method: 'get'
-  })
+import request from '@/utils/request'
+
+// 查询服务器详细
+export function getServer() {
+  return request({
+    url: '/monitor/server',
+    method: 'get'
+  })
 }

+ 52 - 52
src/api/store/adv.js

@@ -1,53 +1,53 @@
-import request from '@/utils/request'
-
-// 查询广告列表
-export function listAdv(query) {
-  return request({
-    url: '/store/adv/list',
-    method: 'get',
-    params: query
-  })
-}
-
-// 查询广告详细
-export function getAdv(advId) {
-  return request({
-    url: '/store/adv/' + advId,
-    method: 'get'
-  })
-}
-
-// 新增广告
-export function addAdv(data) {
-  return request({
-    url: '/store/adv',
-    method: 'post',
-    data: data
-  })
-}
-
-// 修改广告
-export function updateAdv(data) {
-  return request({
-    url: '/store/adv',
-    method: 'put',
-    data: data
-  })
-}
-
-// 删除广告
-export function delAdv(advId) {
-  return request({
-    url: '/store/adv/' + advId,
-    method: 'delete'
-  })
-}
-
-// 导出广告
-export function exportAdv(query) {
-  return request({
-    url: '/store/adv/export',
-    method: 'get',
-    params: query
-  })
+import request from '@/utils/request'
+
+// 查询广告列表
+export function listAdv(query) {
+  return request({
+    url: '/store/adv/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询广告详细
+export function getAdv(advId) {
+  return request({
+    url: '/store/adv/' + advId,
+    method: 'get'
+  })
+}
+
+// 新增广告
+export function addAdv(data) {
+  return request({
+    url: '/store/adv',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改广告
+export function updateAdv(data) {
+  return request({
+    url: '/store/adv',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除广告
+export function delAdv(advId) {
+  return request({
+    url: '/store/adv/' + advId,
+    method: 'delete'
+  })
+}
+
+// 导出广告
+export function exportAdv(query) {
+  return request({
+    url: '/store/adv/export',
+    method: 'get',
+    params: query
+  })
 }

+ 52 - 52
src/api/store/appVersion.js

@@ -1,53 +1,53 @@
-import request from '@/utils/request'
-
-// 查询安卓版本列表
-export function listAppVersion(query) {
-  return request({
-    url: '/store/appVersion/list',
-    method: 'get',
-    params: query
-  })
-}
-
-// 查询安卓版本详细
-export function getAppVersion(versionId) {
-  return request({
-    url: '/store/appVersion/' + versionId,
-    method: 'get'
-  })
-}
-
-// 新增安卓版本
-export function addAppVersion(data) {
-  return request({
-    url: '/store/appVersion',
-    method: 'post',
-    data: data
-  })
-}
-
-// 修改安卓版本
-export function updateAppVersion(data) {
-  return request({
-    url: '/store/appVersion',
-    method: 'put',
-    data: data
-  })
-}
-
-// 删除安卓版本
-export function delAppVersion(versionId) {
-  return request({
-    url: '/store/appVersion/' + versionId,
-    method: 'delete'
-  })
-}
-
-// 导出安卓版本
-export function exportAppVersion(query) {
-  return request({
-    url: '/store/appVersion/export',
-    method: 'get',
-    params: query
-  })
+import request from '@/utils/request'
+
+// 查询安卓版本列表
+export function listAppVersion(query) {
+  return request({
+    url: '/store/appVersion/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询安卓版本详细
+export function getAppVersion(versionId) {
+  return request({
+    url: '/store/appVersion/' + versionId,
+    method: 'get'
+  })
+}
+
+// 新增安卓版本
+export function addAppVersion(data) {
+  return request({
+    url: '/store/appVersion',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改安卓版本
+export function updateAppVersion(data) {
+  return request({
+    url: '/store/appVersion',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除安卓版本
+export function delAppVersion(versionId) {
+  return request({
+    url: '/store/appVersion/' + versionId,
+    method: 'delete'
+  })
+}
+
+// 导出安卓版本
+export function exportAppVersion(query) {
+  return request({
+    url: '/store/appVersion/export',
+    method: 'get',
+    params: query
+  })
 }

+ 52 - 52
src/api/store/article.js

@@ -1,53 +1,53 @@
-import request from '@/utils/request'
-
-// 查询文章列表
-export function listArticle(query) {
-  return request({
-    url: '/store/article/list',
-    method: 'get',
-    params: query
-  })
-}
-
-// 查询文章详细
-export function getArticle(articleId) {
-  return request({
-    url: '/store/article/' + articleId,
-    method: 'get'
-  })
-}
-
-// 新增文章
-export function addArticle(data) {
-  return request({
-    url: '/store/article',
-    method: 'post',
-    data: data
-  })
-}
-
-// 修改文章
-export function updateArticle(data) {
-  return request({
-    url: '/store/article',
-    method: 'put',
-    data: data
-  })
-}
-
-// 删除文章
-export function delArticle(articleId) {
-  return request({
-    url: '/store/article/' + articleId,
-    method: 'delete'
-  })
-}
-
-// 导出文章
-export function exportArticle(query) {
-  return request({
-    url: '/store/article/export',
-    method: 'get',
-    params: query
-  })
+import request from '@/utils/request'
+
+// 查询文章列表
+export function listArticle(query) {
+  return request({
+    url: '/store/article/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询文章详细
+export function getArticle(articleId) {
+  return request({
+    url: '/store/article/' + articleId,
+    method: 'get'
+  })
+}
+
+// 新增文章
+export function addArticle(data) {
+  return request({
+    url: '/store/article',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改文章
+export function updateArticle(data) {
+  return request({
+    url: '/store/article',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除文章
+export function delArticle(articleId) {
+  return request({
+    url: '/store/article/' + articleId,
+    method: 'delete'
+  })
+}
+
+// 导出文章
+export function exportArticle(query) {
+  return request({
+    url: '/store/article/export',
+    method: 'get',
+    params: query
+  })
 }

+ 60 - 60
src/api/store/articleCate.js

@@ -1,61 +1,61 @@
-import request from '@/utils/request'
-
-// 查询文章分类列表
-export function listArticleCate(query) {
-  return request({
-    url: '/store/articleCate/list',
-    method: 'get',
-    params: query
-  })
-}
-
-// 查询文章分类详细
-export function getArticleCate(cateId) {
-  return request({
-    url: '/store/articleCate/' + cateId,
-    method: 'get'
-  })
-}
-
-// 新增文章分类
-export function addArticleCate(data) {
-  return request({
-    url: '/store/articleCate',
-    method: 'post',
-    data: data
-  })
-}
-
-// 修改文章分类
-export function updateArticleCate(data) {
-  return request({
-    url: '/store/articleCate',
-    method: 'put',
-    data: data
-  })
-}
-
-// 删除文章分类
-export function delArticleCate(cateId) {
-  return request({
-    url: '/store/articleCate/' + cateId,
-    method: 'delete'
-  })
-}
-
-// 导出文章分类
-export function exportArticleCate(query) {
-  return request({
-    url: '/store/articleCate/export',
-    method: 'get',
-    params: query
-  })
-}
-
-export function getArticleCates(query) {
-  return request({
-    url: '/store/articleCate/getArticleCates',
-    method: 'get',
-    params: query
-  })
+import request from '@/utils/request'
+
+// 查询文章分类列表
+export function listArticleCate(query) {
+  return request({
+    url: '/store/articleCate/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询文章分类详细
+export function getArticleCate(cateId) {
+  return request({
+    url: '/store/articleCate/' + cateId,
+    method: 'get'
+  })
+}
+
+// 新增文章分类
+export function addArticleCate(data) {
+  return request({
+    url: '/store/articleCate',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改文章分类
+export function updateArticleCate(data) {
+  return request({
+    url: '/store/articleCate',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除文章分类
+export function delArticleCate(cateId) {
+  return request({
+    url: '/store/articleCate/' + cateId,
+    method: 'delete'
+  })
+}
+
+// 导出文章分类
+export function exportArticleCate(query) {
+  return request({
+    url: '/store/articleCate/export',
+    method: 'get',
+    params: query
+  })
+}
+
+export function getArticleCates(query) {
+  return request({
+    url: '/store/articleCate/getArticleCates',
+    method: 'get',
+    params: query
+  })
 }

+ 52 - 52
src/api/store/articleViews.js

@@ -1,53 +1,53 @@
-import request from '@/utils/request'
-
-// 查询文章阅读列表
-export function listArticleViews(query) {
-  return request({
-    url: '/store/articleViews/list',
-    method: 'get',
-    params: query
-  })
-}
-
-// 查询文章阅读详细
-export function getArticleViews(viewId) {
-  return request({
-    url: '/store/articleViews/' + viewId,
-    method: 'get'
-  })
-}
-
-// 新增文章阅读
-export function addArticleViews(data) {
-  return request({
-    url: '/store/articleViews',
-    method: 'post',
-    data: data
-  })
-}
-
-// 修改文章阅读
-export function updateArticleViews(data) {
-  return request({
-    url: '/store/articleViews',
-    method: 'put',
-    data: data
-  })
-}
-
-// 删除文章阅读
-export function delArticleViews(viewId) {
-  return request({
-    url: '/store/articleViews/' + viewId,
-    method: 'delete'
-  })
-}
-
-// 导出文章阅读
-export function exportArticleViews(query) {
-  return request({
-    url: '/store/articleViews/export',
-    method: 'get',
-    params: query
-  })
+import request from '@/utils/request'
+
+// 查询文章阅读列表
+export function listArticleViews(query) {
+  return request({
+    url: '/store/articleViews/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询文章阅读详细
+export function getArticleViews(viewId) {
+  return request({
+    url: '/store/articleViews/' + viewId,
+    method: 'get'
+  })
+}
+
+// 新增文章阅读
+export function addArticleViews(data) {
+  return request({
+    url: '/store/articleViews',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改文章阅读
+export function updateArticleViews(data) {
+  return request({
+    url: '/store/articleViews',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除文章阅读
+export function delArticleViews(viewId) {
+  return request({
+    url: '/store/articleViews/' + viewId,
+    method: 'delete'
+  })
+}
+
+// 导出文章阅读
+export function exportArticleViews(query) {
+  return request({
+    url: '/store/articleViews/export',
+    method: 'get',
+    params: query
+  })
 }

+ 68 - 68
src/api/store/city.js

@@ -1,69 +1,69 @@
-import request from '@/utils/request'
-
-// 查询城市列表
-export function listCity(query) {
-  return request({
-    url: '/store/city/list',
-    method: 'get',
-    params: query
-  })
-}
-export function getAllList(query) {
-  return request({
-    url: '/store/city/getAllList',
-    method: 'get',
-    params: query
-  })
-}
-
-export function getCitys() {
-  return request({
-    url: '/store/city/getCitys',
-    method: 'get'
-  })
-}
-
-
-
-// 查询城市详细
-export function getCity(id) {
-  return request({
-    url: '/store/city/' + id,
-    method: 'get'
-  })
-}
-
-// 新增城市
-export function addCity(data) {
-  return request({
-    url: '/store/city',
-    method: 'post',
-    data: data
-  })
-}
-
-// 修改城市
-export function updateCity(data) {
-  return request({
-    url: '/store/city',
-    method: 'put',
-    data: data
-  })
-}
-
-// 删除城市
-export function delCity(id) {
-  return request({
-    url: '/store/city/' + id,
-    method: 'delete'
-  })
-}
-
-// 导出城市
-export function exportCity(query) {
-  return request({
-    url: '/store/city/export',
-    method: 'get',
-    params: query
-  })
+import request from '@/utils/request'
+
+// 查询城市列表
+export function listCity(query) {
+  return request({
+    url: '/store/city/list',
+    method: 'get',
+    params: query
+  })
+}
+export function getAllList(query) {
+  return request({
+    url: '/store/city/getAllList',
+    method: 'get',
+    params: query
+  })
+}
+
+export function getCitys() {
+  return request({
+    url: '/store/city/getCitys',
+    method: 'get'
+  })
+}
+
+
+
+// 查询城市详细
+export function getCity(id) {
+  return request({
+    url: '/store/city/' + id,
+    method: 'get'
+  })
+}
+
+// 新增城市
+export function addCity(data) {
+  return request({
+    url: '/store/city',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改城市
+export function updateCity(data) {
+  return request({
+    url: '/store/city',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除城市
+export function delCity(id) {
+  return request({
+    url: '/store/city/' + id,
+    method: 'delete'
+  })
+}
+
+// 导出城市
+export function exportCity(query) {
+  return request({
+    url: '/store/city/export',
+    method: 'get',
+    params: query
+  })
 }

+ 52 - 52
src/api/store/express.js

@@ -1,53 +1,53 @@
-import request from '@/utils/request'
-
-// 查询快递公司列表
-export function listExpress(query) {
-  return request({
-    url: '/store/express/list',
-    method: 'get',
-    params: query
-  })
-}
-
-// 查询快递公司详细
-export function getExpress(id) {
-  return request({
-    url: '/store/express/' + id,
-    method: 'get'
-  })
-}
-
-// 新增快递公司
-export function addExpress(data) {
-  return request({
-    url: '/store/express',
-    method: 'post',
-    data: data
-  })
-}
-
-// 修改快递公司
-export function updateExpress(data) {
-  return request({
-    url: '/store/express',
-    method: 'put',
-    data: data
-  })
-}
-
-// 删除快递公司
-export function delExpress(id) {
-  return request({
-    url: '/store/express/' + id,
-    method: 'delete'
-  })
-}
-
-// 导出快递公司
-export function exportExpress(query) {
-  return request({
-    url: '/store/express/export',
-    method: 'get',
-    params: query
-  })
+import request from '@/utils/request'
+
+// 查询快递公司列表
+export function listExpress(query) {
+  return request({
+    url: '/store/express/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询快递公司详细
+export function getExpress(id) {
+  return request({
+    url: '/store/express/' + id,
+    method: 'get'
+  })
+}
+
+// 新增快递公司
+export function addExpress(data) {
+  return request({
+    url: '/store/express',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改快递公司
+export function updateExpress(data) {
+  return request({
+    url: '/store/express',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除快递公司
+export function delExpress(id) {
+  return request({
+    url: '/store/express/' + id,
+    method: 'delete'
+  })
+}
+
+// 导出快递公司
+export function exportExpress(query) {
+  return request({
+    url: '/store/express/export',
+    method: 'get',
+    params: query
+  })
 }

+ 30 - 30
src/api/store/index.js

@@ -1,31 +1,31 @@
-import request from '@/utils/request'
-
-export function getIndexData(query) {
-  return request({
-    url: '/store/index/getIndexData',
-    method: 'get',
-    params: query
-  }
-  )
-}
-
-export function getStoreOrderData(query) {
-  return request({
-    url: '/store/index/getStoreOrderData',
-    method: 'get',
-    params: query
-  }
-  )
-}
- 
-
-export function getStorePaymentData(query) {
-  return request({
-    url: '/store/index/getStorePaymentData',
-    method: 'get',
-    params: query
-  }
-  )
-}
- 
+import request from '@/utils/request'
+
+export function getIndexData(query) {
+  return request({
+    url: '/store/index/getIndexData',
+    method: 'get',
+    params: query
+  }
+  )
+}
+
+export function getStoreOrderData(query) {
+  return request({
+    url: '/store/index/getStoreOrderData',
+    method: 'get',
+    params: query
+  }
+  )
+}
+ 
+
+export function getStorePaymentData(query) {
+  return request({
+    url: '/store/index/getStorePaymentData',
+    method: 'get',
+    params: query
+  }
+  )
+}
+ 
  

+ 52 - 52
src/api/store/level.js

@@ -1,53 +1,53 @@
-import request from '@/utils/request'
-
-// 查询设置用户等级列表
-export function listLevel(query) {
-  return request({
-    url: '/store/level/list',
-    method: 'get',
-    params: query
-  })
-}
-
-// 查询设置用户等级详细
-export function getLevel(id) {
-  return request({
-    url: '/store/level/' + id,
-    method: 'get'
-  })
-}
-
-// 新增设置用户等级
-export function addLevel(data) {
-  return request({
-    url: '/store/level',
-    method: 'post',
-    data: data
-  })
-}
-
-// 修改设置用户等级
-export function updateLevel(data) {
-  return request({
-    url: '/store/level',
-    method: 'put',
-    data: data
-  })
-}
-
-// 删除设置用户等级
-export function delLevel(id) {
-  return request({
-    url: '/store/level/' + id,
-    method: 'delete'
-  })
-}
-
-// 导出设置用户等级
-export function exportLevel(query) {
-  return request({
-    url: '/store/level/export',
-    method: 'get',
-    params: query
-  })
+import request from '@/utils/request'
+
+// 查询设置用户等级列表
+export function listLevel(query) {
+  return request({
+    url: '/store/level/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询设置用户等级详细
+export function getLevel(id) {
+  return request({
+    url: '/store/level/' + id,
+    method: 'get'
+  })
+}
+
+// 新增设置用户等级
+export function addLevel(data) {
+  return request({
+    url: '/store/level',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改设置用户等级
+export function updateLevel(data) {
+  return request({
+    url: '/store/level',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除设置用户等级
+export function delLevel(id) {
+  return request({
+    url: '/store/level/' + id,
+    method: 'delete'
+  })
+}
+
+// 导出设置用户等级
+export function exportLevel(query) {
+  return request({
+    url: '/store/level/export',
+    method: 'get',
+    params: query
+  })
 }

+ 52 - 52
src/api/store/material.js

@@ -1,53 +1,53 @@
-import request from '@/utils/request'
-
-// 查询素材库列表
-export function listMaterial(query) {
-  return request({
-    url: '/store/material/list',
-    method: 'get',
-    params: query
-  })
-}
-
-// 查询素材库详细
-export function getMaterial(materialId) {
-  return request({
-    url: '/store/material/' + materialId,
-    method: 'get'
-  })
-}
-
-// 新增素材库
-export function addMaterial(data) {
-  return request({
-    url: '/store/material',
-    method: 'post',
-    data: data
-  })
-}
-
-// 修改素材库
-export function updateMaterial(data) {
-  return request({
-    url: '/store/material',
-    method: 'put',
-    data: data
-  })
-}
-
-// 删除素材库
-export function delMaterial(materialId) {
-  return request({
-    url: '/store/material/' + materialId,
-    method: 'delete'
-  })
-}
-
-// 导出素材库
-export function exportMaterial(query) {
-  return request({
-    url: '/store/material/export',
-    method: 'get',
-    params: query
-  })
+import request from '@/utils/request'
+
+// 查询素材库列表
+export function listMaterial(query) {
+  return request({
+    url: '/store/material/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询素材库详细
+export function getMaterial(materialId) {
+  return request({
+    url: '/store/material/' + materialId,
+    method: 'get'
+  })
+}
+
+// 新增素材库
+export function addMaterial(data) {
+  return request({
+    url: '/store/material',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改素材库
+export function updateMaterial(data) {
+  return request({
+    url: '/store/material',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除素材库
+export function delMaterial(materialId) {
+  return request({
+    url: '/store/material/' + materialId,
+    method: 'delete'
+  })
+}
+
+// 导出素材库
+export function exportMaterial(query) {
+  return request({
+    url: '/store/material/export',
+    method: 'get',
+    params: query
+  })
 }

+ 60 - 60
src/api/store/materialGroup.js

@@ -1,61 +1,61 @@
-import request from '@/utils/request'
-
-// 查询素材分组列表
-export function listMaterialGroup(query) {
-  return request({
-    url: '/store/materialGroup/list',
-    method: 'get',
-    params: query
-  })
-}
-export function getAllMaterialGroup(query) {
-  return request({
-    url: '/store/materialGroup/getAllList',
-    method: 'get',
-    params: query
-  })
-}
-
-
-// 查询素材分组详细
-export function getMaterialGroup(groupId) {
-  return request({
-    url: '/store/materialGroup/' + groupId,
-    method: 'get'
-  })
-}
-
-// 新增素材分组
-export function addMaterialGroup(data) {
-  return request({
-    url: '/store/materialGroup',
-    method: 'post',
-    data: data
-  })
-}
-
-// 修改素材分组
-export function updateMaterialGroup(data) {
-  return request({
-    url: '/store/materialGroup',
-    method: 'put',
-    data: data
-  })
-}
-
-// 删除素材分组
-export function delMaterialGroup(groupId) {
-  return request({
-    url: '/store/materialGroup/' + groupId,
-    method: 'delete'
-  })
-}
-
-// 导出素材分组
-export function exportMaterialGroup(query) {
-  return request({
-    url: '/store/materialGroup/export',
-    method: 'get',
-    params: query
-  })
+import request from '@/utils/request'
+
+// 查询素材分组列表
+export function listMaterialGroup(query) {
+  return request({
+    url: '/store/materialGroup/list',
+    method: 'get',
+    params: query
+  })
+}
+export function getAllMaterialGroup(query) {
+  return request({
+    url: '/store/materialGroup/getAllList',
+    method: 'get',
+    params: query
+  })
+}
+
+
+// 查询素材分组详细
+export function getMaterialGroup(groupId) {
+  return request({
+    url: '/store/materialGroup/' + groupId,
+    method: 'get'
+  })
+}
+
+// 新增素材分组
+export function addMaterialGroup(data) {
+  return request({
+    url: '/store/materialGroup',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改素材分组
+export function updateMaterialGroup(data) {
+  return request({
+    url: '/store/materialGroup',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除素材分组
+export function delMaterialGroup(groupId) {
+  return request({
+    url: '/store/materialGroup/' + groupId,
+    method: 'delete'
+  })
+}
+
+// 导出素材分组
+export function exportMaterialGroup(query) {
+  return request({
+    url: '/store/materialGroup/export',
+    method: 'get',
+    params: query
+  })
 }

+ 52 - 52
src/api/store/menu.js

@@ -1,53 +1,53 @@
-import request from '@/utils/request'
-
-// 查询用户端菜单管理列表
-export function listMenu(query) {
-  return request({
-    url: '/store/menu/list',
-    method: 'get',
-    params: query
-  })
-}
-
-// 查询用户端菜单管理详细
-export function getMenu(menuId) {
-  return request({
-    url: '/store/menu/' + menuId,
-    method: 'get'
-  })
-}
-
-// 新增用户端菜单管理
-export function addMenu(data) {
-  return request({
-    url: '/store/menu',
-    method: 'post',
-    data: data
-  })
-}
-
-// 修改用户端菜单管理
-export function updateMenu(data) {
-  return request({
-    url: '/store/menu',
-    method: 'put',
-    data: data
-  })
-}
-
-// 删除用户端菜单管理
-export function delMenu(menuId) {
-  return request({
-    url: '/store/menu/' + menuId,
-    method: 'delete'
-  })
-}
-
-// 导出用户端菜单管理
-export function exportMenu(query) {
-  return request({
-    url: '/store/menu/export',
-    method: 'get',
-    params: query
-  })
+import request from '@/utils/request'
+
+// 查询用户端菜单管理列表
+export function listMenu(query) {
+  return request({
+    url: '/store/menu/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询用户端菜单管理详细
+export function getMenu(menuId) {
+  return request({
+    url: '/store/menu/' + menuId,
+    method: 'get'
+  })
+}
+
+// 新增用户端菜单管理
+export function addMenu(data) {
+  return request({
+    url: '/store/menu',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改用户端菜单管理
+export function updateMenu(data) {
+  return request({
+    url: '/store/menu',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除用户端菜单管理
+export function delMenu(menuId) {
+  return request({
+    url: '/store/menu/' + menuId,
+    method: 'delete'
+  })
+}
+
+// 导出用户端菜单管理
+export function exportMenu(query) {
+  return request({
+    url: '/store/menu/export',
+    method: 'get',
+    params: query
+  })
 }

+ 52 - 52
src/api/store/patient.js

@@ -1,53 +1,53 @@
-import request from '@/utils/request'
-
-// 查询病人列表
-export function listPatient(query) {
-  return request({
-    url: '/store/patient/list',
-    method: 'get',
-    params: query
-  })
-}
-
-// 查询病人详细
-export function getPatient(patientId) {
-  return request({
-    url: '/store/patient/' + patientId,
-    method: 'get'
-  })
-}
-
-// 新增病人
-export function addPatient(data) {
-  return request({
-    url: '/store/patient',
-    method: 'post',
-    data: data
-  })
-}
-
-// 修改病人
-export function updatePatient(data) {
-  return request({
-    url: '/store/patient',
-    method: 'put',
-    data: data
-  })
-}
-
-// 删除病人
-export function delPatient(patientId) {
-  return request({
-    url: '/store/patient/' + patientId,
-    method: 'delete'
-  })
-}
-
-// 导出病人
-export function exportPatient(query) {
-  return request({
-    url: '/store/patient/export',
-    method: 'get',
-    params: query
-  })
+import request from '@/utils/request'
+
+// 查询病人列表
+export function listPatient(query) {
+  return request({
+    url: '/store/patient/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询病人详细
+export function getPatient(patientId) {
+  return request({
+    url: '/store/patient/' + patientId,
+    method: 'get'
+  })
+}
+
+// 新增病人
+export function addPatient(data) {
+  return request({
+    url: '/store/patient',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改病人
+export function updatePatient(data) {
+  return request({
+    url: '/store/patient',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除病人
+export function delPatient(patientId) {
+  return request({
+    url: '/store/patient/' + patientId,
+    method: 'delete'
+  })
+}
+
+// 导出病人
+export function exportPatient(query) {
+  return request({
+    url: '/store/patient/export',
+    method: 'get',
+    params: query
+  })
 }

+ 52 - 52
src/api/store/prescribe.js

@@ -1,53 +1,53 @@
-import request from '@/utils/request'
-
-// 查询处方列表
-export function listPrescribe(query) {
-  return request({
-    url: '/store/prescribe/list',
-    method: 'get',
-    params: query
-  })
-}
-
-// 查询处方详细
-export function getPrescribe(prescribeId) {
-  return request({
-    url: '/store/prescribe/' + prescribeId,
-    method: 'get'
-  })
-}
-
-// 新增处方
-export function addPrescribe(data) {
-  return request({
-    url: '/store/prescribe',
-    method: 'post',
-    data: data
-  })
-}
-
-// 修改处方
-export function updatePrescribe(data) {
-  return request({
-    url: '/store/prescribe',
-    method: 'put',
-    data: data
-  })
-}
-
-// 删除处方
-export function delPrescribe(prescribeId) {
-  return request({
-    url: '/store/prescribe/' + prescribeId,
-    method: 'delete'
-  })
-}
-
-// 导出处方
-export function exportPrescribe(query) {
-  return request({
-    url: '/store/prescribe/export',
-    method: 'get',
-    params: query
-  })
+import request from '@/utils/request'
+
+// 查询处方列表
+export function listPrescribe(query) {
+  return request({
+    url: '/store/prescribe/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询处方详细
+export function getPrescribe(prescribeId) {
+  return request({
+    url: '/store/prescribe/' + prescribeId,
+    method: 'get'
+  })
+}
+
+// 新增处方
+export function addPrescribe(data) {
+  return request({
+    url: '/store/prescribe',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改处方
+export function updatePrescribe(data) {
+  return request({
+    url: '/store/prescribe',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除处方
+export function delPrescribe(prescribeId) {
+  return request({
+    url: '/store/prescribe/' + prescribeId,
+    method: 'delete'
+  })
+}
+
+// 导出处方
+export function exportPrescribe(query) {
+  return request({
+    url: '/store/prescribe/export',
+    method: 'get',
+    params: query
+  })
 }

+ 52 - 52
src/api/store/prescribeDrug.js

@@ -1,53 +1,53 @@
-import request from '@/utils/request'
-
-// 查询处方药品列表
-export function listPrescribeDrug(query) {
-  return request({
-    url: '/store/prescribeDrug/list',
-    method: 'get',
-    params: query
-  })
-}
-
-// 查询处方药品详细
-export function getPrescribeDrug(drugId) {
-  return request({
-    url: '/store/prescribeDrug/' + drugId,
-    method: 'get'
-  })
-}
-
-// 新增处方药品
-export function addPrescribeDrug(data) {
-  return request({
-    url: '/store/prescribeDrug',
-    method: 'post',
-    data: data
-  })
-}
-
-// 修改处方药品
-export function updatePrescribeDrug(data) {
-  return request({
-    url: '/store/prescribeDrug',
-    method: 'put',
-    data: data
-  })
-}
-
-// 删除处方药品
-export function delPrescribeDrug(drugId) {
-  return request({
-    url: '/store/prescribeDrug/' + drugId,
-    method: 'delete'
-  })
-}
-
-// 导出处方药品
-export function exportPrescribeDrug(query) {
-  return request({
-    url: '/store/prescribeDrug/export',
-    method: 'get',
-    params: query
-  })
+import request from '@/utils/request'
+
+// 查询处方药品列表
+export function listPrescribeDrug(query) {
+  return request({
+    url: '/store/prescribeDrug/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询处方药品详细
+export function getPrescribeDrug(drugId) {
+  return request({
+    url: '/store/prescribeDrug/' + drugId,
+    method: 'get'
+  })
+}
+
+// 新增处方药品
+export function addPrescribeDrug(data) {
+  return request({
+    url: '/store/prescribeDrug',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改处方药品
+export function updatePrescribeDrug(data) {
+  return request({
+    url: '/store/prescribeDrug',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除处方药品
+export function delPrescribeDrug(drugId) {
+  return request({
+    url: '/store/prescribeDrug/' + drugId,
+    method: 'delete'
+  })
+}
+
+// 导出处方药品
+export function exportPrescribeDrug(query) {
+  return request({
+    url: '/store/prescribeDrug/export',
+    method: 'get',
+    params: query
+  })
 }

+ 59 - 59
src/api/store/shippingTemplates.js

@@ -1,59 +1,59 @@
-import request from '@/utils/request'
-
-// 查询运费模板列表
-export function listShippingTemplates(query) {
-  return request({
-    url: '/store/shippingTemplates/list',
-    method: 'get',
-    params: query
-  })
-}
-
-// 查询运费模板详细
-export function getShippingTemplates(shippingId) {
-  return request({
-    url: '/store/shippingTemplates/' + shippingId,
-    method: 'get'
-  })
-}
-
-// 新增运费模板
-export function addShippingTemplates(data) {
-  return request({
-    url: '/store/shippingTemplates',
-    method: 'post',
-    data: data
-  })
-}
-
-// 修改运费模板
-export function updateShippingTemplates(data) {
-  return request({
-    url: '/store/shippingTemplates',
-    method: 'put',
-    data: data
-  })
-}
-
-// 删除运费模板
-export function delShippingTemplates(shippingId) {
-  return request({
-    url: '/store/shippingTemplates/' + shippingId,
-    method: 'delete'
-  })
-}
-
-// 导出运费模板
-export function exportShippingTemplates(query) {
-  return request({
-    url: '/store/shippingTemplates/export',
-    method: 'get',
-    params: query
-  })
-}
-export function getAllShippingTemplates() {
-  return request({
-    url: '/store/shippingTemplates/getAllList',
-    method: 'get'
-  })
-}
+import request from '@/utils/request'
+
+// 查询运费模板列表
+export function listShippingTemplates(query) {
+  return request({
+    url: '/store/shippingTemplates/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询运费模板详细
+export function getShippingTemplates(shippingId) {
+  return request({
+    url: '/store/shippingTemplates/' + shippingId,
+    method: 'get'
+  })
+}
+
+// 新增运费模板
+export function addShippingTemplates(data) {
+  return request({
+    url: '/store/shippingTemplates',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改运费模板
+export function updateShippingTemplates(data) {
+  return request({
+    url: '/store/shippingTemplates',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除运费模板
+export function delShippingTemplates(shippingId) {
+  return request({
+    url: '/store/shippingTemplates/' + shippingId,
+    method: 'delete'
+  })
+}
+
+// 导出运费模板
+export function exportShippingTemplates(query) {
+  return request({
+    url: '/store/shippingTemplates/export',
+    method: 'get',
+    params: query
+  })
+}
+export function getAllShippingTemplates() {
+  return request({
+    url: '/store/shippingTemplates/getAllList',
+    method: 'get'
+  })
+}

+ 52 - 52
src/api/store/shippingTemplatesFree.js

@@ -1,53 +1,53 @@
-import request from '@/utils/request'
-
-// 查询免邮费列表
-export function listShippingTemplatesFree(query) {
-  return request({
-    url: '/store/shippingTemplatesFree/list',
-    method: 'get',
-    params: query
-  })
-}
-
-// 查询免邮费详细
-export function getShippingTemplatesFree(id) {
-  return request({
-    url: '/store/shippingTemplatesFree/' + id,
-    method: 'get'
-  })
-}
-
-// 新增免邮费
-export function addShippingTemplatesFree(data) {
-  return request({
-    url: '/store/shippingTemplatesFree',
-    method: 'post',
-    data: data
-  })
-}
-
-// 修改免邮费
-export function updateShippingTemplatesFree(data) {
-  return request({
-    url: '/store/shippingTemplatesFree',
-    method: 'put',
-    data: data
-  })
-}
-
-// 删除免邮费
-export function delShippingTemplatesFree(id) {
-  return request({
-    url: '/store/shippingTemplatesFree/' + id,
-    method: 'delete'
-  })
-}
-
-// 导出免邮费
-export function exportShippingTemplatesFree(query) {
-  return request({
-    url: '/store/shippingTemplatesFree/export',
-    method: 'get',
-    params: query
-  })
+import request from '@/utils/request'
+
+// 查询免邮费列表
+export function listShippingTemplatesFree(query) {
+  return request({
+    url: '/store/shippingTemplatesFree/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询免邮费详细
+export function getShippingTemplatesFree(id) {
+  return request({
+    url: '/store/shippingTemplatesFree/' + id,
+    method: 'get'
+  })
+}
+
+// 新增免邮费
+export function addShippingTemplatesFree(data) {
+  return request({
+    url: '/store/shippingTemplatesFree',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改免邮费
+export function updateShippingTemplatesFree(data) {
+  return request({
+    url: '/store/shippingTemplatesFree',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除免邮费
+export function delShippingTemplatesFree(id) {
+  return request({
+    url: '/store/shippingTemplatesFree/' + id,
+    method: 'delete'
+  })
+}
+
+// 导出免邮费
+export function exportShippingTemplatesFree(query) {
+  return request({
+    url: '/store/shippingTemplatesFree/export',
+    method: 'get',
+    params: query
+  })
 }

+ 52 - 52
src/api/store/shippingTemplatesRegion.js

@@ -1,53 +1,53 @@
-import request from '@/utils/request'
-
-// 查询邮费区域列表
-export function listShippingTemplatesRegion(query) {
-  return request({
-    url: '/store/shippingTemplatesRegion/list',
-    method: 'get',
-    params: query
-  })
-}
-
-// 查询邮费区域详细
-export function getShippingTemplatesRegion(id) {
-  return request({
-    url: '/store/shippingTemplatesRegion/' + id,
-    method: 'get'
-  })
-}
-
-// 新增邮费区域
-export function addShippingTemplatesRegion(data) {
-  return request({
-    url: '/store/shippingTemplatesRegion',
-    method: 'post',
-    data: data
-  })
-}
-
-// 修改邮费区域
-export function updateShippingTemplatesRegion(data) {
-  return request({
-    url: '/store/shippingTemplatesRegion',
-    method: 'put',
-    data: data
-  })
-}
-
-// 删除邮费区域
-export function delShippingTemplatesRegion(id) {
-  return request({
-    url: '/store/shippingTemplatesRegion/' + id,
-    method: 'delete'
-  })
-}
-
-// 导出邮费区域
-export function exportShippingTemplatesRegion(query) {
-  return request({
-    url: '/store/shippingTemplatesRegion/export',
-    method: 'get',
-    params: query
-  })
+import request from '@/utils/request'
+
+// 查询邮费区域列表
+export function listShippingTemplatesRegion(query) {
+  return request({
+    url: '/store/shippingTemplatesRegion/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询邮费区域详细
+export function getShippingTemplatesRegion(id) {
+  return request({
+    url: '/store/shippingTemplatesRegion/' + id,
+    method: 'get'
+  })
+}
+
+// 新增邮费区域
+export function addShippingTemplatesRegion(data) {
+  return request({
+    url: '/store/shippingTemplatesRegion',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改邮费区域
+export function updateShippingTemplatesRegion(data) {
+  return request({
+    url: '/store/shippingTemplatesRegion',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除邮费区域
+export function delShippingTemplatesRegion(id) {
+  return request({
+    url: '/store/shippingTemplatesRegion/' + id,
+    method: 'delete'
+  })
+}
+
+// 导出邮费区域
+export function exportShippingTemplatesRegion(query) {
+  return request({
+    url: '/store/shippingTemplatesRegion/export',
+    method: 'get',
+    params: query
+  })
 }

+ 18 - 18
src/api/store/statistics.js

@@ -1,19 +1,19 @@
-import request from '@/utils/request'
-
- 
-export function storeOrder(query) {
-  return request({
-    url: '/store/statistics/storeOrder',
-    method: 'get',
-    params: query
-  })
-}
-export function storePayment(query) {
-  return request({
-    url: '/store/statistics/storePayment',
-    method: 'get',
-    params: query
-  })
-}
- 
+import request from '@/utils/request'
+
+ 
+export function storeOrder(query) {
+  return request({
+    url: '/store/statistics/storeOrder',
+    method: 'get',
+    params: query
+  })
+}
+export function storePayment(query) {
+  return request({
+    url: '/store/statistics/storePayment',
+    method: 'get',
+    params: query
+  })
+}
+ 
  

+ 52 - 52
src/api/store/storeActivity.js

@@ -1,53 +1,53 @@
-import request from '@/utils/request'
-
-// 查询活动列表
-export function listStoreActivity(query) {
-  return request({
-    url: '/store/storeActivity/list',
-    method: 'get',
-    params: query
-  })
-}
-
-// 查询活动详细
-export function getStoreActivity(activityId) {
-  return request({
-    url: '/store/storeActivity/' + activityId,
-    method: 'get'
-  })
-}
-
-// 新增活动
-export function addStoreActivity(data) {
-  return request({
-    url: '/store/storeActivity',
-    method: 'post',
-    data: data
-  })
-}
-
-// 修改活动
-export function updateStoreActivity(data) {
-  return request({
-    url: '/store/storeActivity',
-    method: 'put',
-    data: data
-  })
-}
-
-// 删除活动
-export function delStoreActivity(activityId) {
-  return request({
-    url: '/store/storeActivity/' + activityId,
-    method: 'delete'
-  })
-}
-
-// 导出活动
-export function exportStoreActivity(query) {
-  return request({
-    url: '/store/storeActivity/export',
-    method: 'get',
-    params: query
-  })
+import request from '@/utils/request'
+
+// 查询活动列表
+export function listStoreActivity(query) {
+  return request({
+    url: '/store/storeActivity/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询活动详细
+export function getStoreActivity(activityId) {
+  return request({
+    url: '/store/storeActivity/' + activityId,
+    method: 'get'
+  })
+}
+
+// 新增活动
+export function addStoreActivity(data) {
+  return request({
+    url: '/store/storeActivity',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改活动
+export function updateStoreActivity(data) {
+  return request({
+    url: '/store/storeActivity',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除活动
+export function delStoreActivity(activityId) {
+  return request({
+    url: '/store/storeActivity/' + activityId,
+    method: 'delete'
+  })
+}
+
+// 导出活动
+export function exportStoreActivity(query) {
+  return request({
+    url: '/store/storeActivity/export',
+    method: 'get',
+    params: query
+  })
 }

+ 87 - 87
src/api/store/storeAfterSales.js

@@ -1,87 +1,87 @@
-import request from '@/utils/request'
-
-// 查询售后记录列表
-export function listStoreAfterSales(query) {
-  return request({
-    url: '/store/storeAfterSales/list',
-    method: 'get',
-    params: query
-  })
-}
-
-// 查询售后记录详细
-export function getStoreAfterSales(id) {
-  return request({
-    url: '/store/storeAfterSales/' + id,
-    method: 'get'
-  })
-}
-
-// 新增售后记录
-export function addStoreAfterSales(data) {
-  return request({
-    url: '/store/storeAfterSales',
-    method: 'post',
-    data: data
-  })
-}
-
-// 修改售后记录
-export function updateStoreAfterSales(data) {
-  return request({
-    url: '/store/storeAfterSales',
-    method: 'put',
-    data: data
-  })
-}
-
-// 删除售后记录
-export function delStoreAfterSales(id) {
-  return request({
-    url: '/store/storeAfterSales/' + id,
-    method: 'delete'
-  })
-}
-
-// 导出售后记录
-export function exportStoreAfterSales(query) {
-  return request({
-    url: '/store/storeAfterSales/export',
-    method: 'get',
-    params: query
-  })
-}
-
-
-
-export function cancel(data) {
-  return request({
-    url: '/store/storeAfterSales/cancel',
-    method: 'post',
-    data: data
-  })
-}
-
-export function refund(data) {
-  return request({
-    url: '/store/storeAfterSales/refund',
-    method: 'post',
-    data: data
-  })
-}
-
-export function audit1(data) {
-  return request({
-    url: '/store/storeAfterSales/audit1',
-    method: 'post',
-    data: data
-  })
-}
-export function audit2(data) {
-  return request({
-    url: '/store/storeAfterSales/audit2',
-    method: 'post',
-    data: data
-  })
-}
-
+import request from '@/utils/request'
+
+// 查询售后记录列表
+export function listStoreAfterSales(query) {
+  return request({
+    url: '/store/storeAfterSales/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询售后记录详细
+export function getStoreAfterSales(id) {
+  return request({
+    url: '/store/storeAfterSales/' + id,
+    method: 'get'
+  })
+}
+
+// 新增售后记录
+export function addStoreAfterSales(data) {
+  return request({
+    url: '/store/storeAfterSales',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改售后记录
+export function updateStoreAfterSales(data) {
+  return request({
+    url: '/store/storeAfterSales',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除售后记录
+export function delStoreAfterSales(id) {
+  return request({
+    url: '/store/storeAfterSales/' + id,
+    method: 'delete'
+  })
+}
+
+// 导出售后记录
+export function exportStoreAfterSales(query) {
+  return request({
+    url: '/store/storeAfterSales/export',
+    method: 'get',
+    params: query
+  })
+}
+
+
+
+export function cancel(data) {
+  return request({
+    url: '/store/storeAfterSales/cancel',
+    method: 'post',
+    data: data
+  })
+}
+
+export function refund(data) {
+  return request({
+    url: '/store/storeAfterSales/refund',
+    method: 'post',
+    data: data
+  })
+}
+
+export function audit1(data) {
+  return request({
+    url: '/store/storeAfterSales/audit1',
+    method: 'post',
+    data: data
+  })
+}
+export function audit2(data) {
+  return request({
+    url: '/store/storeAfterSales/audit2',
+    method: 'post',
+    data: data
+  })
+}
+

+ 52 - 52
src/api/store/storeAfterSalesItem.js

@@ -1,53 +1,53 @@
-import request from '@/utils/request'
-
-// 查询售后子列表
-export function listStoreAfterSalesItem(query) {
-  return request({
-    url: '/store/storeAfterSalesItem/list',
-    method: 'get',
-    params: query
-  })
-}
-
-// 查询售后子详细
-export function getStoreAfterSalesItem(id) {
-  return request({
-    url: '/store/storeAfterSalesItem/' + id,
-    method: 'get'
-  })
-}
-
-// 新增售后子
-export function addStoreAfterSalesItem(data) {
-  return request({
-    url: '/store/storeAfterSalesItem',
-    method: 'post',
-    data: data
-  })
-}
-
-// 修改售后子
-export function updateStoreAfterSalesItem(data) {
-  return request({
-    url: '/store/storeAfterSalesItem',
-    method: 'put',
-    data: data
-  })
-}
-
-// 删除售后子
-export function delStoreAfterSalesItem(id) {
-  return request({
-    url: '/store/storeAfterSalesItem/' + id,
-    method: 'delete'
-  })
-}
-
-// 导出售后子
-export function exportStoreAfterSalesItem(query) {
-  return request({
-    url: '/store/storeAfterSalesItem/export',
-    method: 'get',
-    params: query
-  })
+import request from '@/utils/request'
+
+// 查询售后子列表
+export function listStoreAfterSalesItem(query) {
+  return request({
+    url: '/store/storeAfterSalesItem/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询售后子详细
+export function getStoreAfterSalesItem(id) {
+  return request({
+    url: '/store/storeAfterSalesItem/' + id,
+    method: 'get'
+  })
+}
+
+// 新增售后子
+export function addStoreAfterSalesItem(data) {
+  return request({
+    url: '/store/storeAfterSalesItem',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改售后子
+export function updateStoreAfterSalesItem(data) {
+  return request({
+    url: '/store/storeAfterSalesItem',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除售后子
+export function delStoreAfterSalesItem(id) {
+  return request({
+    url: '/store/storeAfterSalesItem/' + id,
+    method: 'delete'
+  })
+}
+
+// 导出售后子
+export function exportStoreAfterSalesItem(query) {
+  return request({
+    url: '/store/storeAfterSalesItem/export',
+    method: 'get',
+    params: query
+  })
 }

+ 52 - 52
src/api/store/storeAfterSalesStatus.js

@@ -1,53 +1,53 @@
-import request from '@/utils/request'
-
-// 查询售后订单操作列表
-export function listStoreAfterSalesStatus(query) {
-  return request({
-    url: '/store/storeAfterSalesStatus/list',
-    method: 'get',
-    params: query
-  })
-}
-
-// 查询售后订单操作详细
-export function getStoreAfterSalesStatus(id) {
-  return request({
-    url: '/store/storeAfterSalesStatus/' + id,
-    method: 'get'
-  })
-}
-
-// 新增售后订单操作
-export function addStoreAfterSalesStatus(data) {
-  return request({
-    url: '/store/storeAfterSalesStatus',
-    method: 'post',
-    data: data
-  })
-}
-
-// 修改售后订单操作
-export function updateStoreAfterSalesStatus(data) {
-  return request({
-    url: '/store/storeAfterSalesStatus',
-    method: 'put',
-    data: data
-  })
-}
-
-// 删除售后订单操作
-export function delStoreAfterSalesStatus(id) {
-  return request({
-    url: '/store/storeAfterSalesStatus/' + id,
-    method: 'delete'
-  })
-}
-
-// 导出售后订单操作
-export function exportStoreAfterSalesStatus(query) {
-  return request({
-    url: '/store/storeAfterSalesStatus/export',
-    method: 'get',
-    params: query
-  })
+import request from '@/utils/request'
+
+// 查询售后订单操作列表
+export function listStoreAfterSalesStatus(query) {
+  return request({
+    url: '/store/storeAfterSalesStatus/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询售后订单操作详细
+export function getStoreAfterSalesStatus(id) {
+  return request({
+    url: '/store/storeAfterSalesStatus/' + id,
+    method: 'get'
+  })
+}
+
+// 新增售后订单操作
+export function addStoreAfterSalesStatus(data) {
+  return request({
+    url: '/store/storeAfterSalesStatus',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改售后订单操作
+export function updateStoreAfterSalesStatus(data) {
+  return request({
+    url: '/store/storeAfterSalesStatus',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除售后订单操作
+export function delStoreAfterSalesStatus(id) {
+  return request({
+    url: '/store/storeAfterSalesStatus/' + id,
+    method: 'delete'
+  })
+}
+
+// 导出售后订单操作
+export function exportStoreAfterSalesStatus(query) {
+  return request({
+    url: '/store/storeAfterSalesStatus/export',
+    method: 'get',
+    params: query
+  })
 }

+ 20 - 20
src/api/store/storeCanvas.js

@@ -1,21 +1,21 @@
-import request from '@/utils/request'
-
- 
-
-// 查询画布信息详细
-export function getStoreCanvas(canvasId) {
-  return request({
-    url: '/store/storeCanvas/' + canvasId,
-    method: 'get'
-  })
-}
- 
-// 修改画布信息
-export function updateStoreCanvas(data) {
-  return request({
-    url: '/store/storeCanvas',
-    method: 'put',
-    data: data
-  })
-}
+import request from '@/utils/request'
+
+ 
+
+// 查询画布信息详细
+export function getStoreCanvas(canvasId) {
+  return request({
+    url: '/store/storeCanvas/' + canvasId,
+    method: 'get'
+  })
+}
+ 
+// 修改画布信息
+export function updateStoreCanvas(data) {
+  return request({
+    url: '/store/storeCanvas',
+    method: 'put',
+    data: data
+  })
+}
  

+ 52 - 52
src/api/store/storeCart.js

@@ -1,53 +1,53 @@
-import request from '@/utils/request'
-
-// 查询购物车列表
-export function listStoreCart(query) {
-  return request({
-    url: '/store/storeCart/list',
-    method: 'get',
-    params: query
-  })
-}
-
-// 查询购物车详细
-export function getStoreCart(id) {
-  return request({
-    url: '/store/storeCart/' + id,
-    method: 'get'
-  })
-}
-
-// 新增购物车
-export function addStoreCart(data) {
-  return request({
-    url: '/store/storeCart',
-    method: 'post',
-    data: data
-  })
-}
-
-// 修改购物车
-export function updateStoreCart(data) {
-  return request({
-    url: '/store/storeCart',
-    method: 'put',
-    data: data
-  })
-}
-
-// 删除购物车
-export function delStoreCart(id) {
-  return request({
-    url: '/store/storeCart/' + id,
-    method: 'delete'
-  })
-}
-
-// 导出购物车
-export function exportStoreCart(query) {
-  return request({
-    url: '/store/storeCart/export',
-    method: 'get',
-    params: query
-  })
+import request from '@/utils/request'
+
+// 查询购物车列表
+export function listStoreCart(query) {
+  return request({
+    url: '/store/storeCart/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询购物车详细
+export function getStoreCart(id) {
+  return request({
+    url: '/store/storeCart/' + id,
+    method: 'get'
+  })
+}
+
+// 新增购物车
+export function addStoreCart(data) {
+  return request({
+    url: '/store/storeCart',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改购物车
+export function updateStoreCart(data) {
+  return request({
+    url: '/store/storeCart',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除购物车
+export function delStoreCart(id) {
+  return request({
+    url: '/store/storeCart/' + id,
+    method: 'delete'
+  })
+}
+
+// 导出购物车
+export function exportStoreCart(query) {
+  return request({
+    url: '/store/storeCart/export',
+    method: 'get',
+    params: query
+  })
 }

+ 61 - 61
src/api/store/storeCoupon.js

@@ -1,62 +1,62 @@
-import request from '@/utils/request'
-
-// 查询优惠券列表
-export function listStoreCoupon(query) {
-  return request({
-    url: '/store/storeCoupon/list',
-    method: 'get',
-    params: query
-  })
-}
-
-// 查询优惠券详细
-export function getStoreCoupon(couponId) {
-  return request({
-    url: '/store/storeCoupon/' + couponId,
-    method: 'get'
-  })
-}
-
-// 新增优惠券
-export function addStoreCoupon(data) {
-  return request({
-    url: '/store/storeCoupon',
-    method: 'post',
-    data: data
-  })
-}
-export function publishCoupon(data) {
-  return request({
-    url: '/store/storeCoupon/publish',
-    method: 'post',
-    data: data
-  })
-}
-
-
-
-// 修改优惠券
-export function updateStoreCoupon(data) {
-  return request({
-    url: '/store/storeCoupon',
-    method: 'put',
-    data: data
-  })
-}
-
-// 删除优惠券
-export function delStoreCoupon(couponId) {
-  return request({
-    url: '/store/storeCoupon/' + couponId,
-    method: 'delete'
-  })
-}
-
-// 导出优惠券
-export function exportStoreCoupon(query) {
-  return request({
-    url: '/store/storeCoupon/export',
-    method: 'get',
-    params: query
-  })
+import request from '@/utils/request'
+
+// 查询优惠券列表
+export function listStoreCoupon(query) {
+  return request({
+    url: '/store/storeCoupon/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询优惠券详细
+export function getStoreCoupon(couponId) {
+  return request({
+    url: '/store/storeCoupon/' + couponId,
+    method: 'get'
+  })
+}
+
+// 新增优惠券
+export function addStoreCoupon(data) {
+  return request({
+    url: '/store/storeCoupon',
+    method: 'post',
+    data: data
+  })
+}
+export function publishCoupon(data) {
+  return request({
+    url: '/store/storeCoupon/publish',
+    method: 'post',
+    data: data
+  })
+}
+
+
+
+// 修改优惠券
+export function updateStoreCoupon(data) {
+  return request({
+    url: '/store/storeCoupon',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除优惠券
+export function delStoreCoupon(couponId) {
+  return request({
+    url: '/store/storeCoupon/' + couponId,
+    method: 'delete'
+  })
+}
+
+// 导出优惠券
+export function exportStoreCoupon(query) {
+  return request({
+    url: '/store/storeCoupon/export',
+    method: 'get',
+    params: query
+  })
 }

+ 52 - 52
src/api/store/storeCouponIssue.js

@@ -1,53 +1,53 @@
-import request from '@/utils/request'
-
-// 查询优惠券领取列表
-export function listStoreCouponIssue(query) {
-  return request({
-    url: '/store/storeCouponIssue/list',
-    method: 'get',
-    params: query
-  })
-}
-
-// 查询优惠券领取详细
-export function getStoreCouponIssue(id) {
-  return request({
-    url: '/store/storeCouponIssue/' + id,
-    method: 'get'
-  })
-}
-
-// 新增优惠券领取
-export function addStoreCouponIssue(data) {
-  return request({
-    url: '/store/storeCouponIssue',
-    method: 'post',
-    data: data
-  })
-}
-
-// 修改优惠券领取
-export function updateStoreCouponIssue(data) {
-  return request({
-    url: '/store/storeCouponIssue',
-    method: 'put',
-    data: data
-  })
-}
-
-// 删除优惠券领取
-export function delStoreCouponIssue(id) {
-  return request({
-    url: '/store/storeCouponIssue/' + id,
-    method: 'delete'
-  })
-}
-
-// 导出优惠券领取
-export function exportStoreCouponIssue(query) {
-  return request({
-    url: '/store/storeCouponIssue/export',
-    method: 'get',
-    params: query
-  })
+import request from '@/utils/request'
+
+// 查询优惠券领取列表
+export function listStoreCouponIssue(query) {
+  return request({
+    url: '/store/storeCouponIssue/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询优惠券领取详细
+export function getStoreCouponIssue(id) {
+  return request({
+    url: '/store/storeCouponIssue/' + id,
+    method: 'get'
+  })
+}
+
+// 新增优惠券领取
+export function addStoreCouponIssue(data) {
+  return request({
+    url: '/store/storeCouponIssue',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改优惠券领取
+export function updateStoreCouponIssue(data) {
+  return request({
+    url: '/store/storeCouponIssue',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除优惠券领取
+export function delStoreCouponIssue(id) {
+  return request({
+    url: '/store/storeCouponIssue/' + id,
+    method: 'delete'
+  })
+}
+
+// 导出优惠券领取
+export function exportStoreCouponIssue(query) {
+  return request({
+    url: '/store/storeCouponIssue/export',
+    method: 'get',
+    params: query
+  })
 }

+ 52 - 52
src/api/store/storeCouponIssueUser.js

@@ -1,53 +1,53 @@
-import request from '@/utils/request'
-
-// 查询优惠券用户领取记录列表
-export function listStoreCouponIssueUser(query) {
-  return request({
-    url: '/store/storeCouponIssueUser/list',
-    method: 'get',
-    params: query
-  })
-}
-
-// 查询优惠券用户领取记录详细
-export function getStoreCouponIssueUser(id) {
-  return request({
-    url: '/store/storeCouponIssueUser/' + id,
-    method: 'get'
-  })
-}
-
-// 新增优惠券用户领取记录
-export function addStoreCouponIssueUser(data) {
-  return request({
-    url: '/store/storeCouponIssueUser',
-    method: 'post',
-    data: data
-  })
-}
-
-// 修改优惠券用户领取记录
-export function updateStoreCouponIssueUser(data) {
-  return request({
-    url: '/store/storeCouponIssueUser',
-    method: 'put',
-    data: data
-  })
-}
-
-// 删除优惠券用户领取记录
-export function delStoreCouponIssueUser(id) {
-  return request({
-    url: '/store/storeCouponIssueUser/' + id,
-    method: 'delete'
-  })
-}
-
-// 导出优惠券用户领取记录
-export function exportStoreCouponIssueUser(query) {
-  return request({
-    url: '/store/storeCouponIssueUser/export',
-    method: 'get',
-    params: query
-  })
+import request from '@/utils/request'
+
+// 查询优惠券用户领取记录列表
+export function listStoreCouponIssueUser(query) {
+  return request({
+    url: '/store/storeCouponIssueUser/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询优惠券用户领取记录详细
+export function getStoreCouponIssueUser(id) {
+  return request({
+    url: '/store/storeCouponIssueUser/' + id,
+    method: 'get'
+  })
+}
+
+// 新增优惠券用户领取记录
+export function addStoreCouponIssueUser(data) {
+  return request({
+    url: '/store/storeCouponIssueUser',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改优惠券用户领取记录
+export function updateStoreCouponIssueUser(data) {
+  return request({
+    url: '/store/storeCouponIssueUser',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除优惠券用户领取记录
+export function delStoreCouponIssueUser(id) {
+  return request({
+    url: '/store/storeCouponIssueUser/' + id,
+    method: 'delete'
+  })
+}
+
+// 导出优惠券用户领取记录
+export function exportStoreCouponIssueUser(query) {
+  return request({
+    url: '/store/storeCouponIssueUser/export',
+    method: 'get',
+    params: query
+  })
 }

+ 52 - 52
src/api/store/storeCouponUser.js

@@ -1,53 +1,53 @@
-import request from '@/utils/request'
-
-// 查询优惠券发放记录列表
-export function listStoreCouponUser(query) {
-  return request({
-    url: '/store/storeCouponUser/list',
-    method: 'get',
-    params: query
-  })
-}
-
-// 查询优惠券发放记录详细
-export function getStoreCouponUser(id) {
-  return request({
-    url: '/store/storeCouponUser/' + id,
-    method: 'get'
-  })
-}
-
-// 新增优惠券发放记录
-export function addStoreCouponUser(data) {
-  return request({
-    url: '/store/storeCouponUser',
-    method: 'post',
-    data: data
-  })
-}
-
-// 修改优惠券发放记录
-export function updateStoreCouponUser(data) {
-  return request({
-    url: '/store/storeCouponUser',
-    method: 'put',
-    data: data
-  })
-}
-
-// 删除优惠券发放记录
-export function delStoreCouponUser(id) {
-  return request({
-    url: '/store/storeCouponUser/' + id,
-    method: 'delete'
-  })
-}
-
-// 导出优惠券发放记录
-export function exportStoreCouponUser(query) {
-  return request({
-    url: '/store/storeCouponUser/export',
-    method: 'get',
-    params: query
-  })
+import request from '@/utils/request'
+
+// 查询优惠券发放记录列表
+export function listStoreCouponUser(query) {
+  return request({
+    url: '/store/storeCouponUser/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询优惠券发放记录详细
+export function getStoreCouponUser(id) {
+  return request({
+    url: '/store/storeCouponUser/' + id,
+    method: 'get'
+  })
+}
+
+// 新增优惠券发放记录
+export function addStoreCouponUser(data) {
+  return request({
+    url: '/store/storeCouponUser',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改优惠券发放记录
+export function updateStoreCouponUser(data) {
+  return request({
+    url: '/store/storeCouponUser',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除优惠券发放记录
+export function delStoreCouponUser(id) {
+  return request({
+    url: '/store/storeCouponUser/' + id,
+    method: 'delete'
+  })
+}
+
+// 导出优惠券发放记录
+export function exportStoreCouponUser(query) {
+  return request({
+    url: '/store/storeCouponUser/export',
+    method: 'get',
+    params: query
+  })
 }

+ 149 - 159
src/api/store/storeOrder.js

@@ -1,159 +1,149 @@
-import request from '@/utils/request'
-
-// 查询订单列表
-export function listStoreOrder(query) {
-  return request({
-    url: '/store/storeOrder/list',
-    method: 'get',
-    params: query
-  })
-}
-export function getCustomerOrderList(query) {
-  return request({
-    url: '/store/storeOrder/getCustomerOrderList',
-    method: 'get',
-    params: query
-  })
-}
-
-
-
-
-
-// 查询订单详细
-export function getStoreOrder(id) {
-  return request({
-    url: '/store/storeOrder/' + id,
-    method: 'get'
-  })
-}
-
- 
-export function getExpress(id) {
-  return request({
-    url: '/store/storeOrder/getExpress/' + id,
-    method: 'get'
-  })
-}
-
-// 新增订单
-export function addStoreOrder(data) {
-  return request({
-    url: '/store/storeOrder',
-    method: 'post',
-    data: data
-  })
-}
-
-// 修改订单
-export function updateStoreOrder(data) {
-  return request({
-    url: '/store/storeOrder',
-    method: 'put',
-    data: data
-  })
-}
-
-// 删除订单
-export function delStoreOrder(id) {
-  return request({
-    url: '/store/storeOrder/' + id,
-    method: 'delete'
-  })
-}
-
-// 导出订单
-export function exportStoreOrder(query) {
-  return request({
-    url: '/store/storeOrder/export',
-    method: 'get',
-    params: query
-  })
-}
-
-// 导出订单
-export function exportStoreOrderItems(query) {
-  return request({
-    url: '/store/storeOrder/exportItems',
-    method: 'get',
-    params: query
-  })
-}
-
-export function createUserOrder(data) {
-  return request({
-    url: '/store/storeOrder/createUserOrder',
-    method: 'post',
-    data: data
-  })
-}
-
-export function finishOrder(data) {
-  return request({
-    url: '/store/storeOrder/finishOrder',
-    method: 'post',
-    data: data
-  })
-}
-export function importTemplate() {
-  return request({
-    url: '/store/storeOrder/importTemplate',
-    method: 'get'
-  })
-}
-
-export function editTuiMoney(data) {
-  return request({
-    url: '/store/storeOrder/editTuiMoney',
-    method: 'post',
-    data: data
-  })
-}
-
-export function refundOrderMoney(data) {
-  return request({
-    url: '/store/storeOrder/refundOrderMoney',
-    method: 'post',
-    data: data
-  })
-}
-
-export function updateExpress(data) {
-  return request({
-    url: '/store/storeOrder/updateExpress',
-    method: 'post',
-    data: data
-  })
-}
-export function syncExpress(data) {
-  return request({
-    url: '/store/storeOrder/syncExpress',
-    method: 'post',
-    data: data
-  })
-}
-export function addTuiMoney(data) {
-  return request({
-    url: '/store/storeOrder/addTuiMoney',
-    method: 'post',
-    data: data
-  })
-}
-
-export function getEroOrder(query) {
-  return request({
-    url: '/store/storeOrder/getEroOrder',
-    method: 'get',
-    params: query
-  })
-}
-
-
-export function auditPayRemain(data) {
-  return request({
-    url: '/store/storeOrder/auditPayRemain',
-    method: 'post',
-    data: data
-  })
-}
-
+import request from '@/utils/request'
+
+// 查询订单列表
+export function listStoreOrder(query) {
+  return request({
+    url: '/store/storeOrder/list',
+    method: 'get',
+    params: query
+  })
+}
+export function getCustomerOrderList(query) {
+  return request({
+    url: '/store/storeOrder/getCustomerOrderList',
+    method: 'get',
+    params: query
+  })
+}
+
+
+
+
+
+// 查询订单详细
+export function getStoreOrder(id) {
+  return request({
+    url: '/store/storeOrder/' + id,
+    method: 'get'
+  })
+}
+
+ 
+export function getExpress(id) {
+  return request({
+    url: '/store/storeOrder/getExpress/' + id,
+    method: 'get'
+  })
+}
+
+// 新增订单
+export function addStoreOrder(data) {
+  return request({
+    url: '/store/storeOrder',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改订单
+export function updateStoreOrder(data) {
+  return request({
+    url: '/store/storeOrder',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除订单
+export function delStoreOrder(id) {
+  return request({
+    url: '/store/storeOrder/' + id,
+    method: 'delete'
+  })
+}
+
+// 导出订单
+export function exportStoreOrder(query) {
+  return request({
+    url: '/store/storeOrder/export',
+    method: 'get',
+    params: query
+  })
+}
+
+// 导出订单
+export function exportStoreOrderItems(query) {
+  return request({
+    url: '/store/storeOrder/exportItems',
+    method: 'get',
+    params: query
+  })
+}
+
+export function createUserOrder(data) {
+  return request({
+    url: '/store/storeOrder/createUserOrder',
+    method: 'post',
+    data: data
+  })
+}
+
+export function finishOrder(data) {
+  return request({
+    url: '/store/storeOrder/finishOrder',
+    method: 'post',
+    data: data
+  })
+}
+export function importTemplate() {
+  return request({
+    url: '/store/storeOrder/importTemplate',
+    method: 'get'
+  })
+}
+
+export function editTuiMoney(data) {
+  return request({
+    url: '/store/storeOrder/editTuiMoney',
+    method: 'post',
+    data: data
+  })
+}
+
+export function refundOrderMoney(data) {
+  return request({
+    url: '/store/storeOrder/refundOrderMoney',
+    method: 'post',
+    data: data
+  })
+}
+
+export function updateExpress(data) {
+  return request({
+    url: '/store/storeOrder/updateExpress',
+    method: 'post',
+    data: data
+  })
+}
+export function syncExpress(data) {
+  return request({
+    url: '/store/storeOrder/syncExpress',
+    method: 'post',
+    data: data
+  })
+}
+export function addTuiMoney(data) {
+  return request({
+    url: '/store/storeOrder/addTuiMoney',
+    method: 'post',
+    data: data
+  })
+}
+
+export function getEroOrder(query) {
+  return request({
+    url: '/store/storeOrder/getEroOrder',
+    method: 'get',
+    params: query
+  })
+}

+ 52 - 52
src/api/store/storeOrderItem.js

@@ -1,53 +1,53 @@
-import request from '@/utils/request'
-
-// 查询订单详情列表
-export function listStoreOrderItem(query) {
-  return request({
-    url: '/store/storeOrderItem/list',
-    method: 'get',
-    params: query
-  })
-}
-
-// 查询订单详情详细
-export function getStoreOrderItem(itemId) {
-  return request({
-    url: '/store/storeOrderItem/' + itemId,
-    method: 'get'
-  })
-}
-
-// 新增订单详情
-export function addStoreOrderItem(data) {
-  return request({
-    url: '/store/storeOrderItem',
-    method: 'post',
-    data: data
-  })
-}
-
-// 修改订单详情
-export function updateStoreOrderItem(data) {
-  return request({
-    url: '/store/storeOrderItem',
-    method: 'put',
-    data: data
-  })
-}
-
-// 删除订单详情
-export function delStoreOrderItem(itemId) {
-  return request({
-    url: '/store/storeOrderItem/' + itemId,
-    method: 'delete'
-  })
-}
-
-// 导出订单详情
-export function exportStoreOrderItem(query) {
-  return request({
-    url: '/store/storeOrderItem/export',
-    method: 'get',
-    params: query
-  })
+import request from '@/utils/request'
+
+// 查询订单详情列表
+export function listStoreOrderItem(query) {
+  return request({
+    url: '/store/storeOrderItem/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询订单详情详细
+export function getStoreOrderItem(itemId) {
+  return request({
+    url: '/store/storeOrderItem/' + itemId,
+    method: 'get'
+  })
+}
+
+// 新增订单详情
+export function addStoreOrderItem(data) {
+  return request({
+    url: '/store/storeOrderItem',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改订单详情
+export function updateStoreOrderItem(data) {
+  return request({
+    url: '/store/storeOrderItem',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除订单详情
+export function delStoreOrderItem(itemId) {
+  return request({
+    url: '/store/storeOrderItem/' + itemId,
+    method: 'delete'
+  })
+}
+
+// 导出订单详情
+export function exportStoreOrderItem(query) {
+  return request({
+    url: '/store/storeOrderItem/export',
+    method: 'get',
+    params: query
+  })
 }

+ 52 - 52
src/api/store/storeOrderNotice.js

@@ -1,53 +1,53 @@
-import request from '@/utils/request'
-
-// 查询订单通知用户 接收订单通知的用户列表
-export function listStoreOrderNotice(query) {
-  return request({
-    url: '/store/storeOrderNotice/list',
-    method: 'get',
-    params: query
-  })
-}
-
-// 查询订单通知用户 接收订单通知的用户详细
-export function getStoreOrderNotice(id) {
-  return request({
-    url: '/store/storeOrderNotice/' + id,
-    method: 'get'
-  })
-}
-
-// 新增订单通知用户 接收订单通知的用户
-export function addStoreOrderNotice(data) {
-  return request({
-    url: '/store/storeOrderNotice',
-    method: 'post',
-    data: data
-  })
-}
-
-// 修改订单通知用户 接收订单通知的用户
-export function updateStoreOrderNotice(data) {
-  return request({
-    url: '/store/storeOrderNotice',
-    method: 'put',
-    data: data
-  })
-}
-
-// 删除订单通知用户 接收订单通知的用户
-export function delStoreOrderNotice(id) {
-  return request({
-    url: '/store/storeOrderNotice/' + id,
-    method: 'delete'
-  })
-}
-
-// 导出订单通知用户 接收订单通知的用户
-export function exportStoreOrderNotice(query) {
-  return request({
-    url: '/store/storeOrderNotice/export',
-    method: 'get',
-    params: query
-  })
+import request from '@/utils/request'
+
+// 查询订单通知用户 接收订单通知的用户列表
+export function listStoreOrderNotice(query) {
+  return request({
+    url: '/store/storeOrderNotice/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询订单通知用户 接收订单通知的用户详细
+export function getStoreOrderNotice(id) {
+  return request({
+    url: '/store/storeOrderNotice/' + id,
+    method: 'get'
+  })
+}
+
+// 新增订单通知用户 接收订单通知的用户
+export function addStoreOrderNotice(data) {
+  return request({
+    url: '/store/storeOrderNotice',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改订单通知用户 接收订单通知的用户
+export function updateStoreOrderNotice(data) {
+  return request({
+    url: '/store/storeOrderNotice',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除订单通知用户 接收订单通知的用户
+export function delStoreOrderNotice(id) {
+  return request({
+    url: '/store/storeOrderNotice/' + id,
+    method: 'delete'
+  })
+}
+
+// 导出订单通知用户 接收订单通知的用户
+export function exportStoreOrderNotice(query) {
+  return request({
+    url: '/store/storeOrderNotice/export',
+    method: 'get',
+    params: query
+  })
 }

+ 52 - 52
src/api/store/storeOrderStatus.js

@@ -1,53 +1,53 @@
-import request from '@/utils/request'
-
-// 查询订单操作记录列表
-export function listStoreOrderStatus(query) {
-  return request({
-    url: '/store/storeOrderStatus/list',
-    method: 'get',
-    params: query
-  })
-}
-
-// 查询订单操作记录详细
-export function getStoreOrderStatus(id) {
-  return request({
-    url: '/store/storeOrderStatus/' + id,
-    method: 'get'
-  })
-}
-
-// 新增订单操作记录
-export function addStoreOrderStatus(data) {
-  return request({
-    url: '/store/storeOrderStatus',
-    method: 'post',
-    data: data
-  })
-}
-
-// 修改订单操作记录
-export function updateStoreOrderStatus(data) {
-  return request({
-    url: '/store/storeOrderStatus',
-    method: 'put',
-    data: data
-  })
-}
-
-// 删除订单操作记录
-export function delStoreOrderStatus(id) {
-  return request({
-    url: '/store/storeOrderStatus/' + id,
-    method: 'delete'
-  })
-}
-
-// 导出订单操作记录
-export function exportStoreOrderStatus(query) {
-  return request({
-    url: '/store/storeOrderStatus/export',
-    method: 'get',
-    params: query
-  })
+import request from '@/utils/request'
+
+// 查询订单操作记录列表
+export function listStoreOrderStatus(query) {
+  return request({
+    url: '/store/storeOrderStatus/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询订单操作记录详细
+export function getStoreOrderStatus(id) {
+  return request({
+    url: '/store/storeOrderStatus/' + id,
+    method: 'get'
+  })
+}
+
+// 新增订单操作记录
+export function addStoreOrderStatus(data) {
+  return request({
+    url: '/store/storeOrderStatus',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改订单操作记录
+export function updateStoreOrderStatus(data) {
+  return request({
+    url: '/store/storeOrderStatus',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除订单操作记录
+export function delStoreOrderStatus(id) {
+  return request({
+    url: '/store/storeOrderStatus/' + id,
+    method: 'delete'
+  })
+}
+
+// 导出订单操作记录
+export function exportStoreOrderStatus(query) {
+  return request({
+    url: '/store/storeOrderStatus/export',
+    method: 'get',
+    params: query
+  })
 }

+ 68 - 61
src/api/store/storePayment.js

@@ -1,62 +1,69 @@
-import request from '@/utils/request'
-
-// 查询支付明细列表
-export function listStorePayment(query) {
-  return request({
-    url: '/store/storePayment/list',
-    method: 'get',
-    params: query
-  })
-}
-
-// 查询支付明细详细
-export function getStorePayment(paymentId) {
-  return request({
-    url: '/store/storePayment/' + paymentId,
-    method: 'get'
-  })
-}
-
-// 新增支付明细
-export function addStorePayment(data) {
-  return request({
-    url: '/store/storePayment',
-    method: 'post',
-    data: data
-  })
-}
-
-export function refundStorePayment(data) {
-  return request({
-    url: '/store/storePayment/refundStorePayment',
-    method: 'post',
-    data: data
-  })
-}
-
-
-// 修改支付明细
-export function updateStorePayment(data) {
-  return request({
-    url: '/store/storePayment',
-    method: 'put',
-    data: data
-  })
-}
-
-// 删除支付明细
-export function delStorePayment(paymentId) {
-  return request({
-    url: '/store/storePayment/' + paymentId,
-    method: 'delete'
-  })
-}
-
-// 导出支付明细
-export function exportStorePayment(query) {
-  return request({
-    url: '/store/storePayment/export',
-    method: 'get',
-    params: query
-  })
+import request from '@/utils/request'
+
+// 查询支付明细列表
+export function listStorePayment(query,refundDateRange) {
+    if (null != refundDateRange && '' != refundDateRange) {
+      query.refundBeginTime = refundDateRange[0];
+      query.refundEndTime = refundDateRange[1];
+    }else{
+      query.refundBeginTime =null;
+      query.refundEndTime =null;
+    }
+    return request({
+      url: '/store/storePayment/list',
+      method: 'get',
+      params: query
+    })
+}
+
+// 查询支付明细详细
+export function getStorePayment(paymentId) {
+  return request({
+    url: '/store/storePayment/' + paymentId,
+    method: 'get'
+  })
+}
+
+// 新增支付明细
+export function addStorePayment(data) {
+  return request({
+    url: '/store/storePayment',
+    method: 'post',
+    data: data
+  })
+}
+
+export function refundStorePayment(data) {
+  return request({
+    url: '/store/storePayment/refundStorePayment',
+    method: 'post',
+    data: data
+  })
+}
+
+
+// 修改支付明细
+export function updateStorePayment(data) {
+  return request({
+    url: '/store/storePayment',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除支付明细
+export function delStorePayment(paymentId) {
+  return request({
+    url: '/store/storePayment/' + paymentId,
+    method: 'delete'
+  })
+}
+
+// 导出支付明细
+export function exportStorePayment(query) {
+  return request({
+    url: '/store/storePayment/export',
+    method: 'get',
+    params: query
+  })
 }

+ 74 - 74
src/api/store/storeProduct.js

@@ -1,74 +1,74 @@
-import request from '@/utils/request'
-
-// 查询商品列表
-export function listStoreProduct(query) {
-  return request({
-    url: '/store/storeProduct/list',
-    method: 'get',
-    params: query
-  })
-}
-
-// 查询商品详细
-export function getStoreProduct(productId) {
-  return request({
-    url: '/store/storeProduct/' + productId,
-    method: 'get'
-  })
-}
-
- 
-export function addOrEdit(data) {
-  return request({
-    url: '/store/storeProduct/addOrEdit',
-    method: 'post',
-    data: data
-  })
-}
-
- 
-
-// 删除商品
-export function delStoreProduct(productId) {
-  return request({
-    url: '/store/storeProduct/' + productId,
-    method: 'delete'
-  })
-}
-
-// 导出商品
-export function exportStoreProduct(query) {
-  return request({
-    url: '/store/storeProduct/export',
-    method: 'get',
-    params: query
-  })
-}
-
-export function genFormatAttr(productId,json) {
-  return request({
-    url: '/store/storeProduct/genFormatAttr/'+productId,
-    method: 'post',
-    data: json
-  })
-}
-
-
-export function getStoreProductAttrValueList(query) {
-  return request({
-    url: '/store/storeProduct/getStoreProductAttrValueList',
-    method: 'get',
-    params: query
-  })
-}
-
-
-export function getStoreTuiProductAttrValueList(query) {
-  return request({
-    url: '/store/storeProduct/getStoreTuiProductAttrValueList',
-    method: 'get',
-    params: query
-  })
-}
-
-
+import request from '@/utils/request'
+
+// 查询商品列表
+export function listStoreProduct(query) {
+  return request({
+    url: '/store/storeProduct/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询商品详细
+export function getStoreProduct(productId) {
+  return request({
+    url: '/store/storeProduct/' + productId,
+    method: 'get'
+  })
+}
+
+ 
+export function addOrEdit(data) {
+  return request({
+    url: '/store/storeProduct/addOrEdit',
+    method: 'post',
+    data: data
+  })
+}
+
+ 
+
+// 删除商品
+export function delStoreProduct(productId) {
+  return request({
+    url: '/store/storeProduct/' + productId,
+    method: 'delete'
+  })
+}
+
+// 导出商品
+export function exportStoreProduct(query) {
+  return request({
+    url: '/store/storeProduct/export',
+    method: 'get',
+    params: query
+  })
+}
+
+export function genFormatAttr(productId,json) {
+  return request({
+    url: '/store/storeProduct/genFormatAttr/'+productId,
+    method: 'post',
+    data: json
+  })
+}
+
+
+export function getStoreProductAttrValueList(query) {
+  return request({
+    url: '/store/storeProduct/getStoreProductAttrValueList',
+    method: 'get',
+    params: query
+  })
+}
+
+
+export function getStoreTuiProductAttrValueList(query) {
+  return request({
+    url: '/store/storeProduct/getStoreTuiProductAttrValueList',
+    method: 'get',
+    params: query
+  })
+}
+
+

+ 52 - 52
src/api/store/storeProductAttr.js

@@ -1,53 +1,53 @@
-import request from '@/utils/request'
-
-// 查询商品属性列表
-export function listStoreProductAttr(query) {
-  return request({
-    url: '/store/storeProductAttr/list',
-    method: 'get',
-    params: query
-  })
-}
-
-// 查询商品属性详细
-export function getStoreProductAttr(id) {
-  return request({
-    url: '/store/storeProductAttr/' + id,
-    method: 'get'
-  })
-}
-
-// 新增商品属性
-export function addStoreProductAttr(data) {
-  return request({
-    url: '/store/storeProductAttr',
-    method: 'post',
-    data: data
-  })
-}
-
-// 修改商品属性
-export function updateStoreProductAttr(data) {
-  return request({
-    url: '/store/storeProductAttr',
-    method: 'put',
-    data: data
-  })
-}
-
-// 删除商品属性
-export function delStoreProductAttr(id) {
-  return request({
-    url: '/store/storeProductAttr/' + id,
-    method: 'delete'
-  })
-}
-
-// 导出商品属性
-export function exportStoreProductAttr(query) {
-  return request({
-    url: '/store/storeProductAttr/export',
-    method: 'get',
-    params: query
-  })
+import request from '@/utils/request'
+
+// 查询商品属性列表
+export function listStoreProductAttr(query) {
+  return request({
+    url: '/store/storeProductAttr/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询商品属性详细
+export function getStoreProductAttr(id) {
+  return request({
+    url: '/store/storeProductAttr/' + id,
+    method: 'get'
+  })
+}
+
+// 新增商品属性
+export function addStoreProductAttr(data) {
+  return request({
+    url: '/store/storeProductAttr',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改商品属性
+export function updateStoreProductAttr(data) {
+  return request({
+    url: '/store/storeProductAttr',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除商品属性
+export function delStoreProductAttr(id) {
+  return request({
+    url: '/store/storeProductAttr/' + id,
+    method: 'delete'
+  })
+}
+
+// 导出商品属性
+export function exportStoreProductAttr(query) {
+  return request({
+    url: '/store/storeProductAttr/export',
+    method: 'get',
+    params: query
+  })
 }

+ 52 - 52
src/api/store/storeProductAttrValue.js

@@ -1,53 +1,53 @@
-import request from '@/utils/request'
-
-// 查询商品属性值列表
-export function listStoreProductAttrValue(query) {
-  return request({
-    url: '/store/storeProductAttrValue/list',
-    method: 'get',
-    params: query
-  })
-}
-
-// 查询商品属性值详细
-export function getStoreProductAttrValue(id) {
-  return request({
-    url: '/store/storeProductAttrValue/' + id,
-    method: 'get'
-  })
-}
-
-// 新增商品属性值
-export function addStoreProductAttrValue(data) {
-  return request({
-    url: '/store/storeProductAttrValue',
-    method: 'post',
-    data: data
-  })
-}
-
-// 修改商品属性值
-export function updateStoreProductAttrValue(data) {
-  return request({
-    url: '/store/storeProductAttrValue',
-    method: 'put',
-    data: data
-  })
-}
-
-// 删除商品属性值
-export function delStoreProductAttrValue(id) {
-  return request({
-    url: '/store/storeProductAttrValue/' + id,
-    method: 'delete'
-  })
-}
-
-// 导出商品属性值
-export function exportStoreProductAttrValue(query) {
-  return request({
-    url: '/store/storeProductAttrValue/export',
-    method: 'get',
-    params: query
-  })
+import request from '@/utils/request'
+
+// 查询商品属性值列表
+export function listStoreProductAttrValue(query) {
+  return request({
+    url: '/store/storeProductAttrValue/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询商品属性值详细
+export function getStoreProductAttrValue(id) {
+  return request({
+    url: '/store/storeProductAttrValue/' + id,
+    method: 'get'
+  })
+}
+
+// 新增商品属性值
+export function addStoreProductAttrValue(data) {
+  return request({
+    url: '/store/storeProductAttrValue',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改商品属性值
+export function updateStoreProductAttrValue(data) {
+  return request({
+    url: '/store/storeProductAttrValue',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除商品属性值
+export function delStoreProductAttrValue(id) {
+  return request({
+    url: '/store/storeProductAttrValue/' + id,
+    method: 'delete'
+  })
+}
+
+// 导出商品属性值
+export function exportStoreProductAttrValue(query) {
+  return request({
+    url: '/store/storeProductAttrValue/export',
+    method: 'get',
+    params: query
+  })
 }

+ 59 - 59
src/api/store/storeProductCategory.js

@@ -1,59 +1,59 @@
-import request from '@/utils/request'
-
-// 查询商品分类列表
-export function listStoreProductCategory(query) {
-  return request({
-    url: '/store/storeProductCategory/list',
-    method: 'get',
-    params: query
-  })
-}
-
-// 查询商品分类详细
-export function getStoreProductCategory(cateId) {
-  return request({
-    url: '/store/storeProductCategory/' + cateId,
-    method: 'get'
-  })
-}
-
-// 新增商品分类
-export function addStoreProductCategory(data) {
-  return request({
-    url: '/store/storeProductCategory',
-    method: 'post',
-    data: data
-  })
-}
-
-// 修改商品分类
-export function updateStoreProductCategory(data) {
-  return request({
-    url: '/store/storeProductCategory',
-    method: 'put',
-    data: data
-  })
-}
-
-// 删除商品分类
-export function delStoreProductCategory(cateId) {
-  return request({
-    url: '/store/storeProductCategory/' + cateId,
-    method: 'delete'
-  })
-}
-
-// 导出商品分类
-export function exportStoreProductCategory(query) {
-  return request({
-    url: '/store/storeProductCategory/export',
-    method: 'get',
-    params: query
-  })
-}
-export function getAllStoreProductCategory() {
-  return request({
-    url: '/store/storeProductCategory/getAllList' ,
-    method: 'get'
-  })
-}
+import request from '@/utils/request'
+
+// 查询商品分类列表
+export function listStoreProductCategory(query) {
+  return request({
+    url: '/store/storeProductCategory/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询商品分类详细
+export function getStoreProductCategory(cateId) {
+  return request({
+    url: '/store/storeProductCategory/' + cateId,
+    method: 'get'
+  })
+}
+
+// 新增商品分类
+export function addStoreProductCategory(data) {
+  return request({
+    url: '/store/storeProductCategory',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改商品分类
+export function updateStoreProductCategory(data) {
+  return request({
+    url: '/store/storeProductCategory',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除商品分类
+export function delStoreProductCategory(cateId) {
+  return request({
+    url: '/store/storeProductCategory/' + cateId,
+    method: 'delete'
+  })
+}
+
+// 导出商品分类
+export function exportStoreProductCategory(query) {
+  return request({
+    url: '/store/storeProductCategory/export',
+    method: 'get',
+    params: query
+  })
+}
+export function getAllStoreProductCategory() {
+  return request({
+    url: '/store/storeProductCategory/getAllList' ,
+    method: 'get'
+  })
+}

+ 52 - 52
src/api/store/storeProductDetails.js

@@ -1,53 +1,53 @@
-import request from '@/utils/request'
-
-// 查询商品详情列表
-export function listStoreProductDetails(query) {
-  return request({
-    url: '/store/storeProductDetails/list',
-    method: 'get',
-    params: query
-  })
-}
-
-// 查询商品详情详细
-export function getStoreProductDetails(detailsId) {
-  return request({
-    url: '/store/storeProductDetails/' + detailsId,
-    method: 'get'
-  })
-}
-
-// 新增商品详情
-export function addStoreProductDetails(data) {
-  return request({
-    url: '/store/storeProductDetails',
-    method: 'post',
-    data: data
-  })
-}
-
-// 修改商品详情
-export function updateStoreProductDetails(data) {
-  return request({
-    url: '/store/storeProductDetails',
-    method: 'put',
-    data: data
-  })
-}
-
-// 删除商品详情
-export function delStoreProductDetails(detailsId) {
-  return request({
-    url: '/store/storeProductDetails/' + detailsId,
-    method: 'delete'
-  })
-}
-
-// 导出商品详情
-export function exportStoreProductDetails(query) {
-  return request({
-    url: '/store/storeProductDetails/export',
-    method: 'get',
-    params: query
-  })
+import request from '@/utils/request'
+
+// 查询商品详情列表
+export function listStoreProductDetails(query) {
+  return request({
+    url: '/store/storeProductDetails/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询商品详情详细
+export function getStoreProductDetails(detailsId) {
+  return request({
+    url: '/store/storeProductDetails/' + detailsId,
+    method: 'get'
+  })
+}
+
+// 新增商品详情
+export function addStoreProductDetails(data) {
+  return request({
+    url: '/store/storeProductDetails',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改商品详情
+export function updateStoreProductDetails(data) {
+  return request({
+    url: '/store/storeProductDetails',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除商品详情
+export function delStoreProductDetails(detailsId) {
+  return request({
+    url: '/store/storeProductDetails/' + detailsId,
+    method: 'delete'
+  })
+}
+
+// 导出商品详情
+export function exportStoreProductDetails(query) {
+  return request({
+    url: '/store/storeProductDetails/export',
+    method: 'get',
+    params: query
+  })
 }

+ 52 - 52
src/api/store/storeProductGroup.js

@@ -1,53 +1,53 @@
-import request from '@/utils/request'
-
-// 查询商品组合列表
-export function listStoreProductGroup(query) {
-  return request({
-    url: '/store/storeProductGroup/list',
-    method: 'get',
-    params: query
-  })
-}
-
-// 查询商品组合详细
-export function getStoreProductGroup(groupId) {
-  return request({
-    url: '/store/storeProductGroup/' + groupId,
-    method: 'get'
-  })
-}
-
-// 新增商品组合
-export function addStoreProductGroup(data) {
-  return request({
-    url: '/store/storeProductGroup',
-    method: 'post',
-    data: data
-  })
-}
-
-// 修改商品组合
-export function updateStoreProductGroup(data) {
-  return request({
-    url: '/store/storeProductGroup',
-    method: 'put',
-    data: data
-  })
-}
-
-// 删除商品组合
-export function delStoreProductGroup(groupId) {
-  return request({
-    url: '/store/storeProductGroup/' + groupId,
-    method: 'delete'
-  })
-}
-
-// 导出商品组合
-export function exportStoreProductGroup(query) {
-  return request({
-    url: '/store/storeProductGroup/export',
-    method: 'get',
-    params: query
-  })
+import request from '@/utils/request'
+
+// 查询商品组合列表
+export function listStoreProductGroup(query) {
+  return request({
+    url: '/store/storeProductGroup/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询商品组合详细
+export function getStoreProductGroup(groupId) {
+  return request({
+    url: '/store/storeProductGroup/' + groupId,
+    method: 'get'
+  })
+}
+
+// 新增商品组合
+export function addStoreProductGroup(data) {
+  return request({
+    url: '/store/storeProductGroup',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改商品组合
+export function updateStoreProductGroup(data) {
+  return request({
+    url: '/store/storeProductGroup',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除商品组合
+export function delStoreProductGroup(groupId) {
+  return request({
+    url: '/store/storeProductGroup/' + groupId,
+    method: 'delete'
+  })
+}
+
+// 导出商品组合
+export function exportStoreProductGroup(query) {
+  return request({
+    url: '/store/storeProductGroup/export',
+    method: 'get',
+    params: query
+  })
 }

+ 62 - 52
src/api/store/storeProductPackage.js

@@ -1,53 +1,63 @@
-import request from '@/utils/request'
-
-// 查询商品组合套餐列表
-export function listStoreProductPackage(query) {
-  return request({
-    url: '/store/storeProductPackage/list',
-    method: 'get',
-    params: query
-  })
-}
-
-// 查询商品组合套餐详细
-export function getStoreProductPackage(packageId) {
-  return request({
-    url: '/store/storeProductPackage/' + packageId,
-    method: 'get'
-  })
-}
-
-// 新增商品组合套餐
-export function addStoreProductPackage(data) {
-  return request({
-    url: '/store/storeProductPackage',
-    method: 'post',
-    data: data
-  })
-}
-
-// 修改商品组合套餐
-export function updateStoreProductPackage(data) {
-  return request({
-    url: '/store/storeProductPackage',
-    method: 'put',
-    data: data
-  })
-}
-
-// 删除商品组合套餐
-export function delStoreProductPackage(packageId) {
-  return request({
-    url: '/store/storeProductPackage/' + packageId,
-    method: 'delete'
-  })
-}
-
-// 导出商品组合套餐
-export function exportStoreProductPackage(query) {
-  return request({
-    url: '/store/storeProductPackage/export',
-    method: 'get',
-    params: query
-  })
+import request from '@/utils/request'
+
+// 查询商品组合套餐列表
+export function listStoreProductPackage(query) {
+  return request({
+    url: '/store/storeProductPackage/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询商品组合套餐详细
+export function getStoreProductPackage(packageId) {
+  return request({
+    url: '/store/storeProductPackage/' + packageId,
+    method: 'get'
+  })
+}
+
+// 新增商品组合套餐
+export function addStoreProductPackage(data) {
+  return request({
+    url: '/store/storeProductPackage',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改商品组合套餐
+export function updateStoreProductPackage(data) {
+  return request({
+    url: '/store/storeProductPackage',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除商品组合套餐
+export function delStoreProductPackage(packageId) {
+  return request({
+    url: '/store/storeProductPackage/' + packageId,
+    method: 'delete'
+  })
+}
+
+// 导出商品组合套餐
+export function exportStoreProductPackage(query) {
+  return request({
+    url: '/store/storeProductPackage/export',
+    method: 'get',
+    params: query
+  })
+}
+
+
+// 批量修改商品组合套餐
+export function modifyStoreProductPackages(data) {
+  return request({
+    url: '/store/storeProductPackage/modifyMore',
+    method: 'post',
+    data: data
+  })
 }

+ 52 - 52
src/api/store/storeProductRelation.js

@@ -1,53 +1,53 @@
-import request from '@/utils/request'
-
-// 查询商品点赞和收藏列表
-export function listStoreProductRelation(query) {
-  return request({
-    url: '/store/storeProductRelation/list',
-    method: 'get',
-    params: query
-  })
-}
-
-// 查询商品点赞和收藏详细
-export function getStoreProductRelation(id) {
-  return request({
-    url: '/store/storeProductRelation/' + id,
-    method: 'get'
-  })
-}
-
-// 新增商品点赞和收藏
-export function addStoreProductRelation(data) {
-  return request({
-    url: '/store/storeProductRelation',
-    method: 'post',
-    data: data
-  })
-}
-
-// 修改商品点赞和收藏
-export function updateStoreProductRelation(data) {
-  return request({
-    url: '/store/storeProductRelation',
-    method: 'put',
-    data: data
-  })
-}
-
-// 删除商品点赞和收藏
-export function delStoreProductRelation(id) {
-  return request({
-    url: '/store/storeProductRelation/' + id,
-    method: 'delete'
-  })
-}
-
-// 导出商品点赞和收藏
-export function exportStoreProductRelation(query) {
-  return request({
-    url: '/store/storeProductRelation/export',
-    method: 'get',
-    params: query
-  })
+import request from '@/utils/request'
+
+// 查询商品点赞和收藏列表
+export function listStoreProductRelation(query) {
+  return request({
+    url: '/store/storeProductRelation/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询商品点赞和收藏详细
+export function getStoreProductRelation(id) {
+  return request({
+    url: '/store/storeProductRelation/' + id,
+    method: 'get'
+  })
+}
+
+// 新增商品点赞和收藏
+export function addStoreProductRelation(data) {
+  return request({
+    url: '/store/storeProductRelation',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改商品点赞和收藏
+export function updateStoreProductRelation(data) {
+  return request({
+    url: '/store/storeProductRelation',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除商品点赞和收藏
+export function delStoreProductRelation(id) {
+  return request({
+    url: '/store/storeProductRelation/' + id,
+    method: 'delete'
+  })
+}
+
+// 导出商品点赞和收藏
+export function exportStoreProductRelation(query) {
+  return request({
+    url: '/store/storeProductRelation/export',
+    method: 'get',
+    params: query
+  })
 }

+ 61 - 61
src/api/store/storeProductReply.js

@@ -1,62 +1,62 @@
-import request from '@/utils/request'
-
-// 查询评论列表
-export function listStoreProductReply(query) {
-  return request({
-    url: '/store/storeProductReply/list',
-    method: 'get',
-    params: query
-  })
-}
-
-// 查询评论详细
-export function getStoreProductReply(id) {
-  return request({
-    url: '/store/storeProductReply/' + id,
-    method: 'get'
-  })
-}
-
-// 新增评论
-export function addStoreProductReply(data) {
-  return request({
-    url: '/store/storeProductReply',
-    method: 'post',
-    data: data
-  })
-}
-export function replyStoreProductReply(data) {
-  return request({
-    url: '/store/storeProductReply/reply',
-    method: 'post',
-    data: data
-  })
-}
-
-
-
-// 修改评论
-export function updateStoreProductReply(data) {
-  return request({
-    url: '/store/storeProductReply',
-    method: 'put',
-    data: data
-  })
-}
-
-// 删除评论
-export function delStoreProductReply(id) {
-  return request({
-    url: '/store/storeProductReply/' + id,
-    method: 'delete'
-  })
-}
-
-// 导出评论
-export function exportStoreProductReply(query) {
-  return request({
-    url: '/store/storeProductReply/export',
-    method: 'get',
-    params: query
-  })
+import request from '@/utils/request'
+
+// 查询评论列表
+export function listStoreProductReply(query) {
+  return request({
+    url: '/store/storeProductReply/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询评论详细
+export function getStoreProductReply(id) {
+  return request({
+    url: '/store/storeProductReply/' + id,
+    method: 'get'
+  })
+}
+
+// 新增评论
+export function addStoreProductReply(data) {
+  return request({
+    url: '/store/storeProductReply',
+    method: 'post',
+    data: data
+  })
+}
+export function replyStoreProductReply(data) {
+  return request({
+    url: '/store/storeProductReply/reply',
+    method: 'post',
+    data: data
+  })
+}
+
+
+
+// 修改评论
+export function updateStoreProductReply(data) {
+  return request({
+    url: '/store/storeProductReply',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除评论
+export function delStoreProductReply(id) {
+  return request({
+    url: '/store/storeProductReply/' + id,
+    method: 'delete'
+  })
+}
+
+// 导出评论
+export function exportStoreProductReply(query) {
+  return request({
+    url: '/store/storeProductReply/export',
+    method: 'get',
+    params: query
+  })
 }

+ 61 - 61
src/api/store/storeProductRule.js

@@ -1,61 +1,61 @@
-import request from '@/utils/request'
-
-// 查询商品规则值(规格)列表
-export function listStoreProductRule(query) {
-  return request({
-    url: '/store/storeProductRule/list',
-    method: 'get',
-    params: query
-  })
-}
-
-// 查询商品规则值(规格)详细
-export function getStoreProductRule(id) {
-  return request({
-    url: '/store/storeProductRule/' + id,
-    method: 'get'
-  })
-}
-
-// 新增商品规则值(规格)
-export function addStoreProductRule(data) {
-  return request({
-    url: '/store/storeProductRule',
-    method: 'post',
-    data: data
-  })
-}
-
-// 修改商品规则值(规格)
-export function updateStoreProductRule(data) {
-  return request({
-    url: '/store/storeProductRule',
-    method: 'put',
-    data: data
-  })
-}
-
-// 删除商品规则值(规格)
-export function delStoreProductRule(id) {
-  return request({
-    url: '/store/storeProductRule/' + id,
-    method: 'delete'
-  })
-}
-
-// 导出商品规则值(规格)
-export function exportStoreProductRule(query) {
-  return request({
-    url: '/store/storeProductRule/export',
-    method: 'get',
-    params: query
-  })
-}
-
-
-export function getAllStoreProductRule() {
-  return request({
-    url: '/store/storeProductRule/getAllList',
-    method: 'get'
-  })
-}
+import request from '@/utils/request'
+
+// 查询商品规则值(规格)列表
+export function listStoreProductRule(query) {
+  return request({
+    url: '/store/storeProductRule/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询商品规则值(规格)详细
+export function getStoreProductRule(id) {
+  return request({
+    url: '/store/storeProductRule/' + id,
+    method: 'get'
+  })
+}
+
+// 新增商品规则值(规格)
+export function addStoreProductRule(data) {
+  return request({
+    url: '/store/storeProductRule',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改商品规则值(规格)
+export function updateStoreProductRule(data) {
+  return request({
+    url: '/store/storeProductRule',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除商品规则值(规格)
+export function delStoreProductRule(id) {
+  return request({
+    url: '/store/storeProductRule/' + id,
+    method: 'delete'
+  })
+}
+
+// 导出商品规则值(规格)
+export function exportStoreProductRule(query) {
+  return request({
+    url: '/store/storeProductRule/export',
+    method: 'get',
+    params: query
+  })
+}
+
+
+export function getAllStoreProductRule() {
+  return request({
+    url: '/store/storeProductRule/getAllList',
+    method: 'get'
+  })
+}

Некоторые файлы не были показаны из-за большого количества измененных файлов