From 16f25e4ae9a39923afffc20d82f742e924dd689a Mon Sep 17 00:00:00 2001
From: Admin <978517621@qq.com>
Date: Sat, 08 Oct 2022 14:55:29 +0800
Subject: [PATCH] Default Changelist
---
src/api/specialWorkSystem/workApply/index.ts | 30 ++++++++++++++++++++++++++++++
1 files changed, 30 insertions(+), 0 deletions(-)
diff --git a/src/api/specialWorkSystem/workApply/index.ts b/src/api/specialWorkSystem/workApply/index.ts
index 890b524..4575477 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({
@@ -18,6 +27,18 @@
method: 'get'
});
},
+
+ // 导出打印接口
+ 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) => {
@@ -137,6 +158,15 @@
method: 'post',
data: data
});
+ },
+
+ // 获取物资配置数据
+ getMaterial: (data: object) => {
+ return request({
+ url: import.meta.env.VITE_API_URL + `/specialWork/material/queryByWorkTypeOrLevel`,
+ method: 'post',
+ data: data
+ });
}
};
}
--
Gitblit v1.9.2