debug: 添加前端数据总览调试日志
This commit is contained in:
parent
99c2b5631e
commit
3b2e8d404f
@ -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 // 发布的任务数(当月)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user