51 lines
1004 B
TypeScript
51 lines
1004 B
TypeScript
import { Component, OnInit } from '@angular/core';
|
|
|
|
@Component({
|
|
templateUrl: 'application.component.html'
|
|
})
|
|
|
|
export class ApplicationComponent implements OnInit {
|
|
show = false;
|
|
closed = false;
|
|
public myModal;
|
|
public myModalData;
|
|
applicationDetails: any;
|
|
constructor() { }
|
|
ngOnInit(){
|
|
this.applicationDetails = [
|
|
{
|
|
applicationId: '0001',
|
|
studentName: 'xyz',
|
|
fatherName: 'sss sss',
|
|
courseName: 'B.Com',
|
|
sem: '1',
|
|
status: '1'
|
|
},
|
|
{
|
|
applicationId: '0002',
|
|
studentName: 'xss',
|
|
fatherName: 'mmm mmm',
|
|
courseName: 'BE(CSE)',
|
|
sem: '5',
|
|
status: '1'
|
|
},
|
|
{
|
|
applicationId: '0003',
|
|
studentName: 'fys',
|
|
fatherName: 'sss vvv',
|
|
courseName: 'M.SC',
|
|
sem: '2',
|
|
status: '0'
|
|
}
|
|
]
|
|
}
|
|
|
|
getModelWindowDetails(stuCent) {
|
|
this.myModalData = stuCent||null;
|
|
}
|
|
editStudyCenter(){
|
|
this.show = !this.show;
|
|
}
|
|
|
|
}
|