From fb67153f3df0c25863f388b199c5706f4ba801ea Mon Sep 17 00:00:00 2001 From: 马宇豪 <978517621@qq.com> Date: 星期一, 13 三月 2023 16:27:51 +0800 Subject: [PATCH] 作业申请新增设备 --- src/api/specialWorkSystem/workApply/index.ts | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/src/api/specialWorkSystem/workApply/index.ts b/src/api/specialWorkSystem/workApply/index.ts index 6258f0e..8afaf8f 100644 --- a/src/api/specialWorkSystem/workApply/index.ts +++ b/src/api/specialWorkSystem/workApply/index.ts @@ -20,7 +20,7 @@ }); }, - // 分页获取申请列表 + // 获取所有用户 getAllUsers: () => { return request({ url: import.meta.env.VITE_API_URL + `/account/list`, @@ -28,6 +28,14 @@ }); }, + // 获取所有设备 + getAllDevices: () => { + return request({ + url: import.meta.env.VITE_API_URL + `/sysAdmin/camera/find/byAll`, + method: 'get' + }); + }, + // 导出打印接口 postPrinting: (data: object) => { return request({ -- Gitblit v1.9.2