From 6be14494ba8531ceb01dbb920285aa4b20530ef9 Mon Sep 17 00:00:00 2001 From: yinq Date: Tue, 19 May 2026 13:48:57 +0800 Subject: [PATCH] =?UTF-8?q?1.1.46=20=E5=87=BA=E5=B7=AE=E5=AE=A1=E6=89=B9?= =?UTF-8?q?=E5=8D=95=E5=AF=BC=E5=87=BApdf=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/oa/crm/businessTripApply/index.ts | 12 +++++++ src/views/oa/crm/businessTripApply/index.vue | 36 ++++++++++++++++++-- 2 files changed, 46 insertions(+), 2 deletions(-) diff --git a/src/api/oa/crm/businessTripApply/index.ts b/src/api/oa/crm/businessTripApply/index.ts index 4a0b33c..dacbc8f 100644 --- a/src/api/oa/crm/businessTripApply/index.ts +++ b/src/api/oa/crm/businessTripApply/index.ts @@ -86,3 +86,15 @@ export const submitBusinessTripApplyAndFlowStart = (data: BusinessTripApplyForm) data: data }); }; + +/** + * 导出出差申请单 PDF(已审批) + * @param tripId 出差申请ID + */ +export const exportBusinessTripApplyPdf = (tripId: string | number) => { + return request({ + url: '/oa/crm/businessTripApply/exportTripApplyPdf/' + tripId, + method: 'get', + responseType: 'blob' + }); +}; diff --git a/src/views/oa/crm/businessTripApply/index.vue b/src/views/oa/crm/businessTripApply/index.vue index 502bc3c..2829e9e 100644 --- a/src/views/oa/crm/businessTripApply/index.vue +++ b/src/views/oa/crm/businessTripApply/index.vue @@ -145,7 +145,7 @@ - +