diff --git a/src/views/archivesManage/archivesList/index.vue b/src/views/archivesManage/archivesList/index.vue index ba5ab46..23fe822 100644 --- a/src/views/archivesManage/archivesList/index.vue +++ b/src/views/archivesManage/archivesList/index.vue @@ -225,7 +225,6 @@ export default { // 选中节点的门类详情 this.handleNodeClick(selectedKey) localStorage.removeItem('noClick') - console.log('noClick2', localStorage.getItem('noClick')) }) } this.getIntellClassify() @@ -388,12 +387,15 @@ export default { if (node.childNodes.length === 0) { if (this.$refs.project) { this.$refs.project.$refs.table.clearSelection() + this.clearProject() } if (this.$refs.anjuan) { this.$refs.anjuan.$refs.table.clearSelection() + this.clearAnjuan() } if (this.$refs.file) { this.$refs.file.$refs.table.clearSelection() + this.clearFile() } const selectedKey = this.$refs.smartTree.getCurrentNode() const selectedParentVal = this.$refs.smartTree.getNode(selectedKey).parent.data.dicCode @@ -565,6 +567,17 @@ export default { }) } }, + clearProject() { + if (this.$refs.project) { + this.$refs.project.projectData = [] + this.$refs.project.projectTableHeight = '' + this.$refs.project.page = { + page: 1, + size: 10, + total: 0 + } + } + }, clearAnjuan() { if (this.$refs.anjuan) { this.$refs.anjuan.anjuanData = []