From bd462577b4787b88f57f123e0c28f4dbac88835a Mon Sep 17 00:00:00 2001 From: "@zhu-yuefeng" <761784171@qq.com> Date: Tue, 10 Oct 2023 09:59:49 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=A2=E8=AF=89=E6=A1=A3=E6=A1=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../electronicCustomerComplaint.js | 54 +++ .../ea/electronicCustomerComplaint/index.vue | 392 ++++++++++++++++++ 2 files changed, 446 insertions(+) create mode 100644 src/api/ea/electronicCustomerComplaint/electronicCustomerComplaint.js create mode 100644 src/views/ea/electronicCustomerComplaint/index.vue diff --git a/src/api/ea/electronicCustomerComplaint/electronicCustomerComplaint.js b/src/api/ea/electronicCustomerComplaint/electronicCustomerComplaint.js new file mode 100644 index 00000000..63cac16f --- /dev/null +++ b/src/api/ea/electronicCustomerComplaint/electronicCustomerComplaint.js @@ -0,0 +1,54 @@ +import request from '@/utils/request' + +// 创建客诉档案 +export function createElectronicCustomerComplaint(data) { + return request({ + url: '/ea/electronic-customer-complaint/create', + method: 'post', + data: data + }) +} + +// 更新客诉档案 +export function updateElectronicCustomerComplaint(data) { + return request({ + url: '/ea/electronic-customer-complaint/update', + method: 'put', + data: data + }) +} + +// 删除客诉档案 +export function deleteElectronicCustomerComplaint(id) { + return request({ + url: '/ea/electronic-customer-complaint/delete?id=' + id, + method: 'delete' + }) +} + +// 获得客诉档案 +export function getElectronicCustomerComplaint(id) { + return request({ + url: '/ea/electronic-customer-complaint/get?id=' + id, + method: 'get' + }) +} + +// 获得客诉档案分页 +export function getElectronicCustomerComplaintPage(query) { + return request({ + url: '/ea/electronic-customer-complaint/page', + method: 'get', + params: query + }) +} + +// 导出客诉档案 Excel +export function exportElectronicCustomerComplaintExcel(query) { + return request({ + url: '/ea/electronic-customer-complaint/export-excel', + method: 'get', + params: query, + responseType: 'blob' + }) +} diff --git a/src/views/ea/electronicCustomerComplaint/index.vue b/src/views/ea/electronicCustomerComplaint/index.vue new file mode 100644 index 00000000..cc125995 --- /dev/null +++ b/src/views/ea/electronicCustomerComplaint/index.vue @@ -0,0 +1,392 @@ + + +