From 23412e0effa27d5d0f79f5796bc4e738cf8cd1fc Mon Sep 17 00:00:00 2001
From: Your Name <123456>
Date: Fri, 03 Mar 2023 16:08:49 +0800
Subject: [PATCH] 更新
---
src/api/specialWorkSystem/workApply/index.ts | 36 ++++++++++++++++++++++++++++++++++++
1 files changed, 36 insertions(+), 0 deletions(-)
diff --git a/src/api/specialWorkSystem/workApply/index.ts b/src/api/specialWorkSystem/workApply/index.ts
index 0de2384..6258f0e 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({
@@ -121,6 +130,15 @@
});
},
+ // 查询所有进度
+ getAllStatus: (data: object) => {
+ return request({
+ url: import.meta.env.VITE_API_URL + `/work/apply/others/view`,
+ method: 'post',
+ data: data
+ });
+ },
+
// 获取图片上传路径
getUploadUrl: (name: string) => {
return request({
@@ -149,6 +167,24 @@
method: 'post',
data: data
});
+ },
+
+ // 获取物资配置数据
+ getMaterial: (data: object) => {
+ return request({
+ url: import.meta.env.VITE_API_URL + `/specialWork/material/queryByWorkTypeOrLevel`,
+ method: 'post',
+ data: data
+ });
+ },
+
+ // 根据物资配置id和领取人获取领取情况
+ getMaterialDetail: (data: object) => {
+ return request({
+ url: import.meta.env.VITE_API_URL + `/specialWork/material/receive`,
+ method: 'post',
+ data: data
+ });
}
};
}
--
Gitblit v1.9.2