diff --git a/src/views/archivesManage/archivesList/index.vue b/src/views/archivesManage/archivesList/index.vue index cfdc4b4..3f2188e 100644 --- a/src/views/archivesManage/archivesList/index.vue +++ b/src/views/archivesManage/archivesList/index.vue @@ -483,7 +483,6 @@ export default { } setTimeout(() => { this.$refs.project.getTableList() - if (this.$refs.project.$refs.table.selection.length !== 0) { this.$refs.project.selections = this.$refs.project.$refs.table.selection this.$refs.anjuan.getTableList() @@ -491,7 +490,6 @@ export default { } else { this.$refs.anjuan.$refs.table.clearSelection() } - if (this.$refs.anjuan.$refs.table.selection.length !== 0) { this.$refs.anjuan.selections = this.$refs.anjuan.$refs.table.selection this.$refs.file.getTableList() @@ -505,7 +503,7 @@ export default { this.$refs.file.junneiData = [] this.$refs.file.juanneiTableHeight = '' } - }, 200) + }, 500) if (!this.treeCurrentNode) { this.getYear('project') } @@ -543,7 +541,7 @@ export default { this.$refs.file.junneiData = [] this.$refs.file.juanneiTableHeight = '' } - }, 200) + }, 500) if (!this.treeCurrentNode) { this.getYear('anjuan') } @@ -557,7 +555,7 @@ export default { this.$refs.file.getTableDisplayFields(2) setTimeout(() => { this.$refs.file.getTableList() - }, 200) + }, 500) if (!this.treeCurrentNode) { this.getYear('file') } @@ -572,7 +570,7 @@ export default { setTimeout(() => { this.$refs.anjuan.getTableList() this.$refs.anjuan.selections = this.$refs.anjuan.$refs.table.selection - }, 200) + }, 500) if (!this.treeCurrentNode) { this.getYear('anjuan') } diff --git a/src/views/archivesManage/archivesList/mixins/archives.js b/src/views/archivesManage/archivesList/mixins/archives.js index 3c47ee8..adda039 100644 --- a/src/views/archivesManage/archivesList/mixins/archives.js +++ b/src/views/archivesManage/archivesList/mixins/archives.js @@ -34,7 +34,7 @@ export const archivesCrud = { arcId: null, // 档案ID yearGroup: [], // 智能分类 - 年度 uploadFileVisible: false, // 上传附件 - isDesFormType: null + isDesFormType: null // 区分是门类得还是档案得 } }, // 组件共用方法