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