From a6842851a844e63a8766d63c5410a8e2f27a7d45 Mon Sep 17 00:00:00 2001 From: fuliqi <fuliqi@qq.com> Date: 星期二, 20 八月 2024 11:56:30 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- 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