debug: 添加更多数据总览调试日志

This commit is contained in:
Your Name 2026-01-08 18:16:09 +08:00
parent ebc84ce241
commit f2b37c8780

View File

@ -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
}