diff options
author | 2019-04-03 17:39:21 +0800 | |
---|---|---|
committer | 2019-04-03 17:39:33 +0800 | |
commit | 97c18e70d0d79dedc07118a2ceef20fc41d7ac48 (patch) | |
tree | b48aef528409f1ef572b9c47c09d641ae902da96 /usecaseui-portal/src/app/services/services-list/services-list.component.ts | |
parent | d5f7ee6e80bb55f2baf89ee5e669ef6829fd20fd (diff) |
Service instance lifecycle management
Change-Id: Ibdf6cc1da4a4cbb129e64132ba7abfdbb189e05c
Issue-ID: USECASEUI-218
Signed-off-by: guochuyicmri <guochuyi@chinamobile.com>
Diffstat (limited to 'usecaseui-portal/src/app/services/services-list/services-list.component.ts')
-rw-r--r-- | usecaseui-portal/src/app/services/services-list/services-list.component.ts | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/usecaseui-portal/src/app/services/services-list/services-list.component.ts b/usecaseui-portal/src/app/services/services-list/services-list.component.ts index ed724383..2ddf1cad 100644 --- a/usecaseui-portal/src/app/services/services-list/services-list.component.ts +++ b/usecaseui-portal/src/app/services/services-list/services-list.component.ts @@ -68,12 +68,18 @@ export class ServicesListComponent implements OnInit { ]; //The icon behind each row of data in the table expands - iconMoreShow(data){ - if(data.iconMore==false){ - data.iconMore=true; - }else { - data.iconMore=false; - } + iconMoreShow(data,tableData){ + tableData.map((its) => { + if(its["service-instance-id"]==data["service-instance-id"]){ + if(its["iconMore"]==false){ + data.iconMore=true; + }else if(its["iconMore"]==true) { + data.iconMore=false; + } + }else{ + its["iconMore"]=false; + } + }) } getallCustomers(){ console.log(this.listSortMasters); @@ -273,7 +279,7 @@ export class ServicesListComponent implements OnInit { item["tips"] = "Available"; item["statusClass"] = item["operationResult"]; } - // 2018.12.13日 + // 2018.12.13 else if(item["operationResult"]=="2002"){ //operationResult==2002 if(item["operationType"]=="1001"||item["operationType"]=="1002"){ // item["status"] = this.accordingState["operationResult"][item["operationResult"]]; |