From 02ad7cd1aaa98f25b9a3dd6a73a037c70006f001 Mon Sep 17 00:00:00 2001
From: 马宇豪 <978517621@qq.com>
Date: 星期一, 02 十二月 2024 13:51:25 +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