Commit 087044f6 authored by “lixuyan”'s avatar “lixuyan”

修改指令点击

parent 6b42dc0f
...@@ -365,6 +365,7 @@ export default { ...@@ -365,6 +365,7 @@ export default {
}, },
handleNodeExpanded(data, node) { handleNodeExpanded(data, node) {
if (node.level === 2) { if (node.level === 2) {
this.isCooperate = false
const _node = this.$refs.tree.getNode(data) const _node = this.$refs.tree.getNode(data)
_node.loaded = false _node.loaded = false
node.childNodes.splice(0, node.childNodes.length) node.childNodes.splice(0, node.childNodes.length)
...@@ -375,6 +376,7 @@ export default { ...@@ -375,6 +376,7 @@ export default {
if (node.level === 1) { if (node.level === 1) {
return resolve(node.data.children) return resolve(node.data.children)
} else if (node.level === 2) { } else if (node.level === 2) {
this.isCooperate = false
if (node.data) { if (node.data) {
node.data.joExecutePlanStateData = this.searchFormData.joExecutePlanStateData node.data.joExecutePlanStateData = this.searchFormData.joExecutePlanStateData
this.searchFormData = node.data this.searchFormData = node.data
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment