summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/homes.service.ts
diff options
context:
space:
mode:
authorguochuyicmri <guochuyi@chinamobile.com>2019-05-17 18:07:45 +0800
committerguochuyicmri <guochuyi@chinamobile.com>2019-05-17 18:07:54 +0800
commite88155c2a4046974387fcb64406a28ed672a63d4 (patch)
tree5a5e3566319f4033bbe29cb49cf6392600a5084e /usecaseui-portal/src/app/homes.service.ts
parentd59427f407a75cdf97890ff67485dde07edcee52 (diff)
Dashboard interface front-end development
Change-Id: Ife8dbb89e9a5d465e1c3b6b6a290059f376b673b Issue-ID: USECASEUI-214 Signed-off-by: guochuyicmri <guochuyi@chinamobile.com>
Diffstat (limited to 'usecaseui-portal/src/app/homes.service.ts')
-rw-r--r--usecaseui-portal/src/app/homes.service.ts17
1 files changed, 15 insertions, 2 deletions
diff --git a/usecaseui-portal/src/app/homes.service.ts b/usecaseui-portal/src/app/homes.service.ts
index a556a954..dc0b5cef 100644
--- a/usecaseui-portal/src/app/homes.service.ts
+++ b/usecaseui-portal/src/app/homes.service.ts
@@ -22,13 +22,17 @@ import { homeData, homeVmLineData, servicesSelectData, servicesTableData, create
export class HomesService {
constructor(private http: HttpClient) { }
- baseUrl = baseUrl.baseUrl
+ baseUrl = baseUrl.baseUrl;
+ baseUrlbar = baseUrl.baseUrl + "/uui-lcm/";
url = {
home_serviceData: this.baseUrl + "/uui-lcm/serviceNumByCustomer",
home_performanceData: this.baseUrl + "/performance/queryAllSourceNames",
home_alarmData: this.baseUrl + "/alarm/statusCount",
home_alarmChartData: this.baseUrl + "/alarm/diagram",
- home_servicebarData:this.baseUrl + "",
+ home_servicebarData:this.baseUrl + "",
+ home_servicebarnsData: this.baseUrlbar + "ns-packages",
+ home_servicebarvnfData: this.baseUrlbar + "vnf-packages",
+ home_servicebarpnfData: this.baseUrlbar + "pnf-packages",
sourceNames: this.baseUrl + "/alarm/getSourceNames",
listSortMasters:this.baseUrl+"/listSortMasters",
currentLanguage:this.baseUrl+"/ONAPPORTAL/auxapi/languageSetting/user/",
@@ -71,6 +75,15 @@ export class HomesService {
getHomeServiceBarData(){
return this.http.get<any>(this.url.home_servicebarData);
}
+ getHomeServiceBarNsData(){
+ return this.http.get<any>(this.url.home_servicebarnsData);
+ }
+ getHomeServiceBarVnfData(){
+ return this.http.get<any>(this.url.home_servicebarvnfData);
+ }
+ getHomeServiceBarPnfData(){
+ return this.http.get<any>(this.url.home_servicebarpnfData);
+ }
// alarm data
getAlarmFormData(currentPage: number, pageSize: number, sourceName?: string, priority?: string, startTime?: string, endTime?: string, vfStatus?: string) {