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 | 17 ++++++++++++++++- 1 files changed, 16 insertions(+), 1 deletions(-) diff --git a/src/api/system/dept.js b/src/api/system/dept.js index b6c0f1d..70be0eb 100644 --- a/src/api/system/dept.js +++ b/src/api/system/dept.js @@ -51,10 +51,25 @@ }) } -// 鑾峰彇杩愮淮鍗曚綅涓嬫媺鍒楄〃 +// 鑾峰彇閮ㄩ棬涓嬫媺鍒楄〃 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