Browse Source

档案管理-智能分类筛选

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

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

@ -225,7 +225,6 @@ export default {
// //
this.handleNodeClick(selectedKey) this.handleNodeClick(selectedKey)
localStorage.removeItem('noClick') localStorage.removeItem('noClick')
console.log('noClick2', localStorage.getItem('noClick'))
}) })
} }
this.getIntellClassify() this.getIntellClassify()
@ -388,12 +387,15 @@ export default {
if (node.childNodes.length === 0) { if (node.childNodes.length === 0) {
if (this.$refs.project) { if (this.$refs.project) {
this.$refs.project.$refs.table.clearSelection() this.$refs.project.$refs.table.clearSelection()
this.clearProject()
} }
if (this.$refs.anjuan) { if (this.$refs.anjuan) {
this.$refs.anjuan.$refs.table.clearSelection() this.$refs.anjuan.$refs.table.clearSelection()
this.clearAnjuan()
} }
if (this.$refs.file) { if (this.$refs.file) {
this.$refs.file.$refs.table.clearSelection() this.$refs.file.$refs.table.clearSelection()
this.clearFile()
} }
const selectedKey = this.$refs.smartTree.getCurrentNode() const selectedKey = this.$refs.smartTree.getCurrentNode()
const selectedParentVal = this.$refs.smartTree.getNode(selectedKey).parent.data.dicCode 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() { clearAnjuan() {
if (this.$refs.anjuan) { if (this.$refs.anjuan) {
this.$refs.anjuan.anjuanData = [] this.$refs.anjuan.anjuanData = []

Loading…
Cancel
Save