主管部门可以选无
parent
14a067c473
commit
38bc28dbe6
|
@ -484,6 +484,11 @@ export default {
|
|||
).then((data) => {
|
||||
const treeData = this.listTransTree(JSON.parse(data.zTreeNodes), 'id', 'pId', 'nodes')
|
||||
this.treeDataSupervise = this.removeEmptyChildren(treeData)
|
||||
this.treeData.push({
|
||||
id: '0',
|
||||
name: '无',
|
||||
nodes: []
|
||||
})
|
||||
}).catch((e) => {
|
||||
})
|
||||
|
||||
|
|
|
@ -539,6 +539,11 @@ export default {
|
|||
).then((data) => {
|
||||
const treeData = this.listTransTree(JSON.parse(data.zTreeNodes), 'id', 'pId', 'nodes')
|
||||
this.treeData = this.removeEmptyChildren(treeData)
|
||||
this.treeData.push({
|
||||
id: '0',
|
||||
name: '无',
|
||||
nodes: []
|
||||
})
|
||||
console.log(this.treeData)
|
||||
}).catch((e) => {
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue