From 222b694609771d3f037b9098270f10d4b78d7b19 Mon Sep 17 00:00:00 2001
From: 沈斌 <bluelazysb@hotmail.com>
Date: Mon, 18 Dec 2017 16:50:17 +0800
Subject: [PATCH] updates

---
 src/app/routes/users/installer/installer.component.html |   19 ++++---------------
 1 files changed, 4 insertions(+), 15 deletions(-)

diff --git a/src/app/routes/users/installer/installer.component.html b/src/app/routes/users/installer/installer.component.html
index bb5ba55..0f5ba69 100644
--- a/src/app/routes/users/installer/installer.component.html
+++ b/src/app/routes/users/installer/installer.component.html
@@ -29,28 +29,17 @@
       <i class="anticon anticon-plus"></i><span>������</span>
     </button>
     <ng-container *ngIf="selectedRows.length > 0">
-      <button nz-button [nzSize]="'large'">������������</button>
-      <nz-dropdown [nzPlacement]="'bottomLeft'">
-        <button nz-button nz-dropdown [nzSize]="'large'">
-          ������������ <i class="anticon anticon-down"></i>
-        </button>
-        <ul nz-menu>
-          <li nz-menu-item (click)="remove()">������</li>
-          <li nz-menu-item (click)="approval()">������������</li>
-        </ul>
-      </nz-dropdown>
+      &nbsp;<button nz-button [nzSize]="'large'" (click)="remove()">������������</button>
     </ng-container>
   </div>
   <div class="mb-md">
     <nz-alert [nzType]="'info'" [nzShowIcon]="true">
         <span alert-body>
-            ��������� <strong class="text-primary">{{selectedRows.length}}</strong> ���&nbsp;&nbsp;
-            ������������������ <strong>{{totalCallNo}}</strong> ���
-            <a *ngIf="totalCallNo > 0" (click)="clear()" class="ml-lg">������</a>
+            ��������� <strong class="text-primary">{{selectedRows.length}}</strong> ���
         </span>
     </nz-alert>
   </div>
-  <nz-table #nzTable [nzDataSource]="data" [nzPageSize]="q.ps" [nzLoading]="loading" (nzDataChange)="dataChange($event)" (nzPageIndexChange)="pageChange($event)">
+  <nz-table #nzTable [nzDataSource]="data" [nzPageSize]="q.ps" [nzLoading]="loading" (nzDataChange)="dataChange($event)" (nzPageIndexChange)="pageChange($event)" [nzShowTotal]="true">
     <thead nz-thead>
     <tr>
       <th nz-th [nzCheckbox]="true">
@@ -74,7 +63,7 @@
     <tbody nz-tbody>
     <tr nz-tbody-tr *ngFor="let i of nzTable.data">
       <td nz-td [nzCheckbox]="true">
-        <label nz-checkbox [nzDisabled]="i.disabled" [(ngModel)]="i.checked" (ngModelChange)="refreshStatus($event)">
+        <label nz-checkbox [(ngModel)]="i.checked" (ngModelChange)="refreshStatus($event)">
         </label>
       </td>
       <td nz-td>{{i.name}}</td>

--
Gitblit v1.8.0