From 89428dbe8181289f22935dc0660c285caad18b15 Mon Sep 17 00:00:00 2001 From: cyuamber Date: Thu, 5 Sep 2019 14:48:36 +0800 Subject: feat: optimize the code for the graphiclist component Change-Id: I030d429837aff26772e4e224b19eef276b12ceeb Issue-ID: USECASEUI-307 Signed-off-by: cyuamber --- .../graphiclist/graphiclist.component.html | 5 --- .../graphiclist/graphiclist.component.less | 44 ---------------------- .../graphiclist/graphiclist.component.ts | 1 - 3 files changed, 50 deletions(-) diff --git a/usecaseui-portal/src/app/shared/components/graphiclist/graphiclist.component.html b/usecaseui-portal/src/app/shared/components/graphiclist/graphiclist.component.html index 317d48b0..19efdb36 100644 --- a/usecaseui-portal/src/app/shared/components/graphiclist/graphiclist.component.html +++ b/usecaseui-portal/src/app/shared/components/graphiclist/graphiclist.component.html @@ -14,9 +14,6 @@ limitations under the License. -->
-
Report Time: @@ -39,7 +36,6 @@ - {{i+1}} {{item.sourceName}} @@ -48,7 +44,6 @@ {{item.startEpochMicrosec | date:'yyyy-MM-dd HH:mm:ss'}} -
diff --git a/usecaseui-portal/src/app/shared/components/graphiclist/graphiclist.component.less b/usecaseui-portal/src/app/shared/components/graphiclist/graphiclist.component.less index e302c7fd..494e2229 100644 --- a/usecaseui-portal/src/app/shared/components/graphiclist/graphiclist.component.less +++ b/usecaseui-portal/src/app/shared/components/graphiclist/graphiclist.component.less @@ -49,7 +49,6 @@ } } .chart { - // background-color: #fff; position: relative; border-radius: 5px; margin-bottom: 20px; @@ -72,50 +71,7 @@ font-weight: 400; } } - // nz-dropdown { - // margin-right: 20px; - // a { - // font: 700 12px "Arial"; - // color: #3d4d65; - // &:hover { - // color: #3fa8eb; - // } - // } - // } } - // .AlarmChart { - // // height: 0px; - // // border-bottom: 1px solid #f5f5f5; - // // transition: all 0.3s linear; - // width: 25%; - // padding-top: 7px; - // float: left; - // } - // .alarmChart-active { - // height: 386px; - // } - // .open-close { - // width: 50px; - // height: 25px; - // position: absolute; - // left: 50%; - // bottom: 0px; - // transform: translate(-25px,0); - // border: none; - // outline: none; - // cursor: pointer; - // background-color: #fff; - // background: url(../../../assets/images/open-close.png) no-repeat center -27px; - // &:hover { - // background: url(../../../assets/images/open-close.png) no-repeat center -79px; - // } - // } - // .open-close-active { - // background: url(../../../assets/images/open-close.png) center -1px; - // &:hover { - // background: url(../../../assets/images/open-close.png) no-repeat center -53px; - // } - // } } .tablelist { background-color: #fff; diff --git a/usecaseui-portal/src/app/shared/components/graphiclist/graphiclist.component.ts b/usecaseui-portal/src/app/shared/components/graphiclist/graphiclist.component.ts index c05d3b7c..ddd9ef64 100644 --- a/usecaseui-portal/src/app/shared/components/graphiclist/graphiclist.component.ts +++ b/usecaseui-portal/src/app/shared/components/graphiclist/graphiclist.component.ts @@ -38,7 +38,6 @@ export class GraphiclistComponent implements OnInit { this.isVisibleMiddle = true; } handleOkMiddle(): void { - // console.log('click ok'); this.isVisibleMiddle = false; } handleCancelMiddle(): void { -- cgit 1.2.3-korg