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%'"
>
-