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();
|
||||
is_sales_login:boolean = false
|
||||
common: any;
|
||||
roleID: string;
|
||||
roleID: any;
|
||||
errorMessage:any[]=[];
|
||||
flyHiData: any;
|
||||
recordStatus: boolean;
|
||||
|
||||
@ -28,6 +28,7 @@ import { MatVideoModule } from 'mat-video';
|
||||
import { AngularSplitModule } from 'angular-split';
|
||||
import { FormComponent } from './forms-dynamic/form/form.component';
|
||||
import { ImageVideoComponent } from './image-video/image-video.component';
|
||||
import { AnswerOptionCreateDialogComponent } from './forms-dynamic/answer-option-create-dialog/answer-option-create-dialog.component';
|
||||
|
||||
@NgModule({
|
||||
imports: [
|
||||
@ -81,7 +82,7 @@ import { ImageVideoComponent } from './image-video/image-video.component';
|
||||
MatVideoModule
|
||||
|
||||
],
|
||||
declarations:[StartPd2Component,DynamicFormComponent,DynamicQuestionTemplateComponent,FormComponent],
|
||||
declarations:[StartPd2Component,DynamicFormComponent,DynamicQuestionTemplateComponent,FormComponent,AnswerOptionCreateDialogComponent],
|
||||
exports:[StartPd2Component],
|
||||
entryComponents:[FlyHiListComponent,DynamicFormComponent,DynamicQuestionTemplateComponent,FormComponent],
|
||||
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[];
|
||||
alertMsgAllocateType : any[];
|
||||
alertCount: any;
|
||||
userRoleType: String;
|
||||
userRoleType: 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) {
|
||||
const browserLang: string = translate.getBrowserLang();
|
||||
|
||||
@ -80,7 +80,7 @@ export class QuesTemplateComponent {
|
||||
image_question_name:any =[]
|
||||
tmp_control: QuestionServiceService;
|
||||
tmp:any =[];
|
||||
roleID: string;
|
||||
roleID: any;
|
||||
pdstatus: string;
|
||||
local_city1: any;
|
||||
local_pincode1: any;
|
||||
|
||||
@ -154,8 +154,10 @@ export class Section1 {
|
||||
raw_data:any;
|
||||
section_local:number=1
|
||||
all_sections:any;
|
||||
role_id: any;
|
||||
|
||||
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;
|
||||
// if(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;
|
||||
section_local:number=2
|
||||
all_sections:any;
|
||||
role_id: any;
|
||||
|
||||
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')){
|
||||
// this.section_local=this.navParams.get('sec_no')
|
||||
// }
|
||||
@ -281,8 +285,10 @@ export class Section3 {
|
||||
raw_data:any;
|
||||
section_local:number=3
|
||||
all_sections:any;
|
||||
role_id: any;
|
||||
|
||||
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')){
|
||||
// this.section_local=this.navParams.get('sec_no')
|
||||
// }
|
||||
@ -343,8 +349,10 @@ export class Section4 {
|
||||
raw_data:any;
|
||||
section_local:number=4
|
||||
all_sections:any;
|
||||
role_id: any;
|
||||
|
||||
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')){
|
||||
// this.section_local=this.navParams.get('sec_no')
|
||||
// }
|
||||
@ -404,8 +412,10 @@ export class Section5 {
|
||||
raw_data:any;
|
||||
section_local:number=5
|
||||
all_sections:any;
|
||||
role_id: any;
|
||||
|
||||
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')){
|
||||
// this.section_local=this.navParams.get('sec_no')
|
||||
// }
|
||||
@ -466,8 +476,10 @@ export class Section6 {
|
||||
raw_data:any;
|
||||
section_local:number=6
|
||||
all_sections:any;
|
||||
role_id: any;
|
||||
|
||||
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')){
|
||||
// this.section_local=this.navParams.get('sec_no')
|
||||
// }
|
||||
@ -528,8 +540,10 @@ export class Section7 {
|
||||
section_local:number=7
|
||||
all_sections:any;
|
||||
private notifier: NotifierService;
|
||||
role_id: any;
|
||||
|
||||
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')){
|
||||
// this.section_local=this.navParams.get('sec_no')
|
||||
// }
|
||||
@ -604,8 +618,10 @@ export class Section8 {
|
||||
section_local:number=8
|
||||
all_sections:any;
|
||||
private notifier: NotifierService;
|
||||
role_id: any;
|
||||
|
||||
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')){
|
||||
// this.section_local=this.navParams.get('sec_no')
|
||||
// }
|
||||
@ -683,7 +699,7 @@ export class Section9 {
|
||||
all_sections:any;
|
||||
formGroupValue: any=null;
|
||||
sec_id: any;
|
||||
role_id: string;
|
||||
role_id: any;
|
||||
//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) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user