From 3bafe1323441beec50b61ffb09e2b530d5be72b2 Mon Sep 17 00:00:00 2001 From: Admin <978517621@qq.com> Date: 星期四, 08 九月 2022 16:47:35 +0800 Subject: [PATCH] Default Changelist --- src/api/specialWorkSystem/workApply/index.ts | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/src/api/specialWorkSystem/workApply/index.ts b/src/api/specialWorkSystem/workApply/index.ts index 890b524..0de2384 100644 --- a/src/api/specialWorkSystem/workApply/index.ts +++ b/src/api/specialWorkSystem/workApply/index.ts @@ -19,6 +19,18 @@ }); }, + // 导出打印接口 + postPrinting: (data: object) => { + return request({ + url: import.meta.env.VITE_API_URL + `/work/apply/printing`, + method: 'post', + data: data, + responseType: 'blob', + headers:{'Content-Type': 'application/json'} + }); + }, + + // 动火申请 postFireApply: (data: object) => { return request({ -- Gitblit v1.9.2