|  |  |  | 
|---|
|  |  |  | <p> | 
|---|
|  |  |  | basic-info works! | 
|---|
|  |  |  | </p> | 
|---|
|  |  |  | <div class="content__title"> | 
|---|
|  |  |  | <h1> | 
|---|
|  |  |  | 设备配置 | 
|---|
|  |  |  | <small>包含设备的查询、编辑、删除、配置等功能</small> | 
|---|
|  |  |  | </h1> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <nz-card [nzBordered]="false"> | 
|---|
|  |  |  | <div class="mb-md"> | 
|---|
|  |  |  | <button nz-button (click)="addOrModify($event)" [nzType]="'primary'" [nzSize]="'large'"> | 
|---|
|  |  |  | <i class="anticon anticon-plus"></i><span>新建</span> | 
|---|
|  |  |  | </button> | 
|---|
|  |  |  | <ng-container *ngIf="selectedRows.length > 0">   | 
|---|
|  |  |  | <button nz-button [nzSize]="'large'" (click)="deleteSelected()">批量删除</button> | 
|---|
|  |  |  | </ng-container> | 
|---|
|  |  |  | <nz-input [ngStyle]="{'width': '280px','float':'right'}" [(ngModel)]="queryText" name=""  [nzPlaceHolder]="'请输入名称或mac'" | 
|---|
|  |  |  | (keyup)="queryTextChanged($event)" (change)="queryTextChanged($event)" ></nz-input> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <div class="mb-md"> | 
|---|
|  |  |  | <nz-alert *ngIf="selectedRows.length > 0" [nzType]="'info'" [nzShowIcon]="true"> | 
|---|
|  |  |  | <span alert-body> | 
|---|
|  |  |  | 已选择<strong class="text-primary">{{selectedRows.length}}</strong>项 | 
|---|
|  |  |  | </span> | 
|---|
|  |  |  | </nz-alert> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <simple-table #simpleTable  [data]="listUrl" [extraParams]="extraParams"  [columns]="columns" [showTotal]="true" | 
|---|
|  |  |  | [reqReName]="{pi: 'pageIndex',ps: 'pageSize'}"  (checkboxChange)="checkboxChange($event)" [ps]="10" [resReName]="{list: 'data',total: 'total'}"></simple-table> | 
|---|
|  |  |  | </nz-card> | 
|---|