From 2744e1d3302265bb9a3140fae1e2cf89ec687e20 Mon Sep 17 00:00:00 2001
From: xuhuajiao <13476289682@163.com>
Date: Tue, 19 May 2026 17:29:07 +0800
Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E4=B8=8A=E4=BC=A0/=E9=AB=98?=
=?UTF-8?q?=E7=BA=A7=E7=AD=9B=E9=80=89?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../collectionLibrary/anjuan/tableList.vue | 19 +-
.../collectionLibrary/file/index.vue | 9 +-
.../collectionLibrary/juannei/index.vue | 9 +-
.../collectionLibrary/mixins/index.js | 3 +
.../module/advancedSearchModal.vue | 463 +++++++++++++
.../module/collectHeader.vue | 113 +++-
.../module/uploadOriginal/embedUpload.vue | 610 ++++++++++++++++++
.../collectionLibrary/project/index.vue | 9 +-
8 files changed, 1219 insertions(+), 16 deletions(-)
create mode 100644 src/views/collectReorganizi/collectionLibrary/module/advancedSearchModal.vue
create mode 100644 src/views/collectReorganizi/collectionLibrary/module/uploadOriginal/embedUpload.vue
diff --git a/src/views/collectReorganizi/collectionLibrary/anjuan/tableList.vue b/src/views/collectReorganizi/collectionLibrary/anjuan/tableList.vue
index 9d2be86..022db79 100644
--- a/src/views/collectReorganizi/collectionLibrary/anjuan/tableList.vue
+++ b/src/views/collectReorganizi/collectionLibrary/anjuan/tableList.vue
@@ -285,16 +285,6 @@ export default {
const field = prop || column.property
if (!field) return
- // 清除父组件 smartQuery 中选中的筛选条件(保留 fonds_no)
- // 使用 Vue.set 逐个修改属性,保持响应式追踪
- const smartQuery = this.parentsData.smartQuery
- this.$set(smartQuery, 'retention', null)
- this.$set(smartQuery, 'security_class', null)
- this.$set(smartQuery, 'doc_type', null)
- this.$set(smartQuery, 'medium_type', null)
- this.$set(smartQuery, 'archive_year', null)
- this.$set(smartQuery, 'organ_or_function', null)
-
// 循环切换排序
const current = this.sortMap[field]
if (!current) {
@@ -329,6 +319,15 @@ export default {
this.loadTableData()
},
loadTableData() {
+ // 从 localStorage 恢复高级检索条件
+ const savedSql = localStorage.getItem('advancedSearchSql')
+ console.log('savedSql', savedSql)
+ if (savedSql) {
+ this.query.condition = savedSql
+ } else {
+ this.query.condition = null
+ }
+
if (this.activeIndex === 1) {
this.getViewTableList(3, null, '')
} else {
diff --git a/src/views/collectReorganizi/collectionLibrary/file/index.vue b/src/views/collectReorganizi/collectionLibrary/file/index.vue
index 7045db1..5e82f05 100644
--- a/src/views/collectReorganizi/collectionLibrary/file/index.vue
+++ b/src/views/collectReorganizi/collectionLibrary/file/index.vue
@@ -10,7 +10,7 @@
:class="((selectedCategory.arrangeType === 2 && isAjNo === 0) || (selectedCategory.arrangeType === 3 && isAjNo === 1)) ? 'drawer2-modal' : (isAjNo === 1) ? 'drawer1-modal' : (selectedCategory.arrangeType === 1) ? 'drawer1-modal' : 'drawer3-modal'"
:size="((selectedCategory.arrangeType === 2 && isAjNo === 0) || (selectedCategory.arrangeType === 3 && isAjNo === 1)) ? '80%' : (isAjNo === 1) ? '90%' : (selectedCategory.arrangeType === 1) ? '90%' : '70%'"
>
-