From bb7db62b1663c3b30830e1604731c2197f46af75 Mon Sep 17 00:00:00 2001
From: Your Name <123456>
Date: Wed, 30 Nov 2022 09:18:23 +0800
Subject: [PATCH] 物资
---
src/api/specialWorkSystem/workApply/index.ts | 27 +++++++++++++++++++++++++++
1 files changed, 27 insertions(+), 0 deletions(-)
diff --git a/src/api/specialWorkSystem/workApply/index.ts b/src/api/specialWorkSystem/workApply/index.ts
index 0de2384..1286cbe 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,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