summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/home
diff options
context:
space:
mode:
authorguochuyicmri <guochuyi@chinamobile.com>2019-01-04 16:56:46 +0800
committerguochuyicmri <guochuyi@chinamobile.com>2019-01-04 16:57:05 +0800
commit2cd40ded13c94a8d44396dda9189716a8964051c (patch)
tree0b52aa7a986961d36c1dfb5235b7305034be3a8e /usecaseui-portal/src/app/home
parent21395279cbaad051513a63beb414849e1efc7f77 (diff)
Fix instance detail for CCVPN
Change-Id: I6c48559048672035269a7691dac944358f37ab26 Issue-ID: USECASEUI-171 Signed-off-by: guochuyicmri <guochuyi@chinamobile.com>
Diffstat (limited to 'usecaseui-portal/src/app/home')
-rw-r--r--usecaseui-portal/src/app/home/home.component.ts14
1 files changed, 14 insertions, 0 deletions
diff --git a/usecaseui-portal/src/app/home/home.component.ts b/usecaseui-portal/src/app/home/home.component.ts
index 093d67ae..e893453e 100644
--- a/usecaseui-portal/src/app/home/home.component.ts
+++ b/usecaseui-portal/src/app/home/home.component.ts
@@ -14,6 +14,7 @@ export class HomeComponent implements OnInit {
constructor(private myhttp: HomesService) { }
ngOnInit() {
+ this.getListSortMasters();
this.getSourceNames();
this.getHomeServiceData();
this.getHomePerformanceData();
@@ -163,6 +164,19 @@ export class HomeComponent implements OnInit {
// sourceName筛选框
sourceNameList = ['performanceNameOne'];
sourceNameSelected = null;
+
+ //2019.1.2 add listSortMasters
+ listSortMasters=null;
+
+ getListSortMasters(){
+ this.myhttp.getListSortMasters()
+ .subscribe((data)=>{
+ this.listSortMasters = JSON.stringify(data);
+ console.log(this.listSortMasters);
+ sessionStorage.setItem('listSortMasters',this.listSortMasters)
+ })
+ }
+
getSourceNames(){
this.myhttp.getSourceNames()
.subscribe((data)=>{