From 4d09b1e0089c8185e4438b2e835fd24d9f210194 Mon Sep 17 00:00:00 2001 From: lSun <15893999301@qq.com> Date: Thu, 9 Oct 2025 16:37:25 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=BE=E5=83=8F=E8=AF=84=E4=BC=B0=E7=9A=84?= =?UTF-8?q?=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/imageCaptioning/imageLibrary.js | 10 + src/components/ImagePreview/index.vue | 2 - .../image-captioning-library/index.vue | 33 +-- .../components/FileUploaderUn.vue | 2 +- .../components/HistoryView.vue | 5 + .../components/HistoryViewUn.vue | 2 +- .../components/ImageResults.vue | 238 ++++++++++++----- .../components/ImageResultsUn.vue | 196 ++++++++++++++ .../image-captioning/index.vue | 247 ++++++++++++++---- .../image-evaluate-library/index.vue | 17 +- .../imageCaptioning/image-evaluate/index.vue | 94 +++++-- 11 files changed, 656 insertions(+), 190 deletions(-) create mode 100644 src/api/imageCaptioning/imageLibrary.js create mode 100644 src/views/imageCaptioning/image-captioning/components/ImageResultsUn.vue diff --git a/src/api/imageCaptioning/imageLibrary.js b/src/api/imageCaptioning/imageLibrary.js new file mode 100644 index 0000000..99c5dc4 --- /dev/null +++ b/src/api/imageCaptioning/imageLibrary.js @@ -0,0 +1,10 @@ +import request from '@/utils/request' + +// 查询参数列表 +export function getAllImagelist(query) { + return request({ + url: '/image/caption/list', + method: 'get', + params: query + }) +} diff --git a/src/components/ImagePreview/index.vue b/src/components/ImagePreview/index.vue index e220db3..656db51 100644 --- a/src/components/ImagePreview/index.vue +++ b/src/components/ImagePreview/index.vue @@ -2,7 +2,6 @@