From 1995e710dcf70e635c4edaa8173f8b66cd67d499 Mon Sep 17 00:00:00 2001
From: 黄何裕 <1053952480@qq.com>
Date: 星期二, 30 七月 2024 14:05:06 +0800
Subject: [PATCH] 样式优化

---
 src/api/system/dept.js |   25 ++++++++++++++++++++++++-
 1 files changed, 24 insertions(+), 1 deletions(-)

diff --git a/src/api/system/dept.js b/src/api/system/dept.js
index fc943cd..70be0eb 100644
--- a/src/api/system/dept.js
+++ b/src/api/system/dept.js
@@ -49,4 +49,27 @@
     url: '/system/dept/' + deptId,
     method: 'delete'
   })
-}
\ No newline at end of file
+}
+
+// 鑾峰彇閮ㄩ棬涓嬫媺鍒楄〃
+export function deptSelect() {
+  return request({
+    url: '/system/dept/all',
+    method: 'get'
+  })
+}
+// 鑾峰彇鍖哄煙涓嬫媺鍒楄〃
+export function areaSelect() {
+  return request({
+    url: '/system/dept/pullList',
+    method: 'get'
+  })
+}
+
+// 鑾峰彇绾ц仈鏁版嵁
+export function cascader() {
+  return request({
+    url: '/system/dept/cascader',
+    method: 'get'
+  })
+}

--
Gitblit v1.8.0