From 01f9f20c0980cd70a42efd8f8aa9c9e77a1d16f3 Mon Sep 17 00:00:00 2001 From: xuhuajiao <13476289682@163.com> Date: Thu, 25 Jan 2024 17:11:05 +0800 Subject: [PATCH] =?UTF-8?q?bug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../managementLibrary/mixins/index.js | 2 +- .../module/collectHeader.vue | 8 +- .../batchConnection/index.vue | 2 +- .../batchConnection/module/form.vue | 12 +- .../collectionLibrary/anjuan/content.vue | 9 +- .../collectionLibrary/anjuan/index.vue | 1 + .../collectionLibrary/index.vue | 13 ++- .../collectionLibrary/juannei/index.vue | 1 + .../collectionLibrary/mixins/index.js | 2 +- .../module/collectHeader.vue | 110 +++++++++++------- .../collectionLibrary/project/index.vue | 6 +- src/views/components/category/PreviewForm.vue | 8 +- 12 files changed, 110 insertions(+), 64 deletions(-) diff --git a/src/views/archivesManage/managementLibrary/mixins/index.js b/src/views/archivesManage/managementLibrary/mixins/index.js index d246e37..efcd0ea 100644 --- a/src/views/archivesManage/managementLibrary/mixins/index.js +++ b/src/views/archivesManage/managementLibrary/mixins/index.js @@ -115,7 +115,7 @@ export const manageLibraryCrud = { 'categoryId': this.selectedCategory.id, 'categoryLevel': categoryLevel, 'ignore': false, - 'isdel': this.parentsData.isdel, + 'isdel': (this.parentsData.isdel && categoryLevel === 3) ? false : this.parentsData.isdel, 'checkTypes': this.selectStatus && this.selectStatus.length !== 0 ? this.selectStatus.join(',') : null, 'search': this.query.search, 'retention': this.smartQuery.retention, diff --git a/src/views/archivesManage/managementLibrary/module/collectHeader.vue b/src/views/archivesManage/managementLibrary/module/collectHeader.vue index c8a980b..36c02b1 100644 --- a/src/views/archivesManage/managementLibrary/module/collectHeader.vue +++ b/src/views/archivesManage/managementLibrary/module/collectHeader.vue @@ -136,7 +136,7 @@ -
+
恢复 彻底删除 导出 @@ -713,7 +713,8 @@ export default { const params = { 'categoryId': this.selectedCategory.id, 'categoryLevel': this.collectLevel, - 'archivesIds': archivesIds + 'archivesIds': archivesIds, + 'collectFormal': this.isTitleType === 2 ? 3 : null } FetchRestoreArchives(params).then((res) => { if (res.code !== 500) { @@ -721,7 +722,7 @@ export default { this.$message({ message: res, type: 'success', offset: 8 }) this.handleSearch(this.collectLevel) } else { - this.$message({ message: '回复所选档案失败', type: 'error', offset: 8 }) + this.$message({ message: '恢复所选档案失败', type: 'error', offset: 8 }) } }).catch(err => { console.log(err) @@ -893,6 +894,7 @@ export default { flex-wrap: wrap; height: 94px; .head-search{ + height: 32px; margin-right: 0 !important; margin-bottom: 10px !important; } diff --git a/src/views/collectReorganizi/batchConnection/index.vue b/src/views/collectReorganizi/batchConnection/index.vue index a473a07..ac5d314 100644 --- a/src/views/collectReorganizi/batchConnection/index.vue +++ b/src/views/collectReorganizi/batchConnection/index.vue @@ -44,7 +44,7 @@ diff --git a/src/views/collectReorganizi/batchConnection/module/form.vue b/src/views/collectReorganizi/batchConnection/module/form.vue index c143d2c..2d526cc 100644 --- a/src/views/collectReorganizi/batchConnection/module/form.vue +++ b/src/views/collectReorganizi/batchConnection/module/form.vue @@ -169,7 +169,7 @@ export default { }, handleComfired() { if (this.fileList.length === 0) { - this.$message.info('请先选择相关文件!') + this.$message({ message: '请先选择相关文件!', offset: 8 }) return false } @@ -195,14 +195,12 @@ export default { this.fileList, params ).then(res => { - console.log(res) if (res.data.code === 200) { - console.log(res.data.data) - this.$message.success('操作成功') - this.localHitchVisible = false + this.$message({ message: '操作成功', type: 'success', offset: 8 }) } else { - this.$message.error('上传附件失败!') + this.$message({ message: '上传附件失败', type: 'error', offset: 8 }) } + this.handleCancel() this.crud.refresh() }) } else { @@ -228,7 +226,7 @@ export default { selectFiled(val) { if (val) { if (this.hitchRemarkArray && this.hitchRemarkArray.includes('$' + val + '$')) { - this.$message.info('请注意当前选择的挂接字段,在挂接详情内已存在!') + this.$message({ message: '请注意当前选择的挂接字段,在挂接详情内已存在!', offset: 8 }) } else { const lastItemIndex = this.hitchRemarkArray.length - 1 const index = this.hitchRemarkArray.indexOf('*') diff --git a/src/views/collectReorganizi/collectionLibrary/anjuan/content.vue b/src/views/collectReorganizi/collectionLibrary/anjuan/content.vue index cf20c72..e9c876a 100644 --- a/src/views/collectReorganizi/collectionLibrary/anjuan/content.vue +++ b/src/views/collectReorganizi/collectionLibrary/anjuan/content.vue @@ -1,5 +1,5 @@