summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/home/home.component.ts
diff options
context:
space:
mode:
Diffstat (limited to 'usecaseui-portal/src/app/home/home.component.ts')
-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)=>{