|
|
|
@ -14,8 +14,9 @@
|
|
|
|
|
<span>组织机构</span> |
|
|
|
|
</div> |
|
|
|
|
<div class="treebox"> |
|
|
|
|
<nz-tree [nzSearchValue]="searchValue" #nzTreeComponent [nzData]="nodes" |
|
|
|
|
[nzExpandedKeys]="defaultExpandedKeys" [nzSelectedKeys]='nzSelectedKeys' (nzClick)="nzClick($event)" [nzExpandedIcon]="multiExpandedIconTpl" [nzHideUnMatched]="true"> |
|
|
|
|
<nz-tree [nzSearchValue]="searchValue" #nzTreeComponent [nzData]="nodes" [nzExpandedKeys]="defaultExpandedKeys" |
|
|
|
|
[nzSelectedKeys]='nzSelectedKeys' (nzClick)="nzClick($event)" [nzExpandedIcon]="multiExpandedIconTpl" |
|
|
|
|
[nzHideUnMatched]="true"> |
|
|
|
|
</nz-tree> |
|
|
|
|
<ng-template #multiExpandedIconTpl let-node let-origin="origin"> |
|
|
|
|
<ng-container *ngIf="node.children.length == 0; else elseTemplate"> |
|
|
|
@ -56,9 +57,10 @@
|
|
|
|
|
<th></th> |
|
|
|
|
<th>账号</th> |
|
|
|
|
<th>姓名</th> |
|
|
|
|
<th style="width:45%;">角色</th> |
|
|
|
|
<th [width]="'30%'">角色</th> |
|
|
|
|
<th>所属机构</th> |
|
|
|
|
<th>操作</th> |
|
|
|
|
<th>状态</th> |
|
|
|
|
<th [width]="'20%'">操作</th> |
|
|
|
|
</tr> |
|
|
|
|
</thead> |
|
|
|
|
<tbody> |
|
|
|
@ -70,15 +72,19 @@
|
|
|
|
|
<span style="margin-right: 8px;" *ngFor="let item of data.roleDisplayNames">{{item}}</span> |
|
|
|
|
</td> |
|
|
|
|
<td> |
|
|
|
|
<!-- <div class="ortype"> |
|
|
|
|
自营 |
|
|
|
|
</div> --> |
|
|
|
|
{{data.organizationName}} |
|
|
|
|
</td> |
|
|
|
|
<td> |
|
|
|
|
状态 |
|
|
|
|
</td> |
|
|
|
|
<td class="operation"> |
|
|
|
|
<a (click)="editUser(data)">编辑</a> |
|
|
|
|
<a (click)="resetPassword(data)">重置密码</a> |
|
|
|
|
<a (click)="delete(data)">删除</a> |
|
|
|
|
<a (click)="audit(data,true)">提交审核</a> |
|
|
|
|
<a (click)="audit(data,false)">撤销审核</a> |
|
|
|
|
<a class="redColor" (click)="cancel(data,true)">注销</a> |
|
|
|
|
<a class="greenColor2" (click)="cancel(data,false)">启用</a> |
|
|
|
|
<!-- <a (click)="delete(data)">删除</a> --> |
|
|
|
|
</td> |
|
|
|
|
</tr> |
|
|
|
|
</tbody> |
|
|
|
|