From 2bd38f3c07fa4ec63c5b5fd99bca19d2b1b4ee2d Mon Sep 17 00:00:00 2001 From: ZhangXianQiang <1135831638@qq.com> Date: 星期二, 19 三月 2024 14:54:50 +0800 Subject: [PATCH] refactor --- src/api/system/dept.js | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/src/api/system/dept.js b/src/api/system/dept.js index fc943cd..b6c0f1d 100644 --- a/src/api/system/dept.js +++ b/src/api/system/dept.js @@ -49,4 +49,12 @@ url: '/system/dept/' + deptId, method: 'delete' }) -} \ No newline at end of file +} + +// 鑾峰彇杩愮淮鍗曚綅涓嬫媺鍒楄〃 +export function deptSelect() { + return request({ + url: '/system/dept/all', + method: 'get' + }) +} -- Gitblit v1.8.0