feat:modify 48/118848/1
authorwangyuerg <wangyuerg@chinamobile.com>
Fri, 5 Mar 2021 12:49:07 +0000 (20:49 +0800)
committerwangyuerg <wangyuerg@chinamobile.com>
Fri, 5 Mar 2021 12:49:32 +0000 (20:49 +0800)
Signed-off-by: wangyuerg <wangyuerg@chinamobile.com>
Change-Id: Ibaa9326653540e18e637caf49948d239214dcf3d
Issue-ID: USECASEUI-527

usecaseui-portal/src/app/views/services/slicing-management/csmf-slicing-business-management/business-order/business-order.component.html
usecaseui-portal/src/app/views/services/slicing-management/csmf-slicing-business-management/business-order/business-order.component.ts
usecaseui-portal/src/app/views/services/slicing-management/csmf-slicing-business-management/business-order/constants.ts

index 7fd459c..467b043 100644 (file)
@@ -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)" />
index 9789c76..1638e1b 100644 (file)
@@ -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) => {
index f982fa8..9dc9922 100644 (file)
@@ -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