|
@@ -24491,7 +24491,7 @@ define(['toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
|
|
|
/**
|
|
/**
|
|
|
* 树结构
|
|
* 树结构
|
|
|
*/
|
|
*/
|
|
|
- app.controller('treeController', function($scope, $location){
|
|
|
|
|
|
|
+ app.controller('treeController', ['$scope', '$location', function($scope, $location){
|
|
|
$scope.roleList = [
|
|
$scope.roleList = [
|
|
|
{ "roleName" : "卖家中心(销售)", "roleId" : "role1", 'path': 'sale', level: 0, collapsed: true, "children" : [
|
|
{ "roleName" : "卖家中心(销售)", "roleId" : "role1", 'path': 'sale', level: 0, collapsed: true, "children" : [
|
|
|
{ "roleName" : "商务管理", "roleId" : "role1-1", collapsed: true, "children" : [
|
|
{ "roleName" : "商务管理", "roleId" : "role1-1", collapsed: true, "children" : [
|
|
@@ -24642,6 +24642,6 @@ define(['toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
|
|
|
})
|
|
})
|
|
|
}
|
|
}
|
|
|
}, false);
|
|
}, false);
|
|
|
- })
|
|
|
|
|
|
|
+ }])
|
|
|
return app;
|
|
return app;
|
|
|
});
|
|
});
|