From 69e41a0824b0a4737360a5e19929555279e7c292 Mon Sep 17 00:00:00 2001 From: xufenglei <xufenglei> Date: Sun, 08 Apr 2018 11:25:47 +0800 Subject: [PATCH] 报表优化 --- src/app/routes/report/report.component.html | 11 ++++++++--- 1 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/app/routes/report/report.component.html b/src/app/routes/report/report.component.html index 42bf6e2..624bb1b 100644 --- a/src/app/routes/report/report.component.html +++ b/src/app/routes/report/report.component.html @@ -12,7 +12,7 @@ <div class="t_bg"> <img src="./assets/img/logo.png"> - <h1>{{title}}������������������������</h1> + <h1>{{title}}������������������</h1> <div class="container"> <div class="title"> <div class="title_left"></div> @@ -25,6 +25,10 @@ </div> </div> + + + + <div class="content"> <div *ngFor="let item of items;let i = index"> <div class="{{i % 2 == 0 ? 'left' : 'right'}}"> @@ -34,8 +38,8 @@ <div class="text_t_right"></div> <div class="clear_fix"></div> </div> - <p class="text1">���������������{{item.monitorPointAddress}}</p> - <p class="text1">���������������������{{item.deviceCount}}���</p> + <p *ngIf="item.monitorPointId" class="text1">���������������{{item.monitorPointAddress}}</p> + <p class="text1">������������������{{item.deviceCount}}���</p> <div class="clear_fix"></div> </div> </div> @@ -48,6 +52,7 @@ <div *ngFor="let i of sensorArr"> <div id="mydiv{{i}}" style="height: 485.35px; width: 1000px"></div> </div> + <!-- <div id="pieChar" style="height: 485.35px; width: 1000px"></div> --> </div> <div class="bg" *ngIf="!spinning"> -- Gitblit v1.8.0