From 4156fed8a32e81a61b706b8a17876f7a1fdcabb7 Mon Sep 17 00:00:00 2001
From: xufenglei <xufenglei>
Date: Wed, 27 Dec 2017 15:45:16 +0800
Subject: [PATCH] 安装 用户更新

---
 src/app/routes/systems/account/account.component.html |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/app/routes/systems/account/account.component.html b/src/app/routes/systems/account/account.component.html
index 8c84cc4..09d86a2 100644
--- a/src/app/routes/systems/account/account.component.html
+++ b/src/app/routes/systems/account/account.component.html
@@ -1,6 +1,6 @@
 <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">
@@ -28,9 +28,9 @@
 						<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>
@@ -47,7 +47,7 @@
 			<i class="anticon anticon-plus"></i><span>������</span>
 		</button>
 		<ng-container *ngIf="selectedRows.length > 0"> &nbsp;
-		<button nz-button [nzSize]="'large'" (click)="remove()">������������</button>
+			<button nz-button [nzSize]="'large'" (click)="remove()">������������</button>
 		</ng-container>
 	</div>
 
@@ -89,7 +89,7 @@
 		<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>

--
Gitblit v1.8.0