From c8a9d6ab7b4412b3b5c94d723f91e708c8c25bd2 Mon Sep 17 00:00:00 2001 From: wangyuerg Date: Fri, 5 Mar 2021 20:49:07 +0800 Subject: feat:modify Signed-off-by: wangyuerg Change-Id: Ibaa9326653540e18e637caf49948d239214dcf3d Issue-ID: USECASEUI-527 --- .../business-order/business-order.component.html | 2 +- .../business-order/business-order.component.ts | 9 ++++++--- .../csmf-slicing-business-management/business-order/constants.ts | 1 + 3 files changed, 8 insertions(+), 4 deletions(-) (limited to 'usecaseui-portal') diff --git a/usecaseui-portal/src/app/views/services/slicing-management/csmf-slicing-business-management/business-order/business-order.component.html b/usecaseui-portal/src/app/views/services/slicing-management/csmf-slicing-business-management/business-order/business-order.component.html index 7fd459cc..467b0436 100644 --- a/usecaseui-portal/src/app/views/services/slicing-management/csmf-slicing-business-management/business-order/business-order.component.html +++ b/usecaseui-portal/src/app/views/services/slicing-management/csmf-slicing-business-management/business-order/business-order.component.html @@ -15,7 +15,7 @@ [placeholder]="item.placeholder ? item.placeholder : ''" (blur)="item.required ? this.Util.validator(item.title,item.key,slicing_order_info[item.key],i,rulesText,validateRulesShow) : this.Util.validator()" />
-

Note: If coverageArea is not at all provided by the user (as it is an optional input, and also optional in Service Profile), we will assume that the entire network is required to be covered. For Coverage Area Number, please enter the rectangle grid numbers corresponding to the physical coverage areas that you see on the map image. The following image shows the rectangular grid numbers for a coverage area, you can take it as an example:

+

{{masktext}}

diff --git a/usecaseui-portal/src/app/views/services/slicing-management/csmf-slicing-business-management/business-order/business-order.component.ts b/usecaseui-portal/src/app/views/services/slicing-management/csmf-slicing-business-management/business-order/business-order.component.ts index 9789c76f..1638e1b1 100644 --- a/usecaseui-portal/src/app/views/services/slicing-management/csmf-slicing-business-management/business-order/business-order.component.ts +++ b/usecaseui-portal/src/app/views/services/slicing-management/csmf-slicing-business-management/business-order/business-order.component.ts @@ -1,5 +1,5 @@ import { Component, EventEmitter, Input, OnInit, Output } from "@angular/core"; -import { COMMUNICATION_FORM_ITEMS } from "./constants"; +import { COMMUNICATION_FORM_ITEMS,MASKTEXT } from "./constants"; import { Util } from "../../../../../shared/utils/utils"; import { SlicingTaskServices } from "../../../../../core/services/slicingTaskServices"; import { NzMessageService } from "ng-zorro-antd"; @@ -16,7 +16,10 @@ export class BusinessOrderComponent implements OnInit { private Util: Util ) {} - ngOnInit() {} + ngOnInit() { + console.log('MASKTEXT',MASKTEXT) + this.masktext = MASKTEXT + } ngOnChanges() { this.AreaFormatting(); @@ -47,7 +50,7 @@ export class BusinessOrderComponent implements OnInit { validateRulesShow: any[] = []; rulesText: any[] = []; areaLevel: number = 4; - + masktext: string = ""; AreaFormatting(): void { let areaList = ["Beijing;Beijing;Haidian District;Wanshoulu Street"]; this.areaList = areaList.map((item: any) => { diff --git a/usecaseui-portal/src/app/views/services/slicing-management/csmf-slicing-business-management/business-order/constants.ts b/usecaseui-portal/src/app/views/services/slicing-management/csmf-slicing-business-management/business-order/constants.ts index f982fa88..9dc9922d 100644 --- a/usecaseui-portal/src/app/views/services/slicing-management/csmf-slicing-business-management/business-order/constants.ts +++ b/usecaseui-portal/src/app/views/services/slicing-management/csmf-slicing-business-management/business-order/constants.ts @@ -102,3 +102,4 @@ export const COMMUNICATION_FORM_ITEMS = [ required: false, }, ]; +export const MASKTEXT = "Note: If coverageArea is not at all provided by the user (as it is an optional input, and also optional in Service Profile), we will assume that the entire network is required to be covered. For Coverage Area Number, please enter the rectangle grid numbers corresponding to the physical coverage areas that you see on the map image. The following image shows the rectangular grid numbers for a coverage area, you can take it as an example:" \ No newline at end of file -- cgit 1.2.3-korg