summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal
diff options
context:
space:
mode:
authorwangyuerg <wangyuerg@chinamobile.com>2021-03-08 13:30:05 +0800
committerwangyuerg <wangyuerg@chinamobile.com>2021-03-08 13:30:41 +0800
commitee56b112c4e2a570095b3b77210798a7854e7306 (patch)
tree371c6ad4377fc72183b48d19c7e129a684f89825 /usecaseui-portal
parentc8a9d6ab7b4412b3b5c94d723f91e708c8c25bd2 (diff)
feat:Modify format
Signed-off-by: wangyuerg <wangyuerg@chinamobile.com> Change-Id: I5bae55640682eb51a262d9b89aba7d7c395c5d75 Issue-ID: USECASEUI-527
Diffstat (limited to 'usecaseui-portal')
-rw-r--r--usecaseui-portal/src/app/views/services/slicing-management/csmf-slicing-business-management/business-order/business-order.component.html6
-rw-r--r--usecaseui-portal/src/app/views/services/slicing-management/csmf-slicing-business-management/business-order/business-order.component.ts7
-rw-r--r--usecaseui-portal/src/app/views/services/slicing-management/csmf-slicing-business-management/business-order/constants.ts1
3 files changed, 7 insertions, 7 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 467b0436..2098cf72 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,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>
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 1638e1b1..2418c904 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
@@ -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) => {
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 9dc9922d..a085df68 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,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