summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/views/services/services-list/create-model/create-model.component.html
blob: 93a2bd503230eb8c7ba71578a5138819165c32f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<nz-modal nzWidth="428" [(nzVisible)]="isVisible" nzTitle=" {{'i18nTextDefine_ServiceCreation' | translate}} "
    (nzOnCancel)="handleCancel()"
    (nzOnOk)="handleOk()" nzClassName="serviceCreationModel"
    nzCancelText=" {{'i18nTextDefine_Cancel' | translate}} "
    nzOkText=" {{'i18nTextDefine_modelOk' | translate}} "
>
    <div class="select-list">
        <span> {{"i18nTextDefine_Customer" | translate}} : </span>
        <nz-select [(ngModel)]="currentCustomer.name" nzAllowClear
            (ngModelChange)="customerChange()">
            <nz-option *ngFor="let item of customerList" [nzValue]="item.name" [nzLabel]="item.name"></nz-option>
        </nz-select>
    </div>
    <div class="select-list">
        <span> {{"i18nTextDefine_ServiceType" | translate}} : </span>
        <nz-select [(ngModel)]="currentServiceType.name" nzAllowClear>
            <nz-option *ngFor="let item of serviceTypes" [nzValue]="item.name" [nzLabel]="item.name">
            </nz-option>
        </nz-select>
    </div>
    <div class="select-list">
        <span> {{"i18nTextDefine_UseCase" | translate}} : </span>
        <nz-select [(ngModel)]="templateTypeSelected" nzAllowClear
            (ngModelChange)="choseTemplateType()">
            <nz-option nzValue="SOTN" nzLabel="SOTN"></nz-option>
            <nz-option nzValue="CCVPN" nzLabel="CCVPN"></nz-option>
            <nz-option nzValue="E2E Service" nzLabel="E2E Service"></nz-option>
            <nz-option nzValue="Network Service" nzLabel="Network Service"></nz-option>
            <nz-option nzValue="MDONS" nzLabel="MDONS"></nz-option>
        </nz-select>
    </div>
    <div class="select-list">
        <span> {{"i18nTextDefine_Template" | translate}} : </span>
        <nz-select [(ngModel)]="currentTemplate" nzAllowClear>
            <nz-option *ngFor="let item of templates" [nzValue]="item" [nzLabel]="item.name"></nz-option>
        </nz-select>
    </div>
    <div *ngIf="templateTypeSelected === 'E2E Service'">
        <div class="select-list">
            <span> {{"i18nTextDefine_Orchestrator" | translate}} : </span>
            <nz-select [(ngModel)]="orchestratorSelected" nzAllowClear>
                <nz-option *ngFor="let item of orchestratorList" [nzValue]="item" [nzLabel]="item.name"></nz-option>
            </nz-select>
        </div>
        <div class="checkbox select-list">
            <span>Sol005 :</span>
            <input type="checkbox"
                [(ngModel)]="isSol005Interface" value="true" nzAllowClear>
            
        </div>
    </div>
    <div class="select-list" *ngIf="temParametersTips">
        {{"i18nTextDefine_Templateparsingfailed" | translate}}
    </div>
</nz-modal>
<div class="loading" *ngIf="loadingAnimateShow">
    <img src="assets/images/loading-animate2.gif" alt="loading">
    <p>Please wating……</p>
</div>