feat:Modify format 88/118888/1
authorwangyuerg <wangyuerg@chinamobile.com>
Mon, 8 Mar 2021 05:30:05 +0000 (13:30 +0800)
committerwangyuerg <wangyuerg@chinamobile.com>
Mon, 8 Mar 2021 05:30:41 +0000 (13:30 +0800)
Signed-off-by: wangyuerg <wangyuerg@chinamobile.com>
Change-Id: I5bae55640682eb51a262d9b89aba7d7c395c5d75
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 467b043..2098cf7 100644 (file)
@@ -15,7 +15,9 @@
                             [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>{{masktext}}</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)" />
@@ -32,7 +34,7 @@
                         </nz-option>
                     </nz-select>
                     <nz-form-explain *ngIf="item.type === 'input' && validateRulesShow[i]" class="validateRules">
-                        {{rulesText[i]}}
+                        {{ rulesText[i] }}
                     </nz-form-explain>
                 </nz-form-control>
 
index 1638e1b..2418c90 100644 (file)
@@ -16,10 +16,7 @@ export class BusinessOrderComponent implements OnInit {
                private Util: Util
        ) {}
 
-       ngOnInit() {
-       console.log('MASKTEXT',MASKTEXT)
-          this.masktext = MASKTEXT
-       }
+       ngOnInit() {}
 
        ngOnChanges() {
                this.AreaFormatting();
@@ -50,7 +47,7 @@ export class BusinessOrderComponent implements OnInit {
        validateRulesShow: any[] = [];
        rulesText: any[] = [];
        areaLevel: number = 4;
-    masktext: string = "";
+    masktext: string = MASKTEXT ;
        AreaFormatting(): void {
                let areaList = ["Beijing;Beijing;Haidian District;Wanshoulu Street"];
                this.areaList = areaList.map((item: any) => {
index 9dc9922..a085df6 100644 (file)
@@ -102,4 +102,5 @@ 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