diff --git a/frontend/src/views/TaskHall.vue b/frontend/src/views/TaskHall.vue index bd79206..78974c1 100644 --- a/frontend/src/views/TaskHall.vue +++ b/frontend/src/views/TaskHall.vue @@ -3937,6 +3937,7 @@ const loadDashboardStats = async () => { if (month) params.month = month // 获取有效的部门ID(切换的部门或用户自己的部门) const effectiveDept = effectiveDeptId.value + console.log('loadDashboardStats - userDeptId:', userDeptId.value, 'currentDeptView:', currentDeptView.value, 'effectiveDept:', effectiveDept) if (effectiveDept) { params.deptId = effectiveDept }