<i [ngClass]="{'cannotclick':data.status == 'In Progress'}" class="anticon anticon-delete"
(click)="deleteModel(data)"></i>
<i [ngClass]="{'cannotclick':data.status == 'In Progress'}" class="anticon anticon-ellipsis"
- (click)="iconMoreShow(data)" style="transform: rotate(90deg);"></i>
+ (click)="iconMoreShow(data,tableData)" style="transform: rotate(90deg);"></i>
<ul *ngIf="data.iconMore==true " class="icon-more">
<li>
}
.nsColor{
background:linear-gradient(135deg,rgba(252,167,91,1) 0%,rgba(253,203,106,1) 100%);
+ border-radius:4px;
}
.ccvpnColor{
background:linear-gradient(135deg,rgba(81,113,251,1) 0%,rgba(201,123,254,1) 100%);
+ border-radius:4px;
}
.sotnColor{
background:linear-gradient(133deg,rgba(24,179,170,1) 0%,rgba(70,216,178,1) 100%);
+ border-radius:4px;
}
.voLTEColor{
background:#0AD251;
];
//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);
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"]];