From 7e827c55fa38991089d6d735f5f425b3e9cb96e1 Mon Sep 17 00:00:00 2001
From: 祖安之光 <11848914+light-of-zuan@user.noreply.gitee.com>
Date: Tue, 30 Jun 2026 16:46:08 +0800
Subject: [PATCH] 修改名称
---
src/api/system/dept.js | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/src/api/system/dept.js b/src/api/system/dept.js
index fc943cd..9e509bd 100644
--- a/src/api/system/dept.js
+++ b/src/api/system/dept.js
@@ -1,6 +1,6 @@
import request from '@/utils/request'
-// 查询部门列表
+// 查询学院列表
export function listDept(query) {
return request({
url: '/system/dept/list',
@@ -9,7 +9,7 @@
})
}
-// 查询部门列表(排除节点)
+// 查询学院列表(排除节点)
export function listDeptExcludeChild(deptId) {
return request({
url: '/system/dept/list/exclude/' + deptId,
@@ -17,7 +17,7 @@
})
}
-// 查询部门详细
+// 查询学院详细
export function getDept(deptId) {
return request({
url: '/system/dept/' + deptId,
@@ -25,7 +25,7 @@
})
}
-// 新增部门
+// 新增学院
export function addDept(data) {
return request({
url: '/system/dept',
@@ -34,7 +34,7 @@
})
}
-// 修改部门
+// 修改学院
export function updateDept(data) {
return request({
url: '/system/dept',
@@ -43,10 +43,10 @@
})
}
-// 删除部门
+// 删除学院
export function delDept(deptId) {
return request({
url: '/system/dept/' + deptId,
method: 'delete'
})
-}
\ No newline at end of file
+}
--
Gitblit v1.9.2