From 5085f637723915cd055f111c4cb7f2bcc62f2a8f Mon Sep 17 00:00:00 2001 From: Jruome <2559028966@qq.com> Date: Fri, 16 Jun 2023 11:14:35 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AE=A1=E7=90=86=E7=AB=AF=20=E6=8E=A8?= =?UTF-8?q?=E5=B9=BF=E5=91=98=E5=AF=BC=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yudao-ui-admin/src/api/member/promoter.js | 10 ++++++++ yudao-ui-admin/src/views/index.vue | 25 +++++++++++++------ .../src/views/member/allpromoter/index.vue | 15 ++++++----- 3 files changed, 35 insertions(+), 15 deletions(-) diff --git a/yudao-ui-admin/src/api/member/promoter.js b/yudao-ui-admin/src/api/member/promoter.js index cff9c19c2..5d4dadea8 100644 --- a/yudao-ui-admin/src/api/member/promoter.js +++ b/yudao-ui-admin/src/api/member/promoter.js @@ -68,6 +68,16 @@ export function getPromoterPage(query) { }) } +// 导出所有推广员 Excel +export function allExport(query) { + return request({ + url: '/member/promoter/all-export-excel', + method: 'get', + params: query, + responseType: 'blob' + }) +} + // 导出推广员 Excel export function exportPromoterExcel(query) { return request({ diff --git a/yudao-ui-admin/src/views/index.vue b/yudao-ui-admin/src/views/index.vue index 5bcd7e8f4..b4864185a 100644 --- a/yudao-ui-admin/src/views/index.vue +++ b/yudao-ui-admin/src/views/index.vue @@ -1,8 +1,10 @@