summaryrefslogtreecommitdiffstats
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
parent5068ef4e733342d03d30ad895e5dcbeb4b6390b1 (diff)
solve instancesList bug
Change-Id: Iacf5a9dfa44a57940c1bdd47551e4c03f1370383 Issue-ID: USECASEUI-164 Signed-off-by: guochuyicmri <guochuyi@chinamobile.com>
-rw-r--r--usecaseui-portal/src/app/app.module.ts2
-rw-r--r--usecaseui-portal/src/app/services/services-list/services-list.component.ts4
-rw-r--r--usecaseui-portal/src/index.html2
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 @@
<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">