diff options
author | Luji7 <lu.ji3@zte.com.cn> | 2017-10-18 15:02:59 +0800 |
---|---|---|
committer | Luji7 <lu.ji3@zte.com.cn> | 2017-10-18 15:03:05 +0800 |
commit | 26027657f8d16762a91dda610bb50162c751c3df (patch) | |
tree | b0bfc057e4b38174f7d3ee0e7e5d4074a81309dc /usecaseui-lcm/src/main/webapp/app/uui/fusion/scripts/controller/lcmController.js | |
parent | 167920a5d3f8673744c2d6519989ef2709238181 (diff) |
Fix service template is empty.
Change-Id: I0d1d8dfe687e95de16429d7ff3ef5fdda8fc39e4
Issue-id: USECASEUI-36
Signed-off-by: Luji7 <lu.ji3@zte.com.cn>
Diffstat (limited to 'usecaseui-lcm/src/main/webapp/app/uui/fusion/scripts/controller/lcmController.js')
-rw-r--r-- | usecaseui-lcm/src/main/webapp/app/uui/fusion/scripts/controller/lcmController.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usecaseui-lcm/src/main/webapp/app/uui/fusion/scripts/controller/lcmController.js b/usecaseui-lcm/src/main/webapp/app/uui/fusion/scripts/controller/lcmController.js index e2db747a..3f67584d 100644 --- a/usecaseui-lcm/src/main/webapp/app/uui/fusion/scripts/controller/lcmController.js +++ b/usecaseui-lcm/src/main/webapp/app/uui/fusion/scripts/controller/lcmController.js @@ -110,7 +110,9 @@ app.controller('lcmCtrl', ['$scope', '$uibModal', '$log', '$http', '$timeout', ' function($scope, $uibModalInstance, ServiceTemplateService, customer, serviceType) { var ctrl = this; - ctrl.templates = ServiceTemplateService.getAllServiceTemplates(); + ctrl.templates = ServiceTemplateService.getAllServiceTemplates(function (t) { + ctrl.templates = t; + }); ctrl.changeInput = function (serviceTemplate) { var paras = serviceTemplate.inputs.map(function (input) { |