From 08610444d8ba39c670043083be3ae7a7bc4aba6c Mon Sep 17 00:00:00 2001 From: xuhuajiao <13476289682@163.com> Date: Thu, 14 Dec 2023 17:29:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B6=E9=9B=86=E5=BA=93-=E7=A7=BB=E5=8A=A8/?= =?UTF-8?q?=E6=8F=92=E4=BB=B6/=E5=90=88=E5=8D=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/collect/collect.js | 12 +- .../module/collectHeader.vue | 4 +- .../module/collectMoveFile/index.vue | 100 ++++++-------- .../module/combineFile/index.vue | 2 +- .../module/insertFile/index.vue | 128 ++++++++++++++---- 5 files changed, 156 insertions(+), 90 deletions(-) diff --git a/src/api/collect/collect.js b/src/api/collect/collect.js index c1dfb54..1569eac 100644 --- a/src/api/collect/collect.js +++ b/src/api/collect/collect.js @@ -171,6 +171,15 @@ export function FetchMergeArchives(data) { }) } +// 插件 +export function FetchInsertSingle(data) { + return request({ + url: 'api/collect/insertSingle', + method: 'post', + data + }) +} + export default { collectAdd, collectEdit, @@ -188,5 +197,6 @@ export default { FetchDoArchivesAdjust, FetchArchivesAdjust, FetchDisbandArchives, - FetchMergeArchives + FetchMergeArchives, + FetchInsertSingle } diff --git a/src/views/collectReorganizi/collectionLibrary/module/collectHeader.vue b/src/views/collectReorganizi/collectionLibrary/module/collectHeader.vue index 8b59926..005fcba 100644 --- a/src/views/collectReorganizi/collectionLibrary/module/collectHeader.vue +++ b/src/views/collectReorganizi/collectionLibrary/module/collectHeader.vue @@ -184,7 +184,7 @@ - + @@ -857,6 +857,8 @@ export default { type: 'warning', dangerouslyUseHTMLString: true }).then(() => { + console.log(this.parentsData.$refs.anjuanEle.$refs.ajContent.$refs.tableList.anjuanData) + this.$refs.insertFileRef.fileNoSelectionData = this.parentsData.$refs.anjuanEle.$refs.ajContent.$refs.tableList.anjuanData this.$refs.insertFileRef.getInsertViewTable() }).catch(() => { }) diff --git a/src/views/collectReorganizi/collectionLibrary/module/collectMoveFile/index.vue b/src/views/collectReorganizi/collectionLibrary/module/collectMoveFile/index.vue index 8bf21d5..8a29623 100644 --- a/src/views/collectReorganizi/collectionLibrary/module/collectMoveFile/index.vue +++ b/src/views/collectReorganizi/collectionLibrary/module/collectMoveFile/index.vue @@ -1,6 +1,6 @@