From f63a0987b6b1808fe916795034f7b21a7a1072f8 Mon Sep 17 00:00:00 2001 From: jiang Date: Fri, 20 Dec 2024 10:57:53 +0800 Subject: [PATCH 1/7] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/dataCenter/annotationTask/child/allTasks.vue | 3 +++ src/views/dataCenter/annotationTask/child/initiatedTasks.vue | 2 ++ .../dataCenter/annotationTask/child/participatedTasks.vue | 2 ++ 3 files changed, 7 insertions(+) diff --git a/src/views/dataCenter/annotationTask/child/allTasks.vue b/src/views/dataCenter/annotationTask/child/allTasks.vue index da14b2f8..6b8b8823 100644 --- a/src/views/dataCenter/annotationTask/child/allTasks.vue +++ b/src/views/dataCenter/annotationTask/child/allTasks.vue @@ -84,9 +84,12 @@ >审核 智能标注 diff --git a/src/views/dataCenter/annotationTask/child/initiatedTasks.vue b/src/views/dataCenter/annotationTask/child/initiatedTasks.vue index d7771f96..426a133d 100644 --- a/src/views/dataCenter/annotationTask/child/initiatedTasks.vue +++ b/src/views/dataCenter/annotationTask/child/initiatedTasks.vue @@ -84,6 +84,8 @@ >审核 审核 Date: Fri, 20 Dec 2024 11:02:15 +0800 Subject: [PATCH 2/7] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/dataCenter/annotationTask/child/allTasks.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/dataCenter/annotationTask/child/allTasks.vue b/src/views/dataCenter/annotationTask/child/allTasks.vue index 6b8b8823..5e97c908 100644 --- a/src/views/dataCenter/annotationTask/child/allTasks.vue +++ b/src/views/dataCenter/annotationTask/child/allTasks.vue @@ -257,7 +257,7 @@ export default { }, getPercentage(row) { if (row.totalCount > 0 && row.status0Count >= 0) { - let percentage = Math.floor((row.status1Count / row.totalCount) * 100) + let percentage = Math.floor(((row.status1Count + row.status2Count) / row.totalCount) * 100) // 确保 percentage 在 0 到 100 之间 return Math.min(Math.max(percentage, 0), 100) } From a581e40140d6ce6481cd1b967466cbe06053efd2 Mon Sep 17 00:00:00 2001 From: jiang Date: Fri, 20 Dec 2024 11:02:59 +0800 Subject: [PATCH 3/7] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/dataCenter/annotationTask/child/initiatedTasks.vue | 2 +- src/views/dataCenter/annotationTask/child/participatedTasks.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/dataCenter/annotationTask/child/initiatedTasks.vue b/src/views/dataCenter/annotationTask/child/initiatedTasks.vue index 426a133d..7ef95d28 100644 --- a/src/views/dataCenter/annotationTask/child/initiatedTasks.vue +++ b/src/views/dataCenter/annotationTask/child/initiatedTasks.vue @@ -254,7 +254,7 @@ export default { }, getPercentage(row) { if (row.totalCount > 0 && row.status0Count >= 0) { - let percentage = Math.floor((row.status1Count / row.totalCount) * 100) + let percentage = Math.floor(((row.status1Count + row.status2Count) / row.totalCount) * 100) // 确保 percentage 在 0 到 100 之间 return Math.min(Math.max(percentage, 0), 100) } diff --git a/src/views/dataCenter/annotationTask/child/participatedTasks.vue b/src/views/dataCenter/annotationTask/child/participatedTasks.vue index 0d8b3599..2da3107f 100644 --- a/src/views/dataCenter/annotationTask/child/participatedTasks.vue +++ b/src/views/dataCenter/annotationTask/child/participatedTasks.vue @@ -254,7 +254,7 @@ export default { }, getPercentage(row) { if (row.totalCount > 0 && row.status0Count >= 0) { - let percentage = Math.floor((row.status1Count / row.totalCount) * 100) + let percentage = Math.floor(((row.status1Count + row.status2Count) / row.totalCount) * 100) // 确保 percentage 在 0 到 100 之间 return Math.min(Math.max(percentage, 0), 100) } From 50ae0ea62d8c483e24439e1fe47a1f86cb5fbcfe Mon Sep 17 00:00:00 2001 From: jiang Date: Fri, 20 Dec 2024 11:08:32 +0800 Subject: [PATCH 4/7] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/dataCenter/annotationTask/child/allTasks.vue | 7 +++---- .../dataCenter/annotationTask/child/initiatedTasks.vue | 6 +++--- .../dataCenter/annotationTask/child/participatedTasks.vue | 6 +++--- 3 files changed, 9 insertions(+), 10 deletions(-) diff --git a/src/views/dataCenter/annotationTask/child/allTasks.vue b/src/views/dataCenter/annotationTask/child/allTasks.vue index 5e97c908..0267bda7 100644 --- a/src/views/dataCenter/annotationTask/child/allTasks.vue +++ b/src/views/dataCenter/annotationTask/child/allTasks.vue @@ -76,7 +76,7 @@