| | |
| | | <pro-header [title]="'账户列表'"></pro-header> |
| | | <nz-card [nzBordered]="false"> |
| | | <form nz-form [nzLayout]="'inline'"> |
| | | <form nz-form (ngSubmit)="load(true)" [nzLayout]="'inline'"> |
| | | <div nz-row [nzGutter]="24"> |
| | | <div nz-col [nzSpan]="8" class="mb-md"> |
| | | <div nz-form-item class="d-flex"> |
| | |
| | | <label>是否删除</label> |
| | | </div> |
| | | <div nz-form-control class="flex-1"> |
| | | <nz-select [(ngModel)]="query.isDelete" name="isDelete" [nzSize]="'large'" > |
| | | <nz-select [(ngModel)]="query.isDelete" name="isDelete" [nzSize]="'large'"> |
| | | <nz-option *ngFor="let option of options" [nzLabel]="option.label" [nzValue]="option.value" ></nz-option> |
| | | </nz-select> |
| | | </nz-select> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | <i class="anticon anticon-plus"></i><span>新建</span> |
| | | </button> |
| | | <ng-container *ngIf="selectedRows.length > 0"> |
| | | <button nz-button [nzSize]="'large'" (click)="remove()">批量删除</button> |
| | | <button nz-button [nzSize]="'large'" (click)="remove()">批量删除</button> |
| | | </ng-container> |
| | | </div> |
| | | |
| | |
| | | <tbody nz-tbody> |
| | | <tr nz-tbody-tr *ngFor="let account of nzTable.data"> |
| | | <td nz-td [nzCheckbox]="true"> |
| | | <label nz-checkbox [(ngModel)]="account.checked" (ngModelChange)="refreshStatus($event)"></label> |
| | | <label nz-checkbox [(ngModel)]="account.checked" (ngModelChange)="refreshStatus($event)" [nzDisabled]="account.isDelete == '1'? true : false"></label> |
| | | </td> |
| | | <td nz-td>{{account.accountName}}</td> |
| | | <td nz-td>{{account.mobile}}</td> |