|
|
|
@ -21,7 +21,7 @@ export class UpdateLicenseListComponent implements OnInit {
|
|
|
|
|
|
|
|
|
|
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) { } |
|
|
|
|
|
|
|
|
|
button=false |
|
|
|
|
tableScrollHeight |
|
|
|
|
tableScrollWeight |
|
|
|
|
resizeListener |
|
|
|
@ -45,7 +45,7 @@ export class UpdateLicenseListComponent implements OnInit {
|
|
|
|
|
this.tableSpin = true |
|
|
|
|
await this.getAllOrganization() |
|
|
|
|
this.getStationLicenses() |
|
|
|
|
|
|
|
|
|
this.returnLastMenus() |
|
|
|
|
} |
|
|
|
|
ngOnDestroy(): void { |
|
|
|
|
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() { |
|
|
|
|
// console.log(this.validateForm)
|
|
|
|
|