From cc3e08bda13360c88b7189e8f8d043b60783c7fb Mon Sep 17 00:00:00 2001 From: 马宇豪 <978517621@qq.com> Date: 星期四, 21 十一月 2024 16:46:32 +0800 Subject: [PATCH] 新增 --- src/api/system/dept.js | 11 ++++++++++- 1 files changed, 10 insertions(+), 1 deletions(-) diff --git a/src/api/system/dept.js b/src/api/system/dept.js index fc943cd..2632179 100644 --- a/src/api/system/dept.js +++ b/src/api/system/dept.js @@ -9,6 +9,15 @@ }) } +// 查询部门列表 +export function listOutDept(query) { + return request({ + url: '/system/dept/getOutDeptList', + method: 'get', + params: query + }) +} + // 查询部门列表(排除节点) export function listDeptExcludeChild(deptId) { return request({ @@ -28,7 +37,7 @@ // 新增部门 export function addDept(data) { return request({ - url: '/system/dept', + url: '/system/dept/add', method: 'post', data: data }) -- Gitblit v1.9.2