diff options
author | 2019-09-09 17:20:46 +0800 | |
---|---|---|
committer | 2019-09-10 15:38:30 +0800 | |
commit | 11513d8eb65642758ee8dd794342b2f65daae482 (patch) | |
tree | 729ef131f77ab122d6482acc202c4b20cae673d5 /usecaseui-portal/src/app/shared/components/customer/customer.component.ts | |
parent | ed3a07f731f0c6f70234ca107ac46f44ec538faf (diff) |
feat:optimize the mock api json of customer page
Change-Id: Ia1892e198693ffb64aae54553e46d54c9afe1ead
Issue-ID: USECASEUI-307
Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
Diffstat (limited to 'usecaseui-portal/src/app/shared/components/customer/customer.component.ts')
-rw-r--r-- | usecaseui-portal/src/app/shared/components/customer/customer.component.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usecaseui-portal/src/app/shared/components/customer/customer.component.ts b/usecaseui-portal/src/app/shared/components/customer/customer.component.ts index a510e6db..17142d77 100644 --- a/usecaseui-portal/src/app/shared/components/customer/customer.component.ts +++ b/usecaseui-portal/src/app/shared/components/customer/customer.component.ts @@ -436,7 +436,7 @@ export class CustomerComponent implements OnInit { if (data["status"] == 'SUCCESS') { let params = { customerId: thisdeleteCustomer.id, - version: data["result"]["resource-version"] + resourceVersion: data["result"]["resource-version"] }; this.deleteCustomer(params, notificationModel); } else { @@ -444,8 +444,8 @@ export class CustomerComponent implements OnInit { } }) } - deleteCustomer(params, notificationModel) { - this.managemencs.deleteSelectCustomer(params).subscribe((data) => { + deleteCustomer(paramsObj, notificationModel) { + this.managemencs.deleteSelectCustomer(paramsObj).subscribe((data) => { if (data["status"] == 'SUCCESS') { this.notificationSuccess(notificationModel); this.getAllCustomers(); |