From 42e7814f816bedba1a0ef8e8f8fb3df1f495c9db Mon Sep 17 00:00:00 2001
From: 罗广辉 <guanghui.luo@foxmail.com>
Date: Fri, 05 Dec 2025 09:27:58 +0800
Subject: [PATCH] Merge branch 'feature/v8.0/8.0.4' into feature/v9.0/9.0.1
---
src/views/tickets/ticket.vue | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/src/views/tickets/ticket.vue b/src/views/tickets/ticket.vue
index 7f4703a..fde578b 100644
--- a/src/views/tickets/ticket.vue
+++ b/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
--
Gitblit v1.9.3