fix: 清理public.js中重复的getDepartmentList函数

- 移除重复定义的getDepartmentList函数
- 保留一份干净的科室列表接口导出
- 确保4个申请单组件构建正常
This commit is contained in:
2026-04-24 16:30:22 +08:00
parent d27b5147ec
commit dc43ce335a

View File

@@ -37,15 +37,6 @@ export function getOrgList(data) {
});
}
// 获取科室列表(非分页,完整树形结构)- 用于申请单组件"发往科室"下拉
export function getDepartmentList(data) {
return request({
url: '/app-common/department-list',
method: 'get',
params: data,
});
}
// 获取全部病区列表
export function getWardList(data) {
return request({