Browse Source

档案管理-智能分类单选操作

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

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

@ -351,15 +351,15 @@ export default {
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
this.treeCurrentNode = ele.$el this.treeCurrentNode = ele.$el
this.smartQuery = {
'archiveYear': null,
'department': null,
'retention': null,
'securityClass': null,
'organizationMatter': null
}
if (ele.$el.classList.contains('is-current')) { if (ele.$el.classList.contains('is-current')) {
this.treeCurrentNode.classList.remove('is-current') this.treeCurrentNode.classList.remove('is-current')
this.smartQuery = {
'archiveYear': null,
'department': null,
'retention': null,
'securityClass': null,
'organizationMatter': null
}
} else { } else {
this.treeCurrentNode.classList.add('is-current') this.treeCurrentNode.classList.add('is-current')
switch (selectedParentVal) { switch (selectedParentVal) {

Loading…
Cancel
Save