From 3b2e8d404fee648699901ba2f1c8b91cf64aba07 Mon Sep 17 00:00:00 2001 From: Your Name Date: Thu, 8 Jan 2026 18:08:05 +0800 Subject: [PATCH] =?UTF-8?q?debug:=20=E6=B7=BB=E5=8A=A0=E5=89=8D=E7=AB=AF?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E6=80=BB=E8=A7=88=E8=B0=83=E8=AF=95=E6=97=A5?= =?UTF-8?q?=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/TaskHall.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frontend/src/views/TaskHall.vue b/frontend/src/views/TaskHall.vue index dd416fd..6f9edd5 100644 --- a/frontend/src/views/TaskHall.vue +++ b/frontend/src/views/TaskHall.vue @@ -3936,7 +3936,9 @@ const loadDashboardStats = async () => { if (currentDeptView.value !== undefined) { params.deptId = currentDeptView.value } + console.log('loadDashboardStats 调用参数:', params, 'effectiveDeptType:', effectiveDeptType.value) const response = await taskApi.getDashboardStats(Object.keys(params).length > 0 ? params : undefined) + console.log('loadDashboardStats 响应:', response.data) if (response.code === 200) { const data = response.data dataCards.value[0].value = data.publishedCount || 0 // 发布的任务数(当月)