         return this.$message.error('获取权限列表失败！')
                }
                var data = res.data.list
                this.groupTree = listToTree(data)//父级分类列表,过滤自身
                this.sysPermissionList = listToTree(data)

                console.log(res)
            },
            //获取指定的权限标识
            getPermissionType(typeName) {
                if (typeName === '分组') {
                    return 'primary'
                }

           