summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwangyuerg <wangyuerg@chinamobile.com>2021-03-05 20:49:07 +0800
committerwangyuerg <wangyuerg@chinamobile.com>2021-03-05 20:49:32 +0800
commitc8a9d6ab7b4412b3b5c94d723f91e708c8c25bd2 (patch)
tree24168783c4e37d6eaa51fe6184ea1f7ae56fd26c
parent414d150327c692a115aa06414d8bf17509388943 (diff)
feat:modify
Signed-off-by: wangyuerg <wangyuerg@chinamobile.com> Change-Id: Ibaa9326653540e18e637caf49948d239214dcf3d Issue-ID: USECASEUI-527
-rw-r--r--usecaseui-portal/src/app/views/services/slicing-management/csmf-slicing-business-management/business-order/business-order.component.html2
-rw-r--r--usecaseui-portal/src/app/views/services/slicing-management/csmf-slicing-business-management/business-order/business-order.component.ts9
-rw-r--r--usecaseui-portal/src/app/views/services/slicing-management/csmf-slicing-business-management/business-order/constants.ts1
3 files changed, 8 insertions, 4 deletions
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()" />
<div *ngIf="item.coverflag" class="detail-wrap">
- <p>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:</p>
+ <p>{{masktext}}</p>
<img src="../../../../../../assets/images/coverageAreaMap.png" class="detail-img"/>
</div>
<img src="../../../../../../assets/images/ask-img.png" alt="" class="detail-icon" *ngIf="item.key === 'coverageAreaNumber'" (mouseover)="detailFn(item.coverflag)" (mouseleave)="detailFn(item.coverflag)" />
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