You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
import { Component, OnInit ,Inject,ViewChild} from '@angular/core';
|
|
|
|
import { CacheTokenService } from '../http-interceptors/cache-token.service'//引入服务
|
|
|
|
import { HttpClient,HttpHeaders } from '@angular/common/http';
|
|
|
|
import { FormControl } from '@angular/forms';
|
|
|
|
import { MatDialog, MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';
|
|
|
|
import { MatSnackBar, MatSnackBarConfig } from '@angular/material/snack-bar';
|
|
|
|
import { IsLoginService } from '../is-login.service'
|
|
|
|
import { ComponentServiceService } from '../component-service.service';
|
|
|
|
import { Router,ActivatedRoute } from '@angular/router'
|
|
|
|
@Component({
|
|
|
|
selector: 'app-navigation',
|
|
|
|
templateUrl: './navigation.component.html',
|
|
|
|
styleUrls: ['./navigation.component.scss']
|
|
|
|
})
|
|
|
|
export class NavigationComponent implements OnInit {
|
|
|
|
|
|
|
|
constructor(private router:Router,public emitService: ComponentServiceService,public navmenus:CacheTokenService,private http: HttpClient,public dialog: MatDialog,public snackBar: MatSnackBar,public islogin:IsLoginService) { }
|
|
|
|
|
|
|
|
roleType = sessionStorage.getItem('roleType')
|
|
|
|
ngOnInit() {}
|
|
|
|
|
|
|
|
}
|