From 27cd36be226ca2434f06b1ae9e4d43f1fea639ab Mon Sep 17 00:00:00 2001
From: fengxiang <110431245@qq.com>
Date: Mon, 25 Jun 2018 16:40:28 +0800
Subject: [PATCH] 组织配置单位和页面显示
---
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">
- <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