From c752e33fe402e2179e7e6795f567d41c044ca3c6 Mon Sep 17 00:00:00 2001
From: yaozc <yaozc@yhzhg.cn>
Date: Fri, 07 Jul 2023 08:39:58 +0000
Subject: [PATCH] Merge branch 'yaozc_new' of http://192.168.1.110:5678/r/pms-upgrade

---
 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