|
|
|
@ -15,7 +15,7 @@ export class TaskComponent implements OnInit {
|
|
|
|
|
console.log(JSON.parse(sessionStorage.getItem('userData'))); |
|
|
|
|
|
|
|
|
|
this.level=JSON.parse(sessionStorage.getItem('userData')).organizationLevel |
|
|
|
|
let user=JSON.parse(sessionStorage.getItem('userData')).name |
|
|
|
|
let user=JSON.parse(sessionStorage.getItem('userData')).roles[0].name |
|
|
|
|
if(user.indexOf('检查') != -1){ |
|
|
|
|
this.user=true |
|
|
|
|
console.log(1); |
|
|
|
|