fix: 修复getDepartmentList缺失导出问题 - public.js中补充getDepartmentList函数
4个申请单组件(bloodTransfusion/laboratoryTests/surgery/medicalExaminations) 从@/api/public.js导入getDepartmentList,但该函数未导出导致构建失败
This commit is contained in:
@@ -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',
|
||||||
|
|||||||
Reference in New Issue
Block a user