summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app
diff options
context:
space:
mode:
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)