|
|
@ -21,7 +21,7 @@ export class UpdateLicenseListComponent implements OnInit { |
|
|
|
|
|
|
|
|
|
|
|
validateForm!: FormGroup; |
|
|
|
validateForm!: FormGroup; |
|
|
|
constructor(private modal: NzModalService, private viewContainerRef: ViewContainerRef, private element: ElementRef, private navChangeService: NavChangeService, private http: HttpClient, private toTree: TreeService, private fb: FormBuilder, private nzContextMenuService: NzContextMenuService, private router: Router, private message: NzMessageService) { } |
|
|
|
constructor(private modal: NzModalService, private viewContainerRef: ViewContainerRef, private element: ElementRef, private navChangeService: NavChangeService, private http: HttpClient, private toTree: TreeService, private fb: FormBuilder, private nzContextMenuService: NzContextMenuService, private router: Router, private message: NzMessageService) { } |
|
|
|
|
|
|
|
button=false |
|
|
|
tableScrollHeight |
|
|
|
tableScrollHeight |
|
|
|
tableScrollWeight |
|
|
|
tableScrollWeight |
|
|
|
resizeListener |
|
|
|
resizeListener |
|
|
@ -45,7 +45,7 @@ export class UpdateLicenseListComponent implements OnInit { |
|
|
|
this.tableSpin = true |
|
|
|
this.tableSpin = true |
|
|
|
await this.getAllOrganization() |
|
|
|
await this.getAllOrganization() |
|
|
|
this.getStationLicenses() |
|
|
|
this.getStationLicenses() |
|
|
|
|
|
|
|
this.returnLastMenus() |
|
|
|
} |
|
|
|
} |
|
|
|
ngOnDestroy(): void { |
|
|
|
ngOnDestroy(): void { |
|
|
|
this.resizeListener.unsubscribe() |
|
|
|
this.resizeListener.unsubscribe() |
|
|
@ -222,7 +222,16 @@ export class UpdateLicenseListComponent implements OnInit { |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
returnLastMenus() { |
|
|
|
|
|
|
|
let userMenu = JSON.parse(sessionStorage.getItem('userdata')).menus |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
for (let index = 0; index < userMenu.length; index++) { |
|
|
|
|
|
|
|
if (userMenu[index].parentId==9) { |
|
|
|
|
|
|
|
this.button=true |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
return |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
exportExcel() { |
|
|
|
exportExcel() { |
|
|
|
// console.log(this.validateForm)
|
|
|
|
// console.log(this.validateForm)
|
|
|
|