This commit is contained in:
Your Name
2026-05-05 14:51:35 +08:00
parent 40eec808ef
commit 3ef10846b4
10 changed files with 492 additions and 57 deletions
+3 -3
View File
@@ -25,7 +25,7 @@ export function deptDetail(params: any) {
return request.get({ url: '/dept.dept/detail', params })
}
// 部门列表全部
export function deptAll() {
return request.get({ url: '/dept.dept/all' })
// 部门列表全部apply_data_scope=1 时按当前账号角色数据权限收窄树(与 DataScopeService 一致)
export function deptAll(params?: { apply_data_scope?: number }) {
return request.get({ url: '/dept.dept/all', params })
}
+11 -1
View File
@@ -43,7 +43,17 @@ export function yejiStatsLeaderboard(params: {
return request.get({ url: '/stats.yejiStats/leaderboard', params })
}
/** 医生统计(start/end、channel_code;含数据范围;不按展示部门 dept_ids 筛选 */
/** 「未归属中心」行:按订单创建人拆解合计业绩(与看板「合计业绩」未归属部分同口径 */
export function yejiStatsUnassignedBreakdown(params: {
start_date: string
end_date: string
dept_ids?: string
channel_code?: string
tag_id?: string
}) {
return request.get({ url: '/stats.yejiStats/unassignedBreakdown', params })
}
export function doctorDailyStatsOverview(params: {
start_date?: string
end_date?: string