return{
expandTable:{},
}
getOrgTree () {
this.$Request.get('api/groups/tree', {}).then(res => {
console.log(res);
if (res && res.code === 0) {
if (Array.isArray(res.data)) {
this.orgTree = res.data.map(org => this.mapTree(org));
// this.orgTree.push({
// title: '无',
// label: '无',
// value: 0,
// })
}
}
});
},
mapTree (org) {
const