@ -25,6 +25,13 @@ export class RoleComponent implements OnInit {
private http: HttpClient,
private toTree: TreeService
) {}
levelList=[
{level:0,name:'无'},
{level:1,name:'销售公司'},
{level:2,name:'省公司'},
{level:3,name:'区域'},
{level:4,name:'油站'},
]
ngOnInit(): void {
this.getAllRoles();