From 85133152bc577bab98b1101e0ebce212030d4316 Mon Sep 17 00:00:00 2001 From: guochuyicmri Date: Thu, 8 Nov 2018 11:36:25 +0800 Subject: solve instancesList bug Change-Id: Iacf5a9dfa44a57940c1bdd47551e4c03f1370383 Issue-ID: USECASEUI-164 Signed-off-by: guochuyicmri --- usecaseui-portal/src/app/app.module.ts | 2 +- .../src/app/services/services-list/services-list.component.ts | 4 ++-- usecaseui-portal/src/index.html | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/usecaseui-portal/src/app/app.module.ts b/usecaseui-portal/src/app/app.module.ts index 561da478..3b562649 100644 --- a/usecaseui-portal/src/app/app.module.ts +++ b/usecaseui-portal/src/app/app.module.ts @@ -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'; diff --git a/usecaseui-portal/src/app/services/services-list/services-list.component.ts b/usecaseui-portal/src/app/services/services-list/services-list.component.ts index 373583ea..cc69e51a 100644 --- a/usecaseui-portal/src/app/services/services-list/services-list.component.ts +++ b/usecaseui-portal/src/app/services/services-list/services-list.component.ts @@ -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) diff --git a/usecaseui-portal/src/index.html b/usecaseui-portal/src/index.html index f8281491..c3ffb567 100644 --- a/usecaseui-portal/src/index.html +++ b/usecaseui-portal/src/index.html @@ -18,7 +18,7 @@ Uui2 - + -- cgit 1.2.3-korg