fix: 修复getDepartmentList缺失导出问题 - public.js中补充getDepartmentList函数

4个申请单组件(bloodTransfusion/laboratoryTests/surgery/medicalExaminations)
从@/api/public.js导入getDepartmentList,但该函数未导出导致构建失败
This commit is contained in:
2026-04-24 16:25:36 +08:00
parent 72e1f927e9
commit 4fb540cfa5

View File

@@ -20,6 +20,15 @@ export function advicePrint(data) {
} }
// 获取全部科室列表 // 获取全部科室列表
// 获取科室列表(树形结构)
export function getDepartmentList(data) {
return request({
url: '/app-common/department-list',
method: 'get',
params: data,
});
}
export function getOrgList(data) { export function getOrgList(data) {
return request({ return request({
url: '/app-common/department-list', url: '/app-common/department-list',