From 15cf2eeaa23866abccc1ad72df6d636572dc420d Mon Sep 17 00:00:00 2001 From: 沈斌 <bluelazysb@hotmail.com> Date: Wed, 20 Dec 2017 11:15:25 +0800 Subject: [PATCH] updates --- src/app/routes/users/installer/installer.component.html | 11 ++++++----- 1 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/app/routes/users/installer/installer.component.html b/src/app/routes/users/installer/installer.component.html index 11daadb..8827729 100644 --- a/src/app/routes/users/installer/installer.component.html +++ b/src/app/routes/users/installer/installer.component.html @@ -6,7 +6,7 @@ <div nz-form-item class="d-flex"> <div nz-form-label><label for="u_name">������</label></div> <div nz-form-control class="flex-1"> - <nz-input [(ngModel)]="q.u_name" name="u_name" [nzSize]="'large'" [nzPlaceHolder]="'���������'" nzId="u_name"></nz-input> + <nz-input [(ngModel)]="q.u_name" name="u_name" [nzSize]="'large'" [nzPlaceHolder]="'���������������'" nzId="u_name"></nz-input> </div> </div> </div> @@ -14,7 +14,7 @@ <div nz-form-item class="d-flex"> <div nz-form-label><label for="u_mobile">������</label></div> <div nz-form-control class="flex-1"> - <nz-input [(ngModel)]="q.u_mobile" name="u_mobile" [nzSize]="'large'" [nzPlaceHolder]="'���������'" nzId="u_mobile"></nz-input> + <nz-input [(ngModel)]="q.u_mobile" name="u_mobile" [nzSize]="'large'" [nzPlaceHolder]="'���������������'" nzId="u_mobile"></nz-input> </div> </div> </div> @@ -40,13 +40,14 @@ </nz-alert> </div> <nz-table #nzTable - [nzAjaxData]="data" + [nzDataSource]="data" [nzLoading]="http.loading" [nzTotal]="total" [(nzPageIndex)]="q.pi" [nzPageSize]="q.ps" [nzShowTotal]="true" - (nzPageIndexChange)="load()"> + (nzPageIndexChange)="load()" + (nzDataChange)="dataChange($event)"> <thead nz-thead> <tr> <th nz-th [nzCheckbox]="true"> @@ -61,7 +62,7 @@ <th nz-th><span>������������</span></th> <th nz-th> <span>������������</span> - <nz-table-sort [(nzValue)]="sortMap.updatedAt" (nzValueChange)="sort('expireTime',$event)"></nz-table-sort> + <nz-table-sort [(nzValue)]="sortMap.updatedAt" (nzValueChange)="sort('expireTime', $event)"></nz-table-sort> </th> <th nz-th><span>������</span></th> </tr> -- Gitblit v1.8.0