|
@@ -164,7 +164,7 @@ export class CompManageComponent implements OnInit {
|
|
|
constructor(
|
|
|
public router: Router,
|
|
|
public tbookSer: textbookServer,
|
|
|
- public textbook: textbookServer,
|
|
|
+ // public textbook: textbookServer,
|
|
|
iconRegistry: MatIconRegistry,
|
|
|
sanitizer: DomSanitizer,
|
|
|
private http: HttpClient
|
|
@@ -176,7 +176,7 @@ export class CompManageComponent implements OnInit {
|
|
|
}
|
|
|
|
|
|
ngOnInit() {
|
|
|
- console.log(this.tbookSer.profile.identity);
|
|
|
+ console.log(this.tbookSer?.profile);
|
|
|
if (this.tbookSer.profile.identity == '工作联系人' && this.tbookSer.profile.user?.department?.branch == '出版单位') {
|
|
|
this.optionsMap['工作联系人'][0].child.push({
|
|
|
name: '本社教材源文件',
|