summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management
diff options
context:
space:
mode:
authorwangyuerg <wangyuerg@chinamobile.com>2021-03-25 15:38:10 +0800
committerwangyuerg <wangyuerg@chinamobile.com>2021-03-25 15:38:45 +0800
commitcd382d5374bfde0629b8de44a46829c4d0613c3d (patch)
tree9fa9a5108dd2f1fd1e03edbd771c9b0d4b2fb685 /usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management
parentc915bc1fcfa9d08f856994a27e9652c56110336d (diff)
feat:Null processing add loading
Signed-off-by: wangyuerg <wangyuerg@chinamobile.com> Change-Id: I615b82148629554c4012d0af90dd51aef6637350 Issue-ID: USECASEUI-527
Diffstat (limited to 'usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management')
-rw-r--r--usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/subnet-params-model/subnet-params-model.component.ts5
1 files changed, 4 insertions, 1 deletions
diff --git a/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/subnet-params-model/subnet-params-model.component.ts b/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/subnet-params-model/subnet-params-model.component.ts
index 310a1cb9..9897f5ab 100644
--- a/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/subnet-params-model/subnet-params-model.component.ts
+++ b/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/subnet-params-model/subnet-params-model.component.ts
@@ -50,6 +50,7 @@ export class SubnetParamsModelComponent implements OnInit {
pageSize: number = 2;
recordNum: number = 0;
hasPageNo: number[] = [];
+ loading = false;
objectKeys = Object.keys;
// Comment: Above code
@@ -164,6 +165,7 @@ export class SubnetParamsModelComponent implements OnInit {
pageNo: pageNo,
pageSize: pageSize,
};
+ this.loading = true;
this.http
.getConnectionLinkTable(pageObj, this.getConnetionFailed)
.then((res) => {
@@ -267,9 +269,10 @@ export class SubnetParamsModelComponent implements OnInit {
}
judgeTn(): void {
+ console.log('fprm',this.formData)
if (
this.formData["sliceProfile_TN_resourceSharingLevel"] ===
- "non-shared"
+ "non-shared" || this.formData["sliceProfile_TN_resourceSharingLevel"]==null
) {
//:todo clear??
// this.connectionLinkTable.forEach((item) => {