|
|
|
@ -1,4 +1,40 @@
|
|
|
|
|
<div class="userBox" id="userBox"> |
|
|
|
|
<div class="orbox"> |
|
|
|
|
<div class="topbox2"> |
|
|
|
|
<div class="lefttop"> |
|
|
|
|
<span>组织机构列表</span> |
|
|
|
|
</div> |
|
|
|
|
<div class="righttop"> |
|
|
|
|
<nz-input-group nzPrefixIcon="search"> |
|
|
|
|
<input type="text" nz-input placeholder="请输入机构名称" [(ngModel)]="searchValue" /> |
|
|
|
|
</nz-input-group> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="treeTitle"> |
|
|
|
|
<span>组织机构</span> |
|
|
|
|
</div> |
|
|
|
|
<div class="treebox"> |
|
|
|
|
<nz-tree [nzSearchValue]="searchValue" #nzTreeComponent [nzData]="nodes" [nzExpandAll]="nzExpandAll" |
|
|
|
|
[nzExpandedKeys]="defaultExpandedKeys" [nzSelectedKeys]='nzSelectedKeys' (nzClick)="nzClick($event)" |
|
|
|
|
[nzTreeTemplate]="nzTreeTemplate" [nzExpandedIcon]="multiExpandedIconTpl"> |
|
|
|
|
</nz-tree> |
|
|
|
|
<ng-template #nzTreeTemplate let-node let-origin="origin"> |
|
|
|
|
<div class="nodebox"> |
|
|
|
|
<span class="name">{{ node.title }}</span> |
|
|
|
|
</div> |
|
|
|
|
</ng-template> |
|
|
|
|
<ng-template #multiExpandedIconTpl let-node let-origin="origin"> |
|
|
|
|
<ng-container *ngIf="node.children.length == 0; else elseTemplate"> |
|
|
|
|
|
|
|
|
|
</ng-container> |
|
|
|
|
<ng-template #elseTemplate> |
|
|
|
|
<i nz-icon [nzType]="node.isExpanded ? 'caret-down' : 'caret-right'" class="ant-tree-switcher-line-icon"></i> |
|
|
|
|
</ng-template> |
|
|
|
|
</ng-template> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
<div class="box"> |
|
|
|
|
<div class="topbox"> |
|
|
|
|
<div class="lefttop"> |
|
|
|
|
<span>用户列表</span> |
|
|
|
@ -60,4 +96,5 @@
|
|
|
|
|
</nz-pagination> |
|
|
|
|
<ng-template #totalTemplate let-total> 16条/页,共{{usersNum}}条 </ng-template> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |