From b545987d9ebf40c965cb74413c09c2d0ec77f1be Mon Sep 17 00:00:00 2001 From: ailanyin Date: Wed, 8 Mar 2023 15:38:41 +0800 Subject: [PATCH] add deptTreeSelect --- src/api/system/dept.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/api/system/dept.js b/src/api/system/dept.js index e1e3e98..119c19f 100644 --- a/src/api/system/dept.js +++ b/src/api/system/dept.js @@ -52,4 +52,12 @@ export function delDept(deptId) { id: deptId } }) +} + +// 查询部门下拉树结构 +export function deptTreeSelect() { + return request({ + url: '/system/dept/deptTree', + method: 'get' + }) } \ No newline at end of file