diff --git a/src/api/ea/electronicConsultation/electronicConsultation.js b/src/api/ea/electronicConsultation/electronicConsultation.js new file mode 100644 index 00000000..ff97aabc --- /dev/null +++ b/src/api/ea/electronicConsultation/electronicConsultation.js @@ -0,0 +1,54 @@ +import request from '@/utils/request' + +// 创建咨询档案 +export function createElectronicConsultation(data) { + return request({ + url: '/ea/electronic-consultation/create', + method: 'post', + data: data + }) +} + +// 更新咨询档案 +export function updateElectronicConsultation(data) { + return request({ + url: '/ea/electronic-consultation/update', + method: 'put', + data: data + }) +} + +// 删除咨询档案 +export function deleteElectronicConsultation(id) { + return request({ + url: '/ea/electronic-consultation/delete?id=' + id, + method: 'delete' + }) +} + +// 获得咨询档案 +export function getElectronicConsultation(id) { + return request({ + url: '/ea/electronic-consultation/get?id=' + id, + method: 'get' + }) +} + +// 获得咨询档案分页 +export function getElectronicConsultationPage(query) { + return request({ + url: '/ea/electronic-consultation/page', + method: 'get', + params: query + }) +} + +// 导出咨询档案 Excel +export function exportElectronicConsultationExcel(query) { + return request({ + url: '/ea/electronic-consultation/export-excel', + method: 'get', + params: query, + responseType: 'blob' + }) +} 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/api/ea/electronicOther/electronicOther.js b/src/api/ea/electronicOther/electronicOther.js new file mode 100644 index 00000000..91457033 --- /dev/null +++ b/src/api/ea/electronicOther/electronicOther.js @@ -0,0 +1,54 @@ +import request from '@/utils/request' + +// 创建其他档案 +export function createElectronicOther(data) { + return request({ + url: '/ea/electronic-other/create', + method: 'post', + data: data + }) +} + +// 更新其他档案 +export function updateElectronicOther(data) { + return request({ + url: '/ea/electronic-other/update', + method: 'put', + data: data + }) +} + +// 删除其他档案 +export function deleteElectronicOther(id) { + return request({ + url: '/ea/electronic-other/delete?id=' + id, + method: 'delete' + }) +} + +// 获得其他档案 +export function getElectronicOther(id) { + return request({ + url: '/ea/electronic-other/get?id=' + id, + method: 'get' + }) +} + +// 获得其他档案分页 +export function getElectronicOtherPage(query) { + return request({ + url: '/ea/electronic-other/page', + method: 'get', + params: query + }) +} + +// 导出其他档案 Excel +export function exportElectronicOtherExcel(query) { + return request({ + url: '/ea/electronic-other/export-excel', + method: 'get', + params: query, + responseType: 'blob' + }) +} diff --git a/src/views/accounting/attachment/index.vue b/src/views/accounting/attachment/index.vue index 7500fd81..8acf8d42 100644 --- a/src/views/accounting/attachment/index.vue +++ b/src/views/accounting/attachment/index.vue @@ -7,7 +7,7 @@ size="small" :inline="true" v-show="showSearch" - label-width="98px" + label-width="148px" > - - - - - - 搜索 --> - +