fengxiang
2018-07-04 7ca521e4267b987270f6ccbb9a6c076aeb467d96
src/app/routes/devices/monitor-point/monitor-point.component.html
@@ -1,14 +1,28 @@
<pro-header [title]="grid.title"></pro-header>
<nz-card [nzBordered]="false">
       <div class="mb-md">
    <div nz-row class="mb-sm">
               <div nz-col [nzSpan]="6">
                <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>
                </ng-container>
                <nz-input [ngStyle]="{'width': '280px','float':'right'}" [(ngModel)]="queryMap.value" name=""  [nzPlaceHolder]="queryMap.text"
                (keyup)="queryTextChanged($event)" (change)="queryTextChanged($event)" ></nz-input>
                </div>
                <div nz-col style="text-align:right;padding: 5px 10px;" [nzSm]="6" [nzXs]="24">
                    <label>组织:</label>
                </div>
                <div nz-col [nzSpan]="6">
                    <nz-select style="width: 90%;" [(ngModel)]="queryMap.organizationId" (ngModelChange)="setOrganizationId($event)" [nzPlaceHolder]="'选择 组织(输入名称搜索)'"
                      nzAllowClear [nzFilter]="false" nzShowSearch  (nzSearchChange)="orgSelectChange($event)" [nzNotFoundContent]="'无法找到'" >
                      <nz-option *ngFor="let option of orgOptions" [nzLabel]="option.name" [nzValue]="option.id" [nzDisabled]="option.disabled">
                      </nz-option>
                    </nz-select>
                </div>
                <div nz-col [nzSpan]="6">
                    <nz-input  [(ngModel)]="queryMap.mpointName" name=""  [nzPlaceHolder]="'请输入监控站名称'"
                    (keyup)="queryTextChanged($event)" (change)="queryTextChanged($event)" ></nz-input>
                </div>
        </div>
       <div class="mb-md">
                <nz-alert *ngIf="grid.selectedIndexs.length > 0" [nzType]="'info'" [nzShowIcon]="true">