Browse Source

档案管理选中状态修改

master
xuhuajiao 2 years ago
parent
commit
afcf7eff8b
  1. 7
      src/views/archivesManage/archivesList/index.vue

7
src/views/archivesManage/archivesList/index.vue

@ -225,6 +225,7 @@ export default {
// //
this.handleNodeClick(selectedKey) this.handleNodeClick(selectedKey)
localStorage.removeItem('noClick') localStorage.removeItem('noClick')
console.log('noClick2', localStorage.getItem('noClick'))
}) })
} }
this.getIntellClassify() this.getIntellClassify()
@ -246,6 +247,7 @@ export default {
} else { } else {
localStorage.setItem('noClick', true) localStorage.setItem('noClick', true)
} }
console.log('noClick', localStorage.getItem('noClick'))
// //
if (this.$refs.smartTree) { if (this.$refs.smartTree) {
this.treeCurrentNode = null this.treeCurrentNode = null
@ -450,9 +452,9 @@ export default {
if (this.$refs.anjuan) { if (this.$refs.anjuan) {
if (localStorage.getItem('noClick')) { if (localStorage.getItem('noClick')) {
this.$refs.anjuan.$refs.table.clearSelection() this.$refs.anjuan.$refs.table.clearSelection()
}
this.clearAnjuan() this.clearAnjuan()
} }
}
if (this.$refs.file) { if (this.$refs.file) {
if (localStorage.getItem('noClick')) { if (localStorage.getItem('noClick')) {
this.$refs.file.$refs.table.clearSelection() this.$refs.file.$refs.table.clearSelection()
@ -499,9 +501,8 @@ export default {
if (this.$refs.anjuan) { if (this.$refs.anjuan) {
if (localStorage.getItem('noClick')) { if (localStorage.getItem('noClick')) {
this.$refs.anjuan.$refs.table.clearSelection() this.$refs.anjuan.$refs.table.clearSelection()
this.clearAnjuan()
} }
this.$refs.anjuan.anjuanData = []
this.$refs.anjuan.anjuanTableHeight = ''
} }
if (this.$refs.file) { if (this.$refs.file) {
if (localStorage.getItem('noClick')) { if (localStorage.getItem('noClick')) {

Loading…
Cancel
Save