From 3a9ca6d56fbad4c67b858185d9e9b157e3d60b82 Mon Sep 17 00:00:00 2001
From: 马宇豪 <978517621@qq.com>
Date: Wed, 22 Mar 2023 08:48:51 +0800
Subject: [PATCH] 对接特殊作业接口
---
src/api/specialWorkSystem/workApply/index.ts | 19 ++++++++++++++++++-
1 files changed, 18 insertions(+), 1 deletions(-)
diff --git a/src/api/specialWorkSystem/workApply/index.ts b/src/api/specialWorkSystem/workApply/index.ts
index 1286cbe..8afaf8f 100644
--- a/src/api/specialWorkSystem/workApply/index.ts
+++ b/src/api/specialWorkSystem/workApply/index.ts
@@ -20,10 +20,18 @@
});
},
- // 分页获取申请列表
+ // 获取所有用户
getAllUsers: () => {
return request({
url: import.meta.env.VITE_API_URL + `/account/list`,
+ method: 'get'
+ });
+ },
+
+ // 获取所有设备
+ getAllDevices: () => {
+ return request({
+ url: import.meta.env.VITE_API_URL + `/sysAdmin/camera/find/byAll`,
method: 'get'
});
},
@@ -176,6 +184,15 @@
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