Commit 576adcab authored by frank.xa.zhang's avatar frank.xa.zhang

fixed shareholder structure -- frank

parent 39e13d81
...@@ -197,7 +197,7 @@ infrastructureModule.controller('organizationFullChartController', ['$scope', '$ ...@@ -197,7 +197,7 @@ infrastructureModule.controller('organizationFullChartController', ['$scope', '$
var exportStart = function (sender, options, svg) { var exportStart = function (sender, options, svg) {
var nodeId = options.options.nodeId; var nodeId = options.options.nodeId;
if(nodeId) { if (nodeId) {
var gArray = []; var gArray = [];
getGArray(nodeId, gArray); getGArray(nodeId, gArray);
$("svg>g").remove(); $("svg>g").remove();
...@@ -225,9 +225,6 @@ infrastructureModule.controller('organizationFullChartController', ['$scope', '$ ...@@ -225,9 +225,6 @@ infrastructureModule.controller('organizationFullChartController', ['$scope', '$
var initOrgChart = function () { var initOrgChart = function () {
orgHKService.getAllOrgTreeData().success(function (res) { orgHKService.getAllOrgTreeData().success(function (res) {
if (res && res.result) { if (res && res.result) {
// middleNode = _.find(res.data, function (node) {
// return node.isMiddleNode;
// });
console.log("res.data", res.data); console.log("res.data", res.data);
initOrgTree(res.data); initOrgTree(res.data);
nodesCotentValue = res.data; nodesCotentValue = res.data;
......
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