flyhi changes
This commit is contained in:
parent
b8d610a050
commit
7bd177f374
BIN
ng6-seed/SalesPd_PWA_FlyHi(01-07-2022)Testing.zip
Normal file
BIN
ng6-seed/SalesPd_PWA_FlyHi(01-07-2022)Testing.zip
Normal file
Binary file not shown.
@ -18,7 +18,7 @@ export class FlyHiListComponent implements OnInit {
|
|||||||
public dataSourceTab4 = new MatTableDataSource();
|
public dataSourceTab4 = new MatTableDataSource();
|
||||||
is_sales_login:boolean = false
|
is_sales_login:boolean = false
|
||||||
common: any;
|
common: any;
|
||||||
roleID: string;
|
roleID: any;
|
||||||
errorMessage:any[]=[];
|
errorMessage:any[]=[];
|
||||||
flyHiData: any;
|
flyHiData: any;
|
||||||
recordStatus: boolean;
|
recordStatus: boolean;
|
||||||
|
|||||||
@ -28,6 +28,7 @@ import { MatVideoModule } from 'mat-video';
|
|||||||
import { AngularSplitModule } from 'angular-split';
|
import { AngularSplitModule } from 'angular-split';
|
||||||
import { FormComponent } from './forms-dynamic/form/form.component';
|
import { FormComponent } from './forms-dynamic/form/form.component';
|
||||||
import { ImageVideoComponent } from './image-video/image-video.component';
|
import { ImageVideoComponent } from './image-video/image-video.component';
|
||||||
|
import { AnswerOptionCreateDialogComponent } from './forms-dynamic/answer-option-create-dialog/answer-option-create-dialog.component';
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
imports: [
|
||||||
@ -81,7 +82,7 @@ import { ImageVideoComponent } from './image-video/image-video.component';
|
|||||||
MatVideoModule
|
MatVideoModule
|
||||||
|
|
||||||
],
|
],
|
||||||
declarations:[StartPd2Component,DynamicFormComponent,DynamicQuestionTemplateComponent,FormComponent],
|
declarations:[StartPd2Component,DynamicFormComponent,DynamicQuestionTemplateComponent,FormComponent,AnswerOptionCreateDialogComponent],
|
||||||
exports:[StartPd2Component],
|
exports:[StartPd2Component],
|
||||||
entryComponents:[FlyHiListComponent,DynamicFormComponent,DynamicQuestionTemplateComponent,FormComponent],
|
entryComponents:[FlyHiListComponent,DynamicFormComponent,DynamicQuestionTemplateComponent,FormComponent],
|
||||||
providers:[ConstantsProvider,{ provide: MAT_DATE_LOCALE, useValue: 'en-GB' },{provide: DateAdapter, useClass: MomentDateAdapter, deps: [MAT_DATE_LOCALE]},
|
providers:[ConstantsProvider,{ provide: MAT_DATE_LOCALE, useValue: 'en-GB' },{provide: DateAdapter, useClass: MomentDateAdapter, deps: [MAT_DATE_LOCALE]},
|
||||||
|
|||||||
@ -53,7 +53,7 @@ export class AdminLayoutComponent implements OnInit, OnDestroy {
|
|||||||
alertMsgTriggerType : any[];
|
alertMsgTriggerType : any[];
|
||||||
alertMsgAllocateType : any[];
|
alertMsgAllocateType : any[];
|
||||||
alertCount: any;
|
alertCount: any;
|
||||||
userRoleType: String;
|
userRoleType: any;
|
||||||
userDetails: any;
|
userDetails: any;
|
||||||
constructor(private router: Router, public menuItems: MenuItems, public horizontalMenuItems : HorizontalMenuItems, public translate: TranslateService,public aws:AwsService,public users:UserService,private _dashboardService: DashboardService) {
|
constructor(private router: Router, public menuItems: MenuItems, public horizontalMenuItems : HorizontalMenuItems, public translate: TranslateService,public aws:AwsService,public users:UserService,private _dashboardService: DashboardService) {
|
||||||
const browserLang: string = translate.getBrowserLang();
|
const browserLang: string = translate.getBrowserLang();
|
||||||
|
|||||||
@ -80,7 +80,7 @@ export class QuesTemplateComponent {
|
|||||||
image_question_name:any =[]
|
image_question_name:any =[]
|
||||||
tmp_control: QuestionServiceService;
|
tmp_control: QuestionServiceService;
|
||||||
tmp:any =[];
|
tmp:any =[];
|
||||||
roleID: string;
|
roleID: any;
|
||||||
pdstatus: string;
|
pdstatus: string;
|
||||||
local_city1: any;
|
local_city1: any;
|
||||||
local_pincode1: any;
|
local_pincode1: any;
|
||||||
|
|||||||
@ -154,8 +154,10 @@ export class Section1 {
|
|||||||
raw_data:any;
|
raw_data:any;
|
||||||
section_local:number=1
|
section_local:number=1
|
||||||
all_sections:any;
|
all_sections:any;
|
||||||
|
role_id: any;
|
||||||
|
|
||||||
constructor(private dialog:MatDialog,notifier: NotifierService,private route: ActivatedRoute, private router: Router,private salesPDService:SalesPdService) {
|
constructor(private dialog:MatDialog,notifier: NotifierService,private route: ActivatedRoute, private router: Router,private salesPDService:SalesPdService) {
|
||||||
|
this.role_id = localStorage.getItem('user_role')
|
||||||
// let product_id;
|
// let product_id;
|
||||||
// if(this.route.snapshot.params['product_id']){
|
// if(this.route.snapshot.params['product_id']){
|
||||||
let product_id = this.route.snapshot.params['product_id'];
|
let product_id = this.route.snapshot.params['product_id'];
|
||||||
@ -233,8 +235,10 @@ export class Section2 {
|
|||||||
raw_data:any;
|
raw_data:any;
|
||||||
section_local:number=2
|
section_local:number=2
|
||||||
all_sections:any;
|
all_sections:any;
|
||||||
|
role_id: any;
|
||||||
|
|
||||||
constructor(private dialog:MatDialog,notifier: NotifierService,private route: ActivatedRoute, private router: Router,private salesPDService:SalesPdService) {
|
constructor(private dialog:MatDialog,notifier: NotifierService,private route: ActivatedRoute, private router: Router,private salesPDService:SalesPdService) {
|
||||||
|
this.role_id = localStorage.getItem('user_role')
|
||||||
// if(this.navParams.get('sec_no')){
|
// if(this.navParams.get('sec_no')){
|
||||||
// this.section_local=this.navParams.get('sec_no')
|
// this.section_local=this.navParams.get('sec_no')
|
||||||
// }
|
// }
|
||||||
@ -281,8 +285,10 @@ export class Section3 {
|
|||||||
raw_data:any;
|
raw_data:any;
|
||||||
section_local:number=3
|
section_local:number=3
|
||||||
all_sections:any;
|
all_sections:any;
|
||||||
|
role_id: any;
|
||||||
|
|
||||||
constructor(private dialog:MatDialog,notifier: NotifierService,private route: ActivatedRoute, private router: Router,private salesPDService:SalesPdService) {
|
constructor(private dialog:MatDialog,notifier: NotifierService,private route: ActivatedRoute, private router: Router,private salesPDService:SalesPdService) {
|
||||||
|
this.role_id = localStorage.getItem('user_role')
|
||||||
// if(this.navParams.get('sec_no')){
|
// if(this.navParams.get('sec_no')){
|
||||||
// this.section_local=this.navParams.get('sec_no')
|
// this.section_local=this.navParams.get('sec_no')
|
||||||
// }
|
// }
|
||||||
@ -343,8 +349,10 @@ export class Section4 {
|
|||||||
raw_data:any;
|
raw_data:any;
|
||||||
section_local:number=4
|
section_local:number=4
|
||||||
all_sections:any;
|
all_sections:any;
|
||||||
|
role_id: any;
|
||||||
|
|
||||||
constructor(private dialog:MatDialog,notifier: NotifierService,private route: ActivatedRoute, private router: Router,private salesPDService:SalesPdService) {
|
constructor(private dialog:MatDialog,notifier: NotifierService,private route: ActivatedRoute, private router: Router,private salesPDService:SalesPdService) {
|
||||||
|
this.role_id = localStorage.getItem('user_role')
|
||||||
// if(this.navParams.get('sec_no')){
|
// if(this.navParams.get('sec_no')){
|
||||||
// this.section_local=this.navParams.get('sec_no')
|
// this.section_local=this.navParams.get('sec_no')
|
||||||
// }
|
// }
|
||||||
@ -404,8 +412,10 @@ export class Section5 {
|
|||||||
raw_data:any;
|
raw_data:any;
|
||||||
section_local:number=5
|
section_local:number=5
|
||||||
all_sections:any;
|
all_sections:any;
|
||||||
|
role_id: any;
|
||||||
|
|
||||||
constructor(private dialog:MatDialog,notifier: NotifierService,private route: ActivatedRoute, private router: Router,private salesPDService:SalesPdService) {
|
constructor(private dialog:MatDialog,notifier: NotifierService,private route: ActivatedRoute, private router: Router,private salesPDService:SalesPdService) {
|
||||||
|
this.role_id = localStorage.getItem('user_role')
|
||||||
// if(this.navParams.get('sec_no')){
|
// if(this.navParams.get('sec_no')){
|
||||||
// this.section_local=this.navParams.get('sec_no')
|
// this.section_local=this.navParams.get('sec_no')
|
||||||
// }
|
// }
|
||||||
@ -466,8 +476,10 @@ export class Section6 {
|
|||||||
raw_data:any;
|
raw_data:any;
|
||||||
section_local:number=6
|
section_local:number=6
|
||||||
all_sections:any;
|
all_sections:any;
|
||||||
|
role_id: any;
|
||||||
|
|
||||||
constructor(private dialog:MatDialog,notifier: NotifierService,private route: ActivatedRoute, private router: Router,private salesPDService:SalesPdService) {
|
constructor(private dialog:MatDialog,notifier: NotifierService,private route: ActivatedRoute, private router: Router,private salesPDService:SalesPdService) {
|
||||||
|
this.role_id = localStorage.getItem('user_role')
|
||||||
// if(this.navParams.get('sec_no')){
|
// if(this.navParams.get('sec_no')){
|
||||||
// this.section_local=this.navParams.get('sec_no')
|
// this.section_local=this.navParams.get('sec_no')
|
||||||
// }
|
// }
|
||||||
@ -528,8 +540,10 @@ export class Section7 {
|
|||||||
section_local:number=7
|
section_local:number=7
|
||||||
all_sections:any;
|
all_sections:any;
|
||||||
private notifier: NotifierService;
|
private notifier: NotifierService;
|
||||||
|
role_id: any;
|
||||||
|
|
||||||
constructor(private dialog:MatDialog,notifier: NotifierService,private route: ActivatedRoute, private router: Router,private salesPDService:SalesPdService) {
|
constructor(private dialog:MatDialog,notifier: NotifierService,private route: ActivatedRoute, private router: Router,private salesPDService:SalesPdService) {
|
||||||
|
this.role_id = localStorage.getItem('user_role')
|
||||||
// if(this.navParams.get('sec_no')){
|
// if(this.navParams.get('sec_no')){
|
||||||
// this.section_local=this.navParams.get('sec_no')
|
// this.section_local=this.navParams.get('sec_no')
|
||||||
// }
|
// }
|
||||||
@ -604,8 +618,10 @@ export class Section8 {
|
|||||||
section_local:number=8
|
section_local:number=8
|
||||||
all_sections:any;
|
all_sections:any;
|
||||||
private notifier: NotifierService;
|
private notifier: NotifierService;
|
||||||
|
role_id: any;
|
||||||
|
|
||||||
constructor(private dialog:MatDialog,notifier: NotifierService,private route: ActivatedRoute, private router: Router,private salesPDService:SalesPdService) {
|
constructor(private dialog:MatDialog,notifier: NotifierService,private route: ActivatedRoute, private router: Router,private salesPDService:SalesPdService) {
|
||||||
|
this.role_id = localStorage.getItem('user_role')
|
||||||
// if(this.navParams.get('sec_no')){
|
// if(this.navParams.get('sec_no')){
|
||||||
// this.section_local=this.navParams.get('sec_no')
|
// this.section_local=this.navParams.get('sec_no')
|
||||||
// }
|
// }
|
||||||
@ -683,7 +699,7 @@ export class Section9 {
|
|||||||
all_sections:any;
|
all_sections:any;
|
||||||
formGroupValue: any=null;
|
formGroupValue: any=null;
|
||||||
sec_id: any;
|
sec_id: any;
|
||||||
role_id: string;
|
role_id: any;
|
||||||
//network_status: ConnectionStatus
|
//network_status: ConnectionStatus
|
||||||
|
|
||||||
constructor(public dialogRef: MatDialogRef<SectionListComponent>,notifier: NotifierService,private route: ActivatedRoute,private router: Router,private dialog: MatDialog,private MatDialogModule:MatDialogModule,@Inject(MAT_DIALOG_DATA) public data: any) {
|
constructor(public dialogRef: MatDialogRef<SectionListComponent>,notifier: NotifierService,private route: ActivatedRoute,private router: Router,private dialog: MatDialog,private MatDialogModule:MatDialogModule,@Inject(MAT_DIALOG_DATA) public data: any) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user