套餐设置套餐管理完善

This commit is contained in:
2026-01-29 15:32:21 +08:00
parent 638f853af6
commit 1c781c1224
4 changed files with 258 additions and 172 deletions

View File

@@ -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 // 允许外部传入参数覆盖默认值
}
})
}