job history
This commit is contained in:
@@ -7,6 +7,9 @@ import { IonicModule } from '@ionic/angular';
|
||||
import { HistoryPageRoutingModule } from './history-routing.module';
|
||||
|
||||
import { HistoryPage } from './history.page';
|
||||
import {
|
||||
HistoryCompletedJobsComponent
|
||||
} from "../../components/history/history-completed-jobs/history-completed-jobs.component";
|
||||
|
||||
@NgModule({
|
||||
imports: [
|
||||
@@ -15,6 +18,6 @@ import { HistoryPage } from './history.page';
|
||||
IonicModule,
|
||||
HistoryPageRoutingModule
|
||||
],
|
||||
declarations: [HistoryPage]
|
||||
declarations: [HistoryPage,HistoryCompletedJobsComponent]
|
||||
})
|
||||
export class HistoryPageModule {}
|
||||
|
||||
@@ -36,11 +36,12 @@
|
||||
</ion-col>
|
||||
</ion-row>
|
||||
</ion-grid>
|
||||
|
||||
<app-history-completed-jobs *ngIf="current_report==='COMPLETED_JOBS';"></app-history-completed-jobs>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</ion-content>
|
||||
|
||||
@@ -21,8 +21,11 @@ historyTypes:any=[];
|
||||
this.historyTypes= this.sessionDataProviderService.history_types;
|
||||
}
|
||||
|
||||
current_report:string = '';
|
||||
refreshReport(){
|
||||
this.current_report = this.slected_report_type;
|
||||
|
||||
//alert(this.slected_report_type);
|
||||
}
|
||||
ngOnInit() {
|
||||
}
|
||||
|
||||
@@ -153,6 +153,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</ion-content>
|
||||
|
||||
Reference in New Issue
Block a user