diff --git a/src/api/setting/operation_manager.ts b/src/api/setting/operation_manager.ts new file mode 100644 index 0000000..3f7171f --- /dev/null +++ b/src/api/setting/operation_manager.ts @@ -0,0 +1,20 @@ +import request from '@/utils/request' + +export function addOperation(params: any) { + return request.post({ url: '/customerService/add', params }) +} +export function editOperation(params: any) { + return request.post({ url: '/customerService/edit', params }) +} +export function operationDetail(params: any) { + return request.get({ url: '/customerService/detail', params }) +} +export function getOperationList() { + return request.get({ url: '/customerService/list' }) +} +export function delOperation(params: any) { + return request.post({ url: '/customerService/del', params }) +} +export function OperationStatus(params: any) { + return request.post({ url: '/customerService/enable', params }) +} diff --git a/src/views/setting/operation_manager/edit.vue b/src/views/setting/operation_manager/edit.vue new file mode 100644 index 0000000..2590975 --- /dev/null +++ b/src/views/setting/operation_manager/edit.vue @@ -0,0 +1,96 @@ + + + + + + + + + + + + + 开启 + 关闭 + + + + + + + diff --git a/src/views/setting/operation_manager/index.vue b/src/views/setting/operation_manager/index.vue new file mode 100644 index 0000000..eac0d55 --- /dev/null +++ b/src/views/setting/operation_manager/index.vue @@ -0,0 +1,97 @@ + + + + + + + + 新增客服 + + + + + + + + + + + + + 编辑 + + 删除 + + + + + + + + + + + + + +