Browse Source

[完善]推送管理搜索

dev
邵佳豪 3 years ago
parent
commit
98b5791895
  1. 9
      src/app/system-management/push/push.component.ts

9
src/app/system-management/push/push.component.ts

@ -121,5 +121,14 @@ export class PushComponent implements OnInit {
this.validateForm.controls[i].markAsDirty();
this.validateForm.controls[i].updateValueAndValidity();
}
if(this.validateForm.value.search){
this.list = this.list.filter((item)=>{
return item.violationType.indexOf(this.validateForm.value.search) != -1
})
}else{
this.getViolation()
}
}
}

Loading…
Cancel
Save