summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal
diff options
context:
space:
mode:
authorcyuamber <xuranyjy@chinamobile.com>2020-02-28 15:28:51 +0800
committercyuamber <xuranyjy@chinamobile.com>2020-02-28 15:29:04 +0800
commitc7eddd7f76b56d4bd7e41ef01286633d76914269 (patch)
treea80dccaa28e2a9053a7ae1750744d8818ef8d787 /usecaseui-portal
parentfa7bc1af69c58120fa5a0746d75a4c08bccfd986 (diff)
feat:Optimize string to uppercase of slicing page
Change-Id: I3e990e32f46270754c351f17fa48479162f5ba52 Issue-ID: USECASEUI-368 Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
Diffstat (limited to 'usecaseui-portal')
-rw-r--r--usecaseui-portal/src/app/views/services/slicing-management/csmf-slicing-business-management/csmf-slicing-business-management.component.ts2
-rw-r--r--usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/slicing-business-management/slicing-business-table/slicing-business-table.component.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/usecaseui-portal/src/app/views/services/slicing-management/csmf-slicing-business-management/csmf-slicing-business-management.component.ts b/usecaseui-portal/src/app/views/services/slicing-management/csmf-slicing-business-management/csmf-slicing-business-management.component.ts
index 387c98d7..73736f97 100644
--- a/usecaseui-portal/src/app/views/services/slicing-management/csmf-slicing-business-management/csmf-slicing-business-management.component.ts
+++ b/usecaseui-portal/src/app/views/services/slicing-management/csmf-slicing-business-management/csmf-slicing-business-management.component.ts
@@ -64,7 +64,7 @@ export class CsmfSlicingBusinessManagementComponent implements OnInit {
let obj = {
serviceId: item.order_id
};
- if (item.last_operation_type === 'DELETE') this.terminateStart[index] = true
+ if (item.last_operation_type.toUpperCase() === 'DELETE') this.terminateStart[index] = true
else this.terminateStart[index] = false;
this.queryProgress(obj, index, updata).then(() => {
item.last_operation_progress = '100';
diff --git a/usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/slicing-business-management/slicing-business-table/slicing-business-table.component.ts b/usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/slicing-business-management/slicing-business-table/slicing-business-table.component.ts
index fbce729f..330360ac 100644
--- a/usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/slicing-business-management/slicing-business-table/slicing-business-table.component.ts
+++ b/usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/slicing-business-management/slicing-business-table/slicing-business-table.component.ts
@@ -70,7 +70,7 @@ export class SlicingBusinessTableComponent implements OnInit {
let obj = {
serviceId: item.service_instance_id
};
- if (item.last_operation_type === 'DELETE') this.terminateStart[index] = true
+ if (item.last_operation_type.toUpperCase() === 'DELETE') this.terminateStart[index] = true
else this.terminateStart[index] = false;
this.queryProgress(obj, item.orchestration_status, index, updata).then((res) => {
item.last_operation_progress = '100';