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