From 37942aefeb8986a97c0310a9fe3fe2d613519dab Mon Sep 17 00:00:00 2001
From: xufenglei <xufenglei>
Date: Tue, 31 Jul 2018 14:47:41 +0800
Subject: [PATCH] 风速单位调整

---
 src/app/routes/reports/query2/query2.component.html |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/app/routes/reports/query2/query2.component.html b/src/app/routes/reports/query2/query2.component.html
index 27e994a..69fbdeb 100644
--- a/src/app/routes/reports/query2/query2.component.html
+++ b/src/app/routes/reports/query2/query2.component.html
@@ -5,7 +5,7 @@
             <ng-template #extra>
                 <div class="sales-card-extra">
                     <div class="sales-type-radio">
-                        <nz-radio-group [(ngModel)]="sensorKey1" (ngModelChange)="changeSensorKey($event)" [nzSize]="'large'">
+                        <nz-radio-group [(ngModel)]="sensorKey" (ngModelChange)="changeSensorKey($event)" [nzSize]="'large'">
                             <label nz-radio-button [nzValue]="'e1'"><span>PM2.5</span></label>
                             <label nz-radio-button [nzValue]="'e2'"><span>PM10</span></label>
                             <label nz-radio-button [nzValue]="'e11'"><span>SO2</span></label>
@@ -19,13 +19,13 @@
             <ng-template #body>
                 <h4 class="margin:8px 0 32px 0;">������������������</h4>
 
-                <nz-table #keyTable [nzDataSource]="_dataSet" [nzPageSize]="5" nzSize="small">
+                <nz-table #keyTable [nzDataSource]="_dataSet" [nzPageSize]="5" nzSize="small" [nzLoading]="loading">
                     <thead nz-thead>
                     <tr>
                         <th nz-th><span>������</span></th>
                         <th nz-th><span>������������</span></th>
                         <th nz-th class="text-right">
-                            <span>������������ mg/m3</span>
+                            <span>������������ {{sensorKey == 'e10'?'mg/m3':'ug/m3'}}</span>
                             <nz-table-sort (nzValueChange)="sort('avg',$event)"></nz-table-sort>
                         </th>
                     </tr>

--
Gitblit v1.8.0