Commit dc5356cf authored by frank.xa.zhang's avatar frank.xa.zhang

fixed shareholder structure -- frank

parent 230a2b7e
...@@ -203,7 +203,7 @@ ...@@ -203,7 +203,7 @@
SweetAlert.success($translate.instant('SaveSuccess')); SweetAlert.success($translate.instant('SaveSuccess'));
$scope.selectOrganization(branch); // $scope.selectOrganization(branch);
}); });
}; };
...@@ -262,7 +262,7 @@ ...@@ -262,7 +262,7 @@
var org = branch.data; var org = branch.data;
$scope.output = "You selected: " + org.id; $scope.output = "You selected: " + org.id;
var suborgList = getSubOrgList(branch); // var suborgList = getSubOrgList(branch);
$scope.selectedOrgID = org.id; $scope.selectedOrgID = org.id;
// 选中事件 // 选中事件
orgHKService.getSingleOrg(org.id).success(function (data) { orgHKService.getSingleOrg(org.id).success(function (data) {
...@@ -653,6 +653,13 @@ ...@@ -653,6 +653,13 @@
$scope.orgDirectorsDatasource = org.orgDirectorDtos; $scope.orgDirectorsDatasource = org.orgDirectorDtos;
getEventsOfCurrentEntity(); getEventsOfCurrentEntity();
$(".detail-info").css("display", "block"); $(".detail-info").css("display", "block");
//change tree selected
var selectOrg = _.find($scope.orgList, function (item) {
return item.data.id === org.id;
});
$scope.my_tree.select_branch(selectOrg);
}; };
$scope.showAll = function () { $scope.showAll = function () {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment