From 0d9c465fa7053a26c3daeeb841057d571ce2b587 Mon Sep 17 00:00:00 2001 From: wangyuerg Date: Thu, 3 Sep 2020 18:48:10 +0800 Subject: fix: change parameters of subnet, change the selection box of nexthop to an input box; method abstraction and extration; set placeholder for all input box; cancel required fields for jitter Change-Id: If7efba49d01d870414146eea3359491b3e2cd5c0 Signed-off-by: wangyuerg Issue-ID: USECASEUI-444 --- .../subnet-params-model.component.html | 25 ++----- .../subnet-params-model.component.less | 6 ++ .../subnet-params-model.component.ts | 86 ++++++++++------------ 3 files changed, 52 insertions(+), 65 deletions(-) (limited to 'usecaseui-portal/src/app/views/services') diff --git a/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/subnet-params-model/subnet-params-model.component.html b/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/subnet-params-model/subnet-params-model.component.html index c4f377f1..93e6f485 100644 --- a/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/subnet-params-model/subnet-params-model.component.html +++ b/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/subnet-params-model/subnet-params-model.component.html @@ -3,8 +3,8 @@
- - {{ item.title }} + + {{item.title}} +
{{Util.isEmpty(formData[item.key])? 'can not be empty!':' '}}
- + {{ item.title }} + *ngIf=" item.title !== 'Resource Sharing Level' && item.title !== 'Mobility' && item.title !== 'Endpoint' " [placeholder]="inputHolder(item.title)"/>