From f320f1970e5d80a423f377fb3253628bd1e7f5bf Mon Sep 17 00:00:00 2001
From: 沈斌 <bluelazysb@hotmail.com>
Date: Thu, 08 Mar 2018 15:10:46 +0800
Subject: [PATCH] Merge branch 'develop' of ssh://121.40.92.176:29418/screen-frontend into develop

---
 src/app/routes/users/installer/installer.component.html |   21 +++++++++------------
 1 files changed, 9 insertions(+), 12 deletions(-)

diff --git a/src/app/routes/users/installer/installer.component.html b/src/app/routes/users/installer/installer.component.html
index 8827729..9f6c4ab 100644
--- a/src/app/routes/users/installer/installer.component.html
+++ b/src/app/routes/users/installer/installer.component.html
@@ -12,7 +12,7 @@
       </div>
       <div nz-col [nzSpan]="8" class="mb-md">
         <div nz-form-item class="d-flex">
-          <div nz-form-label><label for="u_mobile">������</label></div>
+          <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>
           </div>
@@ -20,7 +20,7 @@
       </div>
       <div nz-col [nzSpan]="8" class="mb-md">
         <button nz-button type="submit" [nzType]="'primary'" [nzLoading]="loading" [nzSize]="'large'">������</button>
-        <button nz-button type="reset" (click)="load(true)" [nzSize]="'large'" class="mx-sm">������</button>
+        <button nz-button type="reset" [nzSize]="'large'" class="mx-sm">������</button>
       </div>
     </div>
   </form>
@@ -40,29 +40,27 @@
     </nz-alert>
   </div>
   <nz-table #nzTable
-            [nzDataSource]="data"
-            [nzLoading]="http.loading"
+            [nzAjaxData]="data"
+            [nzLoading]="loading"
             [nzTotal]="total"
             [(nzPageIndex)]="q.pi"
             [nzPageSize]="q.ps"
             [nzShowTotal]="true"
-            (nzPageIndexChange)="load()"
-            (nzDataChange)="dataChange($event)">
+            (nzPageIndexChange)="load()">
     <thead nz-thead>
     <tr>
       <th nz-th [nzCheckbox]="true">
         <label nz-checkbox [(ngModel)]="allChecked" [nzIndeterminate]="indeterminate" (ngModelChange)="checkAll($event)"></label>
       </th>
       <th nz-th><span>������</span></th>
-      <th nz-th><span>������</span></th>
+      <th nz-th><span>������/������</span></th>
       <th nz-th><span>������������</span></th>
       <th nz-th><span>���������</span></th>
-      <th nz-th><span>������</span></th>
       <th nz-th><span>������</span></th>
       <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('expire_time', $event)"></nz-table-sort>
       </th>
       <th nz-th><span>������</span></th>
     </tr>
@@ -77,10 +75,9 @@
       <td nz-td>{{i.mobile}}</td>
       <td nz-td>{{i.email}}</td>
       <td nz-td>{{i.weixin}}</td>
-      <td nz-td>{{i.password}}</td>
       <td nz-td>{{i.organizationId}}</td>
-      <td nz-td>{{i.createTime | _date}}</td>
-      <td nz-td>{{i.expireTime | _date}}</td>
+      <td nz-td>{{format_date(i.createTime)}}</td>
+      <td nz-td>{{format_date(i.expireTime)}}</td>
       <td nz-td>
         <a (click)="edit(i)">������</a>
         <span nz-table-divider></span>

--
Gitblit v1.8.0