Commit 447a87c0 authored by Open Source Developer's avatar Open Source Developer

transfer

parent 436b8659
......@@ -70,7 +70,7 @@ class CreateDemoData extends ControllerBase {
$epaluserid = \Drupal::currentUser()->id();
for ($i = 1; $i <= 1100; $i++) {
for ($i = 1; $i <= 10000; $i++) {
//srand($this->make_seed());
//$curclass = rand(1,3);
......
import { Component, OnInit, OnDestroy,ElementRef, ViewChild} from "@angular/core";
import { Injectable } from "@angular/core";
import { AppSettings } from '../../app.settings';
import { HelperDataService } from '../../services/helper-data-service';
import {Observable} from "rxjs/Observable";
import {Http, Headers, RequestOptions} from '@angular/http';
import {Removetags} from '../../pipes/removehtmltags';
import { IAppState } from '../../store/store';
import {Router, ActivatedRoute, Params} from '@angular/router';
import { BehaviorSubject, Subscription } from 'rxjs/Rx';
@Component({
selector: 'director-view',
template: `
a;wsdlk;QK;QKWd;qwk;
`
})
@Injectable() export default class DirectorView implements OnInit , OnDestroy{
private StudentSelected$: BehaviorSubject<any>;
private StudentSelectedSub: Subscription;
constructor(private _hds: HelperDataService,
private activatedRoute: ActivatedRoute,
private router: Router )
{
this.StudentSelected$ = new BehaviorSubject([{}]);
}
ngOnDestroy()
{
if (this.StudentSelectedSub)
this.StudentSelectedSub.unsubscribe();
}
ngOnInit() {
}
}
\ No newline at end of file
......@@ -55,7 +55,7 @@ import { BehaviorSubject, Subscription } from 'rxjs/Rx';
this.SubmitedUsersSub.unsubscribe();
}
ngOnInit() {
......@@ -66,9 +66,6 @@ import { BehaviorSubject, Subscription } from 'rxjs/Rx';
}
studentpreview(StudentId)
{
this.router.navigate(['/submited-person', {'id':StudentId}]);
......
......@@ -19,6 +19,7 @@ import SchoolsOrderSelect from '../components/student-application-form/schools-o
import ApplicationSubmit from '../components/student-application-form/application.submit';
import SubmitedPreview from '../components/student-application-form/submited.aplication.preview';
import SubmitedPerson from '../components/student-application-form/submitedstudent.preview';
import DirectorView from '../components/director/director-view';
export const MainRoutes: Routes = [
{ path: '', component: Home },
......@@ -35,6 +36,7 @@ export const MainRoutes: Routes = [
{ path: 'application-submit', component: ApplicationSubmit },
{ path: 'submited-preview', component: SubmitedPreview },
{ path: 'submited-person', component: SubmitedPerson },
{ path: 'director-view', component: DirectorView },
];
export const MainDeclarations = [
......@@ -53,5 +55,6 @@ export const MainDeclarations = [
SchoolsOrderSelect,
ApplicationSubmit,
SubmitedPreview,
SubmitedPerson
SubmitedPerson,
DirectorView
];
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment