|
@ -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 = [] |
|
|