| | |
| | | <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> |
| | |
| | | </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> |