summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/views/intent-management/input-intent-condition/input-intent-condition.component.html
diff options
context:
space:
mode:
authorzoulingli128 <zll_1208@126.com>2022-09-08 15:32:27 +0800
committerzoulingli128 <zll_1208@126.com>2022-09-08 15:32:27 +0800
commit7bdeb7cc89a8d60e4c3199f1922a6bf73a9d83c1 (patch)
treebfa45c3c2e02f3f07d760065654d5c3af7ae52c2 /usecaseui-portal/src/app/views/intent-management/input-intent-condition/input-intent-condition.component.html
parenta6d5ef22e8874a33fbee58ec6813be4299b04d67 (diff)
Intent analysis frontend
Issue-ID: USECASEUI-711 Signed-off-by: zoulingli128 <zll_1208@126.com> Change-Id: I8f8636f6b47c5ba25e6f342c484fd8ffb5ed1d6d
Diffstat (limited to 'usecaseui-portal/src/app/views/intent-management/input-intent-condition/input-intent-condition.component.html')
-rw-r--r--usecaseui-portal/src/app/views/intent-management/input-intent-condition/input-intent-condition.component.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/usecaseui-portal/src/app/views/intent-management/input-intent-condition/input-intent-condition.component.html b/usecaseui-portal/src/app/views/intent-management/input-intent-condition/input-intent-condition.component.html
new file mode 100644
index 00000000..9dab2962
--- /dev/null
+++ b/usecaseui-portal/src/app/views/intent-management/input-intent-condition/input-intent-condition.component.html
@@ -0,0 +1,24 @@
+<nz-modal [(nzVisible)]="showModel" nzTitle="Add Condition" nzCentered (nzOnCancel)="handleCancel()"
+ (nzOnOk)="handleOk()" nzWidth="44%" nzHeight="600px" class="intent-management-modal">
+ <div class="intent-condition-div clearfix">
+ <p class="expectation-p w50">
+ <span class="left"> Condition Name:</span>
+ <input nz-input id="condition_name" [(ngModel)]="this.defaultParams['conditionName']">
+ </p>
+ <p class="expectation-p w50">
+ <span class="left"> Operator:</span>
+ <nz-select *ngIf="conditionType === 'value'" [(ngModel)]="this.defaultParams['operator']" (ngModelChange)="handleChange($event)">
+ <nz-option [nzValue]="itemType.value" [nzLabel]="itemType.label" *ngFor="let itemType of operatorList"></nz-option>
+ </nz-select>
+ </p>
+ <div class="condition-type">
+ <nz-radio-group [(ngModel)]="conditionType">
+ <label nz-radio nzValue="value">
+ Condition Value
+ <input type="text" nz-input id="condition_value" [(ngModel)]="this.defaultParams['conditionValue']" *ngIf="conditionType === 'value'" placeholder="please input condition value" />
+ </label>
+ <label nz-radio nzValue="list" [nzDisabled]="true">Condition List</label>
+ </nz-radio-group>
+ </div>
+ </div>
+</nz-modal> \ No newline at end of file