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 @@