From aa2e3f4435dc4d12da4cb4bd282ba0daa1b3cb6d Mon Sep 17 00:00:00 2001 From: Admin <978517621@qq.com> Date: 星期一, 26 九月 2022 11:13:27 +0800 Subject: [PATCH] Default Changelist --- src/api/specialWorkSystem/workApply/index.ts | 21 +++++++++++++++++++++ 1 files changed, 21 insertions(+), 0 deletions(-) diff --git a/src/api/specialWorkSystem/workApply/index.ts b/src/api/specialWorkSystem/workApply/index.ts index 890b524..7e6337f 100644 --- a/src/api/specialWorkSystem/workApply/index.ts +++ b/src/api/specialWorkSystem/workApply/index.ts @@ -11,6 +11,15 @@ }); }, + // 所有记录列表 + getApplyList: (data: object) => { + return request({ + url: import.meta.env.VITE_API_URL + `/work/apply/all/page/list`, + method: 'post', + data: data + }); + }, + // 分页获取申请列表 getAllUsers: () => { return request({ @@ -19,6 +28,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