From 6754df3c4faf22d426d45d1c4995c865cab686de Mon Sep 17 00:00:00 2001
From: weicd <weicd@yhzhg.cn>
Date: Mon, 20 Feb 2023 02:45:16 +0000
Subject: [PATCH] 流水相关
---
eladmin-web-master/src/api/system/dept.js | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diff --git a/eladmin-web-master/src/api/system/dept.js b/eladmin-web-master/src/api/system/dept.js
index ed4f944..0b0c1fc 100644
--- a/eladmin-web-master/src/api/system/dept.js
+++ b/eladmin-web-master/src/api/system/dept.js
@@ -41,4 +41,12 @@
})
}
-export default { add, edit, del, getDepts, getDeptSuperior }
+export function getAll(params) {
+ return request({
+ url: 'api/dept/all',
+ method: 'get',
+ params
+ })
+}
+
+export default { add, edit, del, getDepts, getDeptSuperior, getAll }
--
Gitblit v1.9.3