From 1a33b944d425b1488f4e5b93725bdf00609271be Mon Sep 17 00:00:00 2001
From: 马宇豪 <978517621@qq.com>
Date: Thu, 30 Mar 2023 14:49:42 +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