套餐设置套餐管理完善
This commit is contained in:
@@ -135,10 +135,15 @@ export function updateAuthRole(data) {
|
||||
}
|
||||
|
||||
// 查询部门下拉树结构
|
||||
export function deptTreeSelect() {
|
||||
// 默认只显示科室类型(typeEnum=2),如果需要其他类型,可以传入 params 覆盖
|
||||
export function deptTreeSelect(params = {}) {
|
||||
return request({
|
||||
url: '/base-data-manage/organization/organization',
|
||||
method: 'get'
|
||||
method: 'get',
|
||||
params: {
|
||||
typeEnum: 2, // 默认只显示科室
|
||||
...params // 允许外部传入参数覆盖默认值
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user