diff options
author | zhangab <zhanganbing@chinamobile.com> | 2018-11-05 16:29:07 +0800 |
---|---|---|
committer | zhangab <zhanganbing@chinamobile.com> | 2018-11-05 16:30:02 +0800 |
commit | ee80382f7574fa459808da8e7f9ad410b5e8de22 (patch) | |
tree | 113b36733000eb379417a4b50c0369313ef7981e /usecaseui-portal/src/app/alarm/alarm.component.html | |
parent | a9c61e99f395e091b8f16ac5861a50b5148e9033 (diff) |
Fix VNF Alarm Query Bugs
Change-Id: I70c8d6761bd940b1e07983ef123b98a1cd79dccd
Issue-ID: USECASEUI-166
Signed-off-by: zhangab <zhanganbing@chinamobile.com>
Diffstat (limited to 'usecaseui-portal/src/app/alarm/alarm.component.html')
-rw-r--r-- | usecaseui-portal/src/app/alarm/alarm.component.html | 28 |
1 files changed, 18 insertions, 10 deletions
diff --git a/usecaseui-portal/src/app/alarm/alarm.component.html b/usecaseui-portal/src/app/alarm/alarm.component.html index 378cebc2..7fbbc039 100644 --- a/usecaseui-portal/src/app/alarm/alarm.component.html +++ b/usecaseui-portal/src/app/alarm/alarm.component.html @@ -51,24 +51,32 @@ <span>Report Time: </span> <nz-range-picker [(ngModel)]="dateRange" (ngModelChange)="onChange($event)" nzShowTime></nz-range-picker> - <!-- <button class="search" nz-button [nzType]="'primary'" (click)="getAlarmFormData()"><i class="anticon anticon-search"></i><span>Search</span></button> --> - <button class="search" nz-button [nzType]="'primary'"><i class="anticon anticon-search"></i><span>Search</span></button> + <button class="search" nz-button [nzType]="'primary'" (click)="getAlarmFormData()"><i class="anticon anticon-search"></i><span>Search</span></button> </div> </div> <div class="content" [@showHideAnimate]="state"> <div class="title"> <ul> - <li><h5>All</h5> <p>{{alarmList.all }}</p></li> - <li><h5>Closed</h5> <p>{{alarmList.closed }}</p></li> - <li><h5>Active</h5> <p>{{alarmList.activeNum }}</p></li> + <li> + <h5>All</h5> + <p>{{alarmList.all }}</p> + </li> + <li> + <h5>Closed</h5> + <p>{{alarmList.closed }}</p> + </li> + <li> + <h5>Active</h5> + <p>{{alarmList.activeNum }}</p> + </li> </ul> </div> <div class="chart"> <h3>Alarm Chart</h3> <nz-radio-group [(ngModel)]="size"> - <label nz-radio-button nzValue="day"> day </label> - <label nz-radio-button nzValue="month">month</label> - </nz-radio-group> + <label nz-radio-button nzValue="day" (click)="day()"> day </label> + <label nz-radio-button nzValue="month" (click)="month()">month</label> + </nz-radio-group> <div class="AlarmChart" [ngClass]="{'alarmChart-active':alarmShow}"> <app-line [initData]="alarmChartInit" [chartData]="alarmChartData"></app-line> </div> @@ -96,12 +104,12 @@ <td>{{item.specificProblem}}</td> <td>{{item.sequence}}</td> <td>{{item.status}}</td> - <td class="action"><a (click)="detailShow()"><i class="details"></i></a></td> + <td class="action"><a (click)="detailShow(item)"><i class="details"></i></a></td> </tr> </tbody> </nz-table> </div> </div> <div [@showHideAnimate]="state2"> -<app-details></app-details> +<app-details [detailId]="detailId"></app-details> </div>
\ No newline at end of file |