From edd829dee6a805153f16c61125cbff2966cd514c Mon Sep 17 00:00:00 2001 From: yunuo970428 <405378304@qq.com> Date: Mon, 13 Nov 2023 11:04:52 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E5=AE=A2=E6=88=B7=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2--=E5=A2=9E=E5=8A=A0=E5=AF=BC=E5=87=BA=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/jichuxinxi/crmcustomer.js | 14 ++++- .../kehuguanli/kehuchaxun/kehuchaxun.vue | 61 ++++++++++++++++++- 2 files changed, 69 insertions(+), 6 deletions(-) diff --git a/anrui-buscenter/anrui-buscenter-ui/src/api/jichuxinxi/crmcustomer.js b/anrui-buscenter/anrui-buscenter-ui/src/api/jichuxinxi/crmcustomer.js index 592a738e83..2e1a56e194 100644 --- a/anrui-buscenter/anrui-buscenter-ui/src/api/jichuxinxi/crmcustomer.js +++ b/anrui-buscenter/anrui-buscenter-ui/src/api/jichuxinxi/crmcustomer.js @@ -69,6 +69,17 @@ export function deleteBySids(data) { }) } +// 导出 +export function exportExcel(data) { + return request({ + url: '/crm/v1/crmcustomertemp/exportExcel', + method: 'post', + responseType: 'blob', // 表明返回服务器返回的数据类型 + data: data, + headers: { 'Content-Type': 'application/json' } + }) +} + // 推送财务数据--是否确定车架号选择否 export function sendFinCustomer(data, orgCode) { return request({ @@ -93,9 +104,6 @@ export function sendFinCustomerTrue(data) { }) } - - - // 推送财务数据--是否确定车架号选择是,选择车辆 export function vehicleCrmList(data) { return request({ diff --git a/anrui-buscenter/anrui-buscenter-ui/src/views/kehuguanli/kehuchaxun/kehuchaxun.vue b/anrui-buscenter/anrui-buscenter-ui/src/views/kehuguanli/kehuchaxun/kehuchaxun.vue index 97afd7eed9..6f0eb2ed36 100644 --- a/anrui-buscenter/anrui-buscenter-ui/src/views/kehuguanli/kehuchaxun/kehuchaxun.vue +++ b/anrui-buscenter/anrui-buscenter-ui/src/views/kehuguanli/kehuchaxun/kehuchaxun.vue @@ -24,6 +24,14 @@ + + + + + + + + @@ -90,6 +98,11 @@ {{ scope.row.level }} + + +