From f5623a1b1402d7d2a30b7bb7b23d9987bdeb666d Mon Sep 17 00:00:00 2001
From: weicd <weicd@yhzhg.cn>
Date: Thu, 16 Feb 2023 05:19:30 +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