From 578b0f7b8ddb1ccd40d5890c96d82011e5ebbed3 Mon Sep 17 00:00:00 2001 From: jiang Date: Sun, 1 Dec 2024 15:08:48 +0800 Subject: [PATCH] =?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 --- package.json | 2 + src/api/dataCenter/annotationTask.js | 9 + .../child/customLabelStudio.vue | 246 ++++++++++-------- .../annotationTask/child/dataAnnotations.vue | 173 ++++++------ 4 files changed, 240 insertions(+), 190 deletions(-) diff --git a/package.json b/package.json index 19fb136a..2d3a208a 100644 --- a/package.json +++ b/package.json @@ -43,6 +43,7 @@ "crypto-js": "^4.2.0", "echarts": "5.4.0", "element-ui": "2.15.14", + "fabric": "^5.3.0", "file-saver": "2.0.5", "fuse.js": "6.4.3", "highlight.js": "9.18.5", @@ -51,6 +52,7 @@ "jsencrypt": "3.0.0-rc.1", "label-studio": "^1.0.1", "nprogress": "0.2.0", + "prop-types": "^15.8.1", "quill": "1.3.7", "screenfull": "5.0.2", "sm-crypto": "^0.3.13", diff --git a/src/api/dataCenter/annotationTask.js b/src/api/dataCenter/annotationTask.js index 25bc8b72..9ccaac76 100644 --- a/src/api/dataCenter/annotationTask.js +++ b/src/api/dataCenter/annotationTask.js @@ -56,4 +56,13 @@ export function getMyAnnotationFiles(annotationStatus,taskId) { }) } +export function manualAnnotate(data) { + return request({ + url: '/ai/annotationTask/manualAnnotate', + method: 'post', + data:data + }) +} + + diff --git a/src/views/dataCenter/annotationTask/child/customLabelStudio.vue b/src/views/dataCenter/annotationTask/child/customLabelStudio.vue index 8f30988b..ff95f26a 100644 --- a/src/views/dataCenter/annotationTask/child/customLabelStudio.vue +++ b/src/views/dataCenter/annotationTask/child/customLabelStudio.vue @@ -1,144 +1,176 @@ diff --git a/src/views/dataCenter/annotationTask/child/dataAnnotations.vue b/src/views/dataCenter/annotationTask/child/dataAnnotations.vue index c04c206f..a0edd708 100644 --- a/src/views/dataCenter/annotationTask/child/dataAnnotations.vue +++ b/src/views/dataCenter/annotationTask/child/dataAnnotations.vue @@ -3,15 +3,7 @@
- -
- - -
+
- - - +
@@ -78,10 +70,11 @@
    -
  • -
    - - {{ item.fileName }} +
  • +
    + + {{ item.fileName }}
@@ -90,43 +83,10 @@
- -
-
-
-
-
-
- -
-
-
-
- -
-
-
-
- 上一张 - - 下一张 - - 保存 - -
-
+
@@ -136,20 +96,32 @@