diff --git a/src/api/bst/customerService.js b/src/api/bst/customerService.js new file mode 100644 index 0000000..0d6b88f --- /dev/null +++ b/src/api/bst/customerService.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询客服列表 +export function listCustomerService(query) { + return request({ + url: '/bst/customerService/list', + method: 'get', + params: query + }) +} + +// 查询客服详细 +export function getCustomerService(id) { + return request({ + url: '/bst/customerService/' + id, + method: 'get' + }) +} + +// 新增客服 +export function addCustomerService(data) { + return request({ + url: '/bst/customerService', + method: 'post', + data: data + }) +} + +// 修改客服 +export function updateCustomerService(data) { + return request({ + url: '/bst/customerService', + method: 'put', + data: data + }) +} + +// 删除客服 +export function delCustomerService(id) { + return request({ + url: '/bst/customerService/' + id, + method: 'delete' + }) +} diff --git a/src/views/bst/customerService/index.vue b/src/views/bst/customerService/index.vue new file mode 100644 index 0000000..4469b1d --- /dev/null +++ b/src/views/bst/customerService/index.vue @@ -0,0 +1,387 @@ + + +