diff --git a/src/app/system-management/algorithm-config/algorithm-config.component.html b/src/app/system-management/algorithm-config/algorithm-config.component.html index 128e28c..507eb5d 100644 --- a/src/app/system-management/algorithm-config/algorithm-config.component.html +++ b/src/app/system-management/algorithm-config/algorithm-config.component.html @@ -26,7 +26,7 @@ - + @@ -85,8 +85,9 @@ diff --git a/src/app/system-management/algorithm-config/algorithm-config.component.ts b/src/app/system-management/algorithm-config/algorithm-config.component.ts index a4bad7d..f2e90b9 100644 --- a/src/app/system-management/algorithm-config/algorithm-config.component.ts +++ b/src/app/system-management/algorithm-config/algorithm-config.component.ts @@ -113,6 +113,8 @@ export class AlgorithmConfigComponent implements OnInit { nzClick(event: NzFormatEmitEvent): void { console.log(event.node.origin); this.selectedOrId = event.node.origin.id; + this.SkipCount = 0 + this.nzPageIndex = 1 this.getStationViolationConfigList(); } @@ -156,6 +158,7 @@ export class AlgorithmConfigComponent implements OnInit { }); } + nzPageIndex = 1 pageChange($event) { console.log($event); this.SkipCount = ($event - 1) * this.MaxResultCount;