From 2c4edb31e7da37c98e5660ab478f43e01a77003c Mon Sep 17 00:00:00 2001
From: 马宇豪 <978517621@qq.com>
Date: Tue, 14 Mar 2023 15:57:10 +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