Change-Id: Iacf5a9dfa44a57940c1bdd47551e4c03f1370383
Issue-ID: USECASEUI-164
Signed-off-by: guochuyicmri <guochuyi@chinamobile.com>
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';
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)
<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">