|
@@ -391,14 +391,11 @@
|
|
|
[nzColor]="'#efefef'"
|
|
|
>{{ userDataJson.companyType }}</nz-tag
|
|
|
>
|
|
|
- @for (item of userDataJson.node; track $index) {
|
|
|
- @if($index > 0){
|
|
|
- /<nz-tag [nzBordered]="false" [nzColor]="'geekblue'">{{
|
|
|
- item.title
|
|
|
- }}</nz-tag>
|
|
|
- }
|
|
|
- }
|
|
|
- }@else { 待选择 }
|
|
|
+ @for (item of userDataJson.node; track $index) { @if($index > 0){
|
|
|
+ /<nz-tag [nzBordered]="false" [nzColor]="'geekblue'">{{
|
|
|
+ item.title
|
|
|
+ }}</nz-tag>
|
|
|
+ } } }@else { 待选择 }
|
|
|
</div>
|
|
|
<!-- <div class="title">所属组织部门</div>
|
|
|
<div class="fill-template">
|
|
@@ -432,6 +429,16 @@
|
|
|
</div>
|
|
|
</div> -->
|
|
|
</nz-tab>
|
|
|
+ @if(tbookSer.profile.identity == '国家级管理员'){
|
|
|
+ <nz-tab nzTitle="用户教材">
|
|
|
+ @if(user?.id){
|
|
|
+ <app-textbook
|
|
|
+ [filterObj]="submitTextBook"
|
|
|
+ [uid]="user?.id"
|
|
|
+ ></app-textbook>
|
|
|
+ }
|
|
|
+ </nz-tab>
|
|
|
+ })
|
|
|
</nz-tabset>
|
|
|
</div>
|
|
|
|
|
@@ -502,22 +509,22 @@
|
|
|
</div> -->
|
|
|
<div class="tree">
|
|
|
@if(parentList.length > 0){ @for (data of parentList; track $index)
|
|
|
- {
|
|
|
- <div class="li" (click)="onCheckedDepart(data)">
|
|
|
- <label
|
|
|
- nz-radio
|
|
|
- [ngModel]="data.key == radio"
|
|
|
- [nzValue]="data.key"
|
|
|
- (click)="onCheckedDepart(data, true)"
|
|
|
- >{{ data.title }}</label
|
|
|
- >
|
|
|
- @if (!data.isLeaf) {
|
|
|
- <span nz-icon nzType="right" nzTheme="outline"></span>
|
|
|
- }
|
|
|
- </div>
|
|
|
- } }@else {
|
|
|
- <nz-empty nzNotFoundContent="暂无下级部门"></nz-empty>
|
|
|
+ {
|
|
|
+ <div class="li" (click)="onCheckedDepart(data)">
|
|
|
+ <label
|
|
|
+ nz-radio
|
|
|
+ [ngModel]="data.key == radio"
|
|
|
+ [nzValue]="data.key"
|
|
|
+ (click)="onCheckedDepart(data, true)"
|
|
|
+ >{{ data.title }}</label
|
|
|
+ >
|
|
|
+ @if (!data.isLeaf) {
|
|
|
+ <span nz-icon nzType="right" nzTheme="outline"></span>
|
|
|
}
|
|
|
+ </div>
|
|
|
+ } }@else {
|
|
|
+ <nz-empty nzNotFoundContent="暂无下级部门"></nz-empty>
|
|
|
+ }
|
|
|
<!-- @for (data of parentList; track $index) {
|
|
|
<div class="li" (click)="onCheckedDepart(data)">
|
|
|
<label
|