summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/views/services
diff options
context:
space:
mode:
authorcyuamber <xuranyjy@chinamobile.com>2019-12-11 17:23:05 +0800
committercyuamber <xuranyjy@chinamobile.com>2019-12-11 17:24:12 +0800
commitbc115d88c7cbb728880839dd5e32987db167234b (patch)
treeb350546c93a6cdf8ebb763dd15f4cb66a351b192 /usecaseui-portal/src/app/views/services
parent87f400207edddbe97c423ea87dc55a7b4a9ea03f (diff)
feat: add some i18n resource
Change-Id: I2686afd33ef3eb2138ac1130416618ba2005929b Issue-ID: USECASEUI-368 Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
Diffstat (limited to 'usecaseui-portal/src/app/views/services')
-rw-r--r--usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-management.component.ts2
-rw-r--r--usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/slicing-task-model.component.html12
-rw-r--r--usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/slicing-task-model.component.ts8
-rw-r--r--usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/subnet-params-model/subnet-params-model.component.html10
-rw-r--r--usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/subnet-params-model/subnet-params-model.component.ts4
5 files changed, 18 insertions, 18 deletions
diff --git a/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-management.component.ts b/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-management.component.ts
index 944f4a25..e5832902 100644
--- a/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-management.component.ts
+++ b/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-management.component.ts
@@ -116,7 +116,7 @@ export class SlicingTaskManagementComponent implements OnInit {
showdetail(data: any): void {
this.taskId = data.task_id;
- this.moduleTitle = data.processing_status;
+ this.moduleTitle = data.task_name;
if (data.processing_status === 'Waiting to Confirm') {
this.showDetail = true;
} else {
diff --git a/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/slicing-task-model.component.html b/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/slicing-task-model.component.html
index 62b01134..a5aaeb75 100644
--- a/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/slicing-task-model.component.html
+++ b/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/slicing-task-model.component.html
@@ -8,10 +8,10 @@
>
</app-basic-info>
<div>
- <nz-list class="taskmodel_list" nzBordered [nzHeader]="'匹配共享切片实例:'" [nzFooter]="null" *ngIf="slicingInstances">
+ <nz-list class="taskmodel_list" nzBordered [nzHeader]="'Matching Shared NSI: '" [nzFooter]="null" *ngIf="slicingInstances">
<nz-list-item nz-row nzType="flex" nzJustify="start" [nzGutter]="8">
<div nz-col nzSpan="12">
- 切片实例 ID:
+ NSI ID:
<nz-select
nzShowSearch
[(ngModel)]="selectedServiceId"
@@ -34,7 +34,7 @@
</nz-select>
</div>
<div nz-col nzSpan="8">
- 切片实例名称:{{ selectedServiceName }}
+ NSI Name:{{ selectedServiceName }}
</div>
<div nz-col nzSpan="4">
<button nz-button nzType="primary" (click)="resetSlicingInstance()">
@@ -43,11 +43,11 @@
</div>
</nz-list-item>
<nz-list-item nz-row nzType="flex" nzJustify="start" [nzGutter]="8">
- <p class="listitem_subtitle" nz-col nzSpan="24">匹配的共享切片子网实例:</p>
+ <p class="listitem_subtitle" nz-col nzSpan="24">Matching Shared NSSI:</p>
<nz-card *ngFor="let item of slicingSubnet" nzType="inner" nz-col nzSpan="24" [nzTitle]="item.title">
<div nz-row [nzGutter]="8">
<div nz-col nzSpan="12">
- 切片子网实例 ID:
+ NSSI ID:
<nz-select
nzShowSearch
[nzDisabled]="isDisabled"
@@ -71,7 +71,7 @@
</nz-select>
</div>
<div nz-col nzSpan="8">
- 切片子网实例名称:{{item.slicingName}}
+ NSSI Name:{{item.slicingName}}
</div>
<div nz-col nzSpan="4">
<button nz-button nzType="primary" (click)="restSubnetInstance(item)" [disabled]='isDisabled'
diff --git a/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/slicing-task-model.component.ts b/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/slicing-task-model.component.ts
index 3ccd8698..f6d548d3 100644
--- a/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/slicing-task-model.component.ts
+++ b/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/slicing-task-model.component.ts
@@ -29,7 +29,7 @@ export class SlicingTaskModelComponent implements OnInit {
// 子网实例
slicingSubnet: any[] = [
{
- title: '无线域',
+ title: 'An',
context: 'an',
slicingId: '',
slicingName: '',
@@ -41,7 +41,7 @@ export class SlicingTaskModelComponent implements OnInit {
instances: []
},
{
- title: '传输域',
+ title: 'Tn',
context: 'tn',
slicingId: '',
slicingName: '',
@@ -53,7 +53,7 @@ export class SlicingTaskModelComponent implements OnInit {
instances: []
},
{
- title: '核心域',
+ title: 'Cn',
context: 'cn',
slicingId: '',
slicingName: '',
@@ -329,7 +329,7 @@ export class SlicingTaskModelComponent implements OnInit {
}
changeParams (params: any): void {
- const index = this.paramsTitle === '无线域' ? 0 : (this.paramsTitle === '传输域' ? 1 : 2);
+ const index = this.paramsTitle === 'An' ? 0 : (this.paramsTitle === 'Tn' ? 1 : 2);
this.slicingSubnet[index].params = params
}
diff --git a/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/subnet-params-model/subnet-params-model.component.html b/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/subnet-params-model/subnet-params-model.component.html
index 62df0709..c7df1bf1 100644
--- a/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/subnet-params-model/subnet-params-model.component.html
+++ b/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/subnet-params-model/subnet-params-model.component.html
@@ -1,7 +1,7 @@
<nz-modal [(nzVisible)]="showModel" [nzTitle]="title + 'Parameter'" (nzOnCancel)="handleCancel()" (nzOnOk)="handleOk()"
nzWidth="700px">
<div class="subnet_params_container">
- <form nz-form *ngIf="title === '无线域'">
+ <form nz-form *ngIf="title === 'An'">
<nz-form-item *ngFor="let item of wirelessFormItems">
<nz-form-label [nzSpan]="6" nzRequired [nzFor]="item.key">
{{ item.title }}
@@ -34,7 +34,7 @@
</div>
</nz-form-item>
</form>
- <form nz-form *ngIf="title === '传输域'">
+ <form nz-form *ngIf="title === 'Tn'">
<nz-form-item *ngFor="let item of transferFormItems">
<nz-form-label [nzSpan]="7" nzRequired [nzFor]="item.key">
{{ item.title }}
@@ -44,12 +44,12 @@
</nz-form-control>
</nz-form-item>
</form>
- <form nz-form *ngIf="title === '核心域'">
+ <form nz-form *ngIf="title === 'Cn'">
<nz-form-item *ngFor="let item of coreFormItems">
- <nz-form-label [nzSpan]="10" nzRequired [nzFor]="item.key">
+ <nz-form-label [nzSpan]="13" nzRequired [nzFor]="item.key">
{{ item.title }}
</nz-form-label>
- <nz-form-control [nzSpan]="10">
+ <nz-form-control [nzSpan]="8">
<input nz-input [id]="item.key" [name]="item.key" [(ngModel)]="detailData[item.key]"
[readOnly]="item.title === 'S-NSSAI'"
*ngIf=" item.title !== 'Resource Sharing Level' && item.title !== 'Mobility' " />
diff --git a/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/subnet-params-model/subnet-params-model.component.ts b/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/subnet-params-model/subnet-params-model.component.ts
index 92c50d15..f091667a 100644
--- a/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/subnet-params-model/subnet-params-model.component.ts
+++ b/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/subnet-params-model/subnet-params-model.component.ts
@@ -24,7 +24,7 @@ export class SubnetParamsModelComponent implements OnInit {
ngOnInit() { }
ngOnChanges() {
- if (this.title === '无线域') {
+ if (this.title === 'An') {
this.AreaFormatting();
}
}
@@ -116,7 +116,7 @@ export class SubnetParamsModelComponent implements OnInit {
handleOk(): void {
let params: object;
- if (this.title === '无线域') {
+ if (this.title === 'An') {
const an_coverage_area_ta_list: string[] = [];
this.areaList.forEach( item => {
let str: string = '';