无人机管理后台前端(已迁走)
罗广辉
2025-12-05 42e7814f816bedba1a0ef8e8f8fb3df1f495c9db
src/views/tickets/ticket.vue
@@ -891,7 +891,10 @@
  try {
    const response = await getstatusCount(params)
    const statusCount = response.data.data || {}
    const totalCount = Object.values(statusCount).reduce((sum, count) => sum + (count || 0), 0)
     const totalCount = Object.entries(statusCount).reduce((sum, [key, count]) => {
         if (key === '6') return sum
         return sum + (count || 0)
      }, 0)
    tabs.value.forEach(tab => {
      if (tab.name === 'all') {
        tab.count = totalCount