无人机管理后台前端(已迁走)
张含笑
2025-11-28 78016681c070f814e0bf0c2bc4b6fdf5a48a279e
Merge branch 'refs/heads/feature/v8.0/8.0.3' into test
1 files modified
5 ■■■■ changed files
src/views/tickets/ticket.vue 5 ●●●● patch | view | raw | blame | history
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