From 7aef6800458950285679dd1b1f23c3b26058b996 Mon Sep 17 00:00:00 2001 From: SjS Date: Wed, 2 Apr 2025 20:06:48 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=A2=E6=9C=8D=E7=9B=B8=E5=85=B3=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/bst/customerService.js | 44 +++ src/views/bst/customerService/index.vue | 387 ++++++++++++++++++++++++ 2 files changed, 431 insertions(+) create mode 100644 src/api/bst/customerService.js create mode 100644 src/views/bst/customerService/index.vue 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 @@ + + +