solve instancesList bug 60/72160/1
authorguochuyicmri <guochuyi@chinamobile.com>
Thu, 8 Nov 2018 03:36:25 +0000 (11:36 +0800)
committerguochuyicmri <guochuyi@chinamobile.com>
Thu, 8 Nov 2018 03:37:01 +0000 (11:37 +0800)
Change-Id: Iacf5a9dfa44a57940c1bdd47551e4c03f1370383
Issue-ID: USECASEUI-164
Signed-off-by: guochuyicmri <guochuyi@chinamobile.com>
usecaseui-portal/src/app/app.module.ts
usecaseui-portal/src/app/services/services-list/services-list.component.ts
usecaseui-portal/src/index.html

index 561da47..3b56264 100644 (file)
@@ -11,7 +11,7 @@ import { NgxEchartsModule } from 'ngx-echarts';
 import { TranslateModule, TranslateLoader } from '@ngx-translate/core';
 import {TranslateHttpLoader} from '@ngx-translate/http-loader';
 export function HttpLoaderFactory(httpClient: HttpClient) {
-  return new TranslateHttpLoader(httpClient, '../assets/i18n/', '.json');
+  return new TranslateHttpLoader(httpClient, './assets/i18n/', '.json');
 }
 
 import { AppRoutingModule } from './app-routing.module';
index 373583e..cc69e51 100644 (file)
@@ -138,9 +138,9 @@ export class ServicesListComponent implements OnInit {
   getTableData(){
     // params: customer serviceType pageIndex,pageSize,sortName
     let paramsObj = {
-      customer:this.customerSelected.id,
+      customerId:this.customerSelected.id,
       serviceType:this.serviceTypeSelected.name,
-      pageIndex:this.pageIndex,
+      currentPage:this.pageIndex,
       pageSize:this.pageSize
     }
     this.myhttp.getServicesTableData(paramsObj)
index f828149..c3ffb56 100644 (file)
@@ -18,7 +18,7 @@
 <head>
   <meta charset="utf-8">
   <title>Uui2</title>
-  <base href="/">
+  <base href="./">
 
   <meta name="viewport" content="width=device-width, initial-scale=1">
   <link rel="icon" type="image/x-icon" href="favicon.ico">