Commit f8265cf7 authored by “lixuyan”'s avatar “lixuyan”

修改协同工作

parent 73993bc7
...@@ -421,7 +421,8 @@ export default { ...@@ -421,7 +421,8 @@ export default {
positionId: node.data.id, positionId: node.data.id,
type: 'cooperate', type: 'cooperate',
serialNumber: '', serialNumber: '',
name: '协同办公' name: '协同办公',
id: 'cooperate'
}) })
res.items.forEach(element => { res.items.forEach(element => {
element.level = 3 element.level = 3
...@@ -456,6 +457,7 @@ export default { ...@@ -456,6 +457,7 @@ export default {
this.$refs.detailComCoo.$refs.asCom.getData(node) this.$refs.detailComCoo.$refs.asCom.getData(node)
} }
} }
console.log(node, 121212)
const pNode = this.$refs.tree.getNode(node).parent.data const pNode = this.$refs.tree.getNode(node).parent.data
this.$bus.$emit('getMissData', pNode) this.$bus.$emit('getMissData', pNode)
}) })
......
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