diff options
author | 2017-11-14 17:19:31 +0800 | |
---|---|---|
committer | 2017-11-14 17:20:18 +0800 | |
commit | e65cfcdec756fc4a1b82191bc4e927984272dfae (patch) | |
tree | 2d50e6d27d38ff550ede529d08000ee06b2412bb /usecaseui-lcm/src/main/webapp/app/uui/fusion/scripts/controller/ServiceTemplateService.js | |
parent | 05c280ba974ead95e29d367a21ab781a1cfb657e (diff) |
Fix delete service issue.
Change-Id: I9f387e5e1d31e1341820b18d99154fa9bf081ec8
Issue-id: USECASEUI-55
Signed-off-by: Luji7 <lu.ji3@zte.com.cn>
Diffstat (limited to 'usecaseui-lcm/src/main/webapp/app/uui/fusion/scripts/controller/ServiceTemplateService.js')
-rw-r--r-- | usecaseui-lcm/src/main/webapp/app/uui/fusion/scripts/controller/ServiceTemplateService.js | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/usecaseui-lcm/src/main/webapp/app/uui/fusion/scripts/controller/ServiceTemplateService.js b/usecaseui-lcm/src/main/webapp/app/uui/fusion/scripts/controller/ServiceTemplateService.js index 79e62c02..f78f7ce0 100644 --- a/usecaseui-lcm/src/main/webapp/app/uui/fusion/scripts/controller/ServiceTemplateService.js +++ b/usecaseui-lcm/src/main/webapp/app/uui/fusion/scripts/controller/ServiceTemplateService.js @@ -220,11 +220,15 @@ }); }, - deleteService: function (serviceId, successFun) { + deleteService: function (serviceId, customer, serviceType, successFun) { + var requestBody = { + globalSubscriberId: customer.id, + serviceType: serviceType.value + }; return $http({ url: url+'/services/' + serviceId, method: 'DELETE', - data: null, + data: JSON.stringify(requestBody), headers: uuiHeaders }).then(function(response){ console.log('delete response...'); |