From 1bf1750a2c2cafdbd7413fe18d16915a7f71ff52 Mon Sep 17 00:00:00 2001
From: fengxiang <110431245@qq.com>
Date: Thu, 05 Jul 2018 11:54:46 +0800
Subject: [PATCH] 设备保存bug修复

---
 src/app/routes/systems/organization/organization-list/organization-list.component.html |   25 +++++++++++++++++++++----
 1 files changed, 21 insertions(+), 4 deletions(-)

diff --git a/src/app/routes/systems/organization/organization-list/organization-list.component.html b/src/app/routes/systems/organization/organization-list/organization-list.component.html
index ead90fe..0bb7324 100644
--- a/src/app/routes/systems/organization/organization-list/organization-list.component.html
+++ b/src/app/routes/systems/organization/organization-list/organization-list.component.html
@@ -1,10 +1,10 @@
 <nz-card [nzBordered]="false">
     	<div class="mb-md">
-                <button nz-button (click)="addOrModify()" [nzType]="'primary'" [nzSize]="'large'">
+                <button nz-button (click)="addOrModify($event)" [nzType]="'primary'" [nzSize]="'large'">
                     <i class="anticon anticon-plus"></i><span>������</span>
                 </button>
                 <ng-container *ngIf="grid.selectedIndexs.length > 0"> &nbsp;
-                <button nz-button [nzSize]="'large'" (click)="deleteSelected()">������������</button>
+                <button nz-button [nzSize]="'large'" (click)="deleteSelected($event)">������������</button>
                 </ng-container>
                 <nz-input [ngStyle]="{'width': '280px','float':'right'}" [(ngModel)]="queryMap.value" name=""  [nzPlaceHolder]="queryMap.text"
                 (keyup)="queryTextChanged($event)" (change)="queryTextChanged($event)" ></nz-input>
@@ -51,13 +51,30 @@
                         </span>
                     </td>
                     <td nz-td>
-                            <a (click)="config(row)">������</a>
-                            <span nz-table-divider></span>
                             <a (click)="addOrModify(row)">������</a>
                             <span nz-table-divider></span>
                               <nz-popconfirm [nzTitle]="'������������������'+grid.title+'���?'" [nzOkText]="'Yes'" [nzCancelText]="'No'" (nzOnConfirm)="delete(row.id)" >
                                 <a nz-popconfirm>������</a>
                               </nz-popconfirm>
+                            <span nz-table-divider></span>
+                            <a [routerLink]="['/systems/registration']" (click)="registration(row)">���������</a>
+                            <span nz-table-divider></span>
+                            <nz-dropdown>
+                                <a class="ant-dropdown-link" nz-dropdown>
+                                  ������ <i class="anticon anticon-down"></i>
+                                </a>
+                                <ul nz-menu>
+                                  <li nz-menu-item>
+                                        <a (click)="configAlarm(row)">������������������</a>
+                                  </li>
+                                  <li nz-menu-item>
+                                        <a (click)="configScreenLayout(row)">������������������</a>
+                                  </li>
+                                  <li nz-menu-item>
+                                        <a (click)="configShowUnit(row)">������������������</a>
+                                  </li>
+                                </ul>
+                              </nz-dropdown>
                      </td>
                 </tr>
               </tbody>

--
Gitblit v1.8.0