summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app
diff options
context:
space:
mode:
authorguochuyicmri <guochuyi@chinamobile.com>2018-11-08 11:36:25 +0800
committerguochuyicmri <guochuyi@chinamobile.com>2018-11-08 11:37:01 +0800
commit85133152bc577bab98b1101e0ebce212030d4316 (patch)
tree507f00f61cea65f33141892a37bfa679f0eae787 /usecaseui-portal/src/app
parent5068ef4e733342d03d30ad895e5dcbeb4b6390b1 (diff)
solve instancesList bug
Change-Id: Iacf5a9dfa44a57940c1bdd47551e4c03f1370383 Issue-ID: USECASEUI-164 Signed-off-by: guochuyicmri <guochuyi@chinamobile.com>
Diffstat (limited to 'usecaseui-portal/src/app')
-rw-r--r--usecaseui-portal/src/app/app.module.ts2
-rw-r--r--usecaseui-portal/src/app/services/services-list/services-list.component.ts4
2 files changed, 3 insertions, 3 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)