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 }); } }; }