From e5d499ae6a4e6b320f71c49987b76cc11f6bc1e4 Mon Sep 17 00:00:00 2001
From: zxl <763096477@qq.com>
Date: 星期二, 28 十月 2025 14:13:10 +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