summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src
diff options
context:
space:
mode:
authorkaixiliu <liukaixi@chinamobile.com>2023-09-08 09:45:46 +0800
committerkaixiliu <liukaixi@chinamobile.com>2023-09-08 09:46:16 +0800
commita2f73d5ef40ef0d72a0651ecbaf1b01546cf0648 (patch)
tree3d0af0e53f224387cc314d053c7b538dbcbc9038 /usecaseui-portal/src
parent33dbeb21534e97d0352fa9fc6d27ee733bb2124c (diff)
Modify Intent Model
Issue-ID: USECASEUI-819 Change-Id: I2ce141cbb0840d255ddf18d5060d51b392197d94 Signed-off-by: kaixiliu <liukaixi@chinamobile.com>
Diffstat (limited to 'usecaseui-portal/src')
-rw-r--r--usecaseui-portal/src/app/views/intent-management/input-intent-expectation/input-intent-expectation.component.ts5
-rw-r--r--usecaseui-portal/src/app/views/intent-management/input-intent-management/input-intent-management.component.ts4
2 files changed, 5 insertions, 4 deletions
diff --git a/usecaseui-portal/src/app/views/intent-management/input-intent-expectation/input-intent-expectation.component.ts b/usecaseui-portal/src/app/views/intent-management/input-intent-expectation/input-intent-expectation.component.ts
index ec7b1207..6846a7ba 100644
--- a/usecaseui-portal/src/app/views/intent-management/input-intent-expectation/input-intent-expectation.component.ts
+++ b/usecaseui-portal/src/app/views/intent-management/input-intent-expectation/input-intent-expectation.component.ts
@@ -22,7 +22,7 @@ export class InputIntentExpectationComponent implements OnInit {
expectationType:'DELIVERY',
expectationObject:{
objectType:'CCVPN',
- objectInstance:'',
+ objectInstance:[],
},
expectationTargets:[]
};
@@ -64,6 +64,7 @@ export class InputIntentExpectationComponent implements OnInit {
handleOk(): void {
if(JSON.stringify(this.editExpectationTableData)==='{}'){
this.defaultParams['expectationId']=this.Util.getUuid()
+ this.defaultParams['expectationObject']['objectInstance']=this.defaultParams['expectationObject']['objectInstance'].split(',')
}
this.modalOpreation.emit({ "cancel": false, "param": this.defaultParams });
this.clearExpectationData()
@@ -84,7 +85,7 @@ export class InputIntentExpectationComponent implements OnInit {
expectationType:'DELIVERY',
expectationObject:{
objectType:'CCVPN',
- objectInstance:'',
+ objectInstance:[],
},
expectationTargets:[]
};
diff --git a/usecaseui-portal/src/app/views/intent-management/input-intent-management/input-intent-management.component.ts b/usecaseui-portal/src/app/views/intent-management/input-intent-management/input-intent-management.component.ts
index 71624423..58a658ad 100644
--- a/usecaseui-portal/src/app/views/intent-management/input-intent-management/input-intent-management.component.ts
+++ b/usecaseui-portal/src/app/views/intent-management/input-intent-management/input-intent-management.component.ts
@@ -25,7 +25,7 @@ export class InputIntentManagementComponent implements OnInit {
expectationType:'',
expectationObject:{
objectType:'',
- objectInstance:''
+ objectInstance:[]
},
expectationTargets:[
{
@@ -88,7 +88,7 @@ export class InputIntentManagementComponent implements OnInit {
expectationType:'',
expectationObject:{
objectType:'',
- objectInstance:''
+ objectInstance:[]
},
expectationTargets:[
{