|
|
|
@ -157,7 +157,7 @@ export class uploadQuestions {
|
|
|
|
|
defaultExpandedKeys = []; //展开指定的树节点 key值
|
|
|
|
|
defaultSelectedKeys = []; //指定选中的树节点 key值
|
|
|
|
|
renderData:any |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ngOnInit(): void { |
|
|
|
|
let data = JSON.parse(sessionStorage.getItem("消防设施"+sessionStorage.getItem('paperId'))) |
|
|
|
|
data ? data.forEach(item => { |
|
|
|
@ -167,12 +167,13 @@ export class uploadQuestions {
|
|
|
|
|
}) :null |
|
|
|
|
this.renderData = data |
|
|
|
|
this.getProfiles() |
|
|
|
|
this.nodeInit() |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
//获取登录账号的个人资料
|
|
|
|
|
Profiles:any
|
|
|
|
|
getProfiles(){ |
|
|
|
|
this.http.get('/api/ExamAccounts/Profiles').subscribe(data => { |
|
|
|
|
console.log(data) |
|
|
|
|
this.Profiles = data |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|