From a439eed077c3a157ed3b9096cf8e793671fe8cdf Mon Sep 17 00:00:00 2001 From: xufenglei <xufenglei> Date: Thu, 22 Mar 2018 11:40:03 +0800 Subject: [PATCH] 报表 优化 --- src/app/routes/reports/demo/demo.component.html | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/routes/reports/demo/demo.component.html b/src/app/routes/reports/demo/demo.component.html index f988a34..77ce44b 100644 --- a/src/app/routes/reports/demo/demo.component.html +++ b/src/app/routes/reports/demo/demo.component.html @@ -8,8 +8,8 @@ <label> ��� ���</label> </div> <div nz-form-control class="flex-1"> - <nz-select [nzMode]="'multiple'" [(ngModel)]="query.sensorKey" name="sensorKey" [nzSize]="'large'" [nzPlaceHolder]="'���������'" nzAllowClear> - <nz-option *ngFor="let option of sensorOptions" [nzLabel]="option.name" [nzValue]="option.sensorKey" ></nz-option> + <nz-select [nzMode]="'multiple'" [(ngModel)]="query.sensorKey" name="sensorKey" [nzSize]="'large'" [nzPlaceHolder]="'���������'"> + <nz-option *ngFor="let option of sensorOptions" [nzLabel]="option.name" [nzValue]="option"></nz-option> </nz-select> </div> </div> @@ -71,7 +71,7 @@ </div> <div nz-form-control class="flex-1"> <nz-select [(ngModel)]="item.mac" name="mac{{item.id}}" [nzSize]="'large'" nzAllowClear [nzPlaceHolder]="'���������'" (ngModelChange)="deviceChange($event,i)"> - <nz-option *ngFor="let option of deviceOptions" [nzLabel]="option.name" [nzValue]="option.mac" ></nz-option> + <nz-option *ngFor="let option of item.deviceOptions" [nzLabel]="option.name" [nzValue]="option.mac" ></nz-option> </nz-select> </div> </div> -- Gitblit v1.8.0