From eb682f96604cc1ca435baf417495f18cffc1c3a8 Mon Sep 17 00:00:00 2001 From: xuhuajiao <13476289682@163.com> Date: Mon, 29 Aug 2022 09:28:47 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A1=A3=E6=A1=88=E7=AE=A1=E7=90=86-=E6=99=BA?= =?UTF-8?q?=E8=83=BD=E5=88=86=E7=B1=BB=E7=AD=9B=E9=80=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/archivesManage/archivesList/index.vue | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) 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 = []