主管部门'无'取消
parent
8bce57553c
commit
74bb85c7e2
|
@ -419,11 +419,6 @@ export default {
|
||||||
).then((data) => {
|
).then((data) => {
|
||||||
const treeData = this.listTransTree(JSON.parse(data.zTreeNodes), 'id', 'pId', 'nodes')
|
const treeData = this.listTransTree(JSON.parse(data.zTreeNodes), 'id', 'pId', 'nodes')
|
||||||
this.treeData = this.removeEmptyChildren(treeData)
|
this.treeData = this.removeEmptyChildren(treeData)
|
||||||
this.treeData.push({
|
|
||||||
id: '0',
|
|
||||||
name: '无',
|
|
||||||
nodes: []
|
|
||||||
})
|
|
||||||
}).catch((e) => {
|
}).catch((e) => {
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
|
@ -539,11 +539,6 @@ export default {
|
||||||
).then((data) => {
|
).then((data) => {
|
||||||
const treeData = this.listTransTree(JSON.parse(data.zTreeNodes), 'id', 'pId', 'nodes')
|
const treeData = this.listTransTree(JSON.parse(data.zTreeNodes), 'id', 'pId', 'nodes')
|
||||||
this.treeData = this.removeEmptyChildren(treeData)
|
this.treeData = this.removeEmptyChildren(treeData)
|
||||||
this.treeData.push({
|
|
||||||
id: '0',
|
|
||||||
name: '无',
|
|
||||||
nodes: []
|
|
||||||
})
|
|
||||||
console.log(this.treeData)
|
console.log(this.treeData)
|
||||||
}).catch((e) => {
|
}).catch((e) => {
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue