You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
62 lines
2.3 KiB
62 lines
2.3 KiB
9 months ago
|
<div class="userBox" id="userBox">
|
||
|
<div class="box">
|
||
|
<div class="topbox">
|
||
|
<div class="lefttop">
|
||
|
<span>中台组织机构列表</span>
|
||
|
<span><i nz-icon nzType="search"></i> {{listConfig.totalCount}}名用户</span>
|
||
|
</div>
|
||
|
<div class="righttop">
|
||
|
<label class="isBinding" nz-checkbox [(ngModel)]="listConfig.IsBindingLocal"
|
||
|
(ngModelChange)="submitForm()">是否绑定本地用户</label>
|
||
|
<form nz-form [formGroup]="validateForm" (ngSubmit)="submitForm()">
|
||
|
|
||
|
<nz-form-item>
|
||
|
<nz-form-control>
|
||
|
<nz-input-group nzPrefixIcon="search">
|
||
|
<input type="text" nz-input placeholder="请输入用户名" formControlName="search" />
|
||
|
</nz-input-group>
|
||
|
</nz-form-control>
|
||
|
<button style="display: none;" type="submit"></button>
|
||
|
</nz-form-item>
|
||
|
</form>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="tablebox" #tablebox>
|
||
|
<nz-table #basicTable [nzLoading]="listConfig.loading" [nzData]="listConfig.usersLIst" [nzShowPagination]='false'
|
||
|
[nzPageSize]='16'>
|
||
|
<thead>
|
||
|
<tr>
|
||
|
<th [width]="'5%'"></th>
|
||
|
<th>账号</th>
|
||
|
<th>账号id</th>
|
||
|
<th>绑定的本地用户id</th>
|
||
|
<th [width]="'8%'">备注</th>
|
||
|
<th [width]="'10%'">操作</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody>
|
||
|
<tr *ngFor="let data of basicTable.data">
|
||
|
<td><img src="../../../assets/images/user.png" alt=""></td>
|
||
|
<td>{{ data.loginName }}</td>
|
||
|
<td>{{ data.userId }}</td>
|
||
|
<td>
|
||
|
{{data.localUserId}}
|
||
|
</td>
|
||
|
<td>
|
||
|
{{data.detail}}
|
||
|
</td>
|
||
|
<td class="operation">
|
||
|
<span class="blueColor" (click)="binding(data)">绑定本地用户</span>
|
||
|
</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</nz-table>
|
||
|
</div>
|
||
|
<div class="pagination">
|
||
|
<nz-pagination [nzHideOnSinglePage]="false" [nzPageIndex]="1" [nzTotal]="listConfig.totalCount" [nzPageSize]="16"
|
||
|
[nzShowTotal]="totalTemplate" nzShowQuickJumper (nzPageIndexChange)="pageChange($event)">
|
||
|
</nz-pagination>
|
||
|
<ng-template #totalTemplate let-total> 16条/页,共{{listConfig.totalCount}}条 </ng-template>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|