From 5b118e91ab92bb6a4cd3d016f957ec3300c61bf1 Mon Sep 17 00:00:00 2001
From: lSun <15893999301@qq.com>
Date: Mon, 27 Oct 2025 16:12:05 +0800
Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E9=97=AE=E9=A2=98=E4=BF=AE?=
=?UTF-8?q?=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../image-captioning-library/index.vue | 33 ++++++++++++++++---
.../image-captioning/components/Sidebar.vue | 22 +++++++++++--
2 files changed, 47 insertions(+), 8 deletions(-)
diff --git a/src/views/imageCaptioning/image-captioning-library/index.vue b/src/views/imageCaptioning/image-captioning-library/index.vue
index e75a21a..e2d13e3 100644
--- a/src/views/imageCaptioning/image-captioning-library/index.vue
+++ b/src/views/imageCaptioning/image-captioning-library/index.vue
@@ -12,13 +12,28 @@
-
+
+
+
+
+
+
+
+ filterable
+ style="width: 240px">
+
+
+
+
import {getAllImagelist, deleteFile, exportImages} from "@/api/imageCaptioning/imageLibrary";
+import {getSelectedAPI} from "@/api/imageCaptioning/imageCaptioning";
export default {
name: "imageCaptioningLibrary",
@@ -119,10 +135,12 @@ export default {
proMaterialsListAll: [], // 所有材料列表
showProMaterialsDuctList: [], // 需要显示的材料列表
itemWidth: 0, // 材料卡片宽度
+ contentImageOptions:[]
}
},
created() {
this.getList();
+ this.getContentImageOptions();
},
mounted() {
this.getItemWidth()
@@ -142,6 +160,11 @@ export default {
this.showProMaterialsDuctList = this.proMaterialsListAll;
})
},
+ getContentImageOptions() {
+ getSelectedAPI().then(response => {
+ this.contentImageOptions = response.data;
+ })
+ },
/** 搜索按钮操作 */
handleQuery() {
this.queryParams.pageNum = 1
diff --git a/src/views/imageCaptioning/image-captioning/components/Sidebar.vue b/src/views/imageCaptioning/image-captioning/components/Sidebar.vue
index 8374908..e696d28 100644
--- a/src/views/imageCaptioning/image-captioning/components/Sidebar.vue
+++ b/src/views/imageCaptioning/image-captioning/components/Sidebar.vue
@@ -2,14 +2,26 @@