|
|
|
@ -42,7 +42,7 @@ export class PlanAdjustmentComponent implements OnInit {
|
|
|
|
|
ngOnInit(): void { |
|
|
|
|
} |
|
|
|
|
aaa(data) { |
|
|
|
|
if(data.checked){ |
|
|
|
|
if(data.checked && !this.task){ |
|
|
|
|
this.list2.push({meu:this.list2.length,data}) |
|
|
|
|
console.log(this.list2); |
|
|
|
|
this.taskNumber=this.list2.length |
|
|
|
@ -60,6 +60,9 @@ export class PlanAdjustmentComponent implements OnInit {
|
|
|
|
|
if(e==this.list2[index].data){ |
|
|
|
|
this.list2.splice(this.list2[index].meu,1) |
|
|
|
|
this.taskNumber=this.list2.length |
|
|
|
|
if(this.taskNumber!=8){ |
|
|
|
|
this.task=false |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|