summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/ccvpn-creation/ccvpn-creation.component.html
blob: 05a29a79134a67a5724f2a9090d29483feeb08e1 (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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
<!--
    Copyright (C) 2019 CMCC, Inc. and others. All rights reserved.

    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

            http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
-->
<!--<h3 class="title"> Services List </h3>-->
<!--<hr>-->
<div class="model creation-model">
    
    <div class="top-title">
        <h3 class="title fl">{{createParams.commonParams.templateType}} Instance Creation</h3>
        <div class="fl" style="width: 20%">
            <button class="submit" nz-button (click)="submit()"><span>Create</span></button>
            <button class="back" nz-button (click)="goback()">
               <i class="anticon anticon-arrow-left" style="transform: scale(1.5)"></i>
            </button>
        </div>
    </div>
    <!-- chart -->
    <div class="chart">
        Create Service
        {{createParams.commonParams.templateType}}
        <div id="createChart">
            <svg width="100%" height="100%">
                <line *ngFor="let item of lines" x1=50% y1="45%" [attr.x2]="item.x2" y2="72%"
                      style="stroke:#3fa8eb;stroke-width:2"/>
                <image xlink:href="./assets/images/cloud-site.png"
                       x="25%" y="30%" width="50%"/>
                <!-- <text dx="42%" dy="45%" style="font:700 18px 'Arial';fill:#666">{{createParams.commonParams.templateType}}</text> -->
                <text dx="42%" dy="45%" style="font:700 18px 'Arial';fill:#666"></text>
                <g *ngFor="let item of siteImage"
                   (mouseover)="showSite($event,item)"
                   (mousemove)="moveSite($event,item)"
                   (mouseout)="hideSite($event)">
                    <image
                            xlink:href="./assets/images/site.png"
                            [attr.x]="item.x" y="65%" width="80px"/>
                    <text [attr.dx]="item.x + 25" dy="72%" style="font:700 16px 'Arial';fill:#666">{{ item.name }}
                    </text>
                </g>

            </svg>
            <!-- <p class="siteNameP" [ngStyle]="siteNameStyle">{{ siteName }}</p> -->
        </div>
    </div>
    <div class="creation">
        <nz-tabset [nzTabPosition]="'top'" [nzShowPagination]=false [nzTabBarGutter]="'2'" [nzTabBarStyle]=tabBarStyle>
            <nz-tab nzTitle="SOTN VPN Info">
                <div class="sotnvpn clearfix">
                    <!--<h3>SOTN VPN Info</h3>-->
                    <ul>
                        <li><span>Name:</span> <input nz-input [(ngModel)]="sotnInfo.name"></li>
                        <li><span>Description:</span> <input nz-input [(ngModel)]="sotnInfo.description"></li>
                        <li><span>Start Time:</span>
                            <nz-date-picker [(ngModel)]="sotnInfo.startTime"
                                            (ngModelChange)="startTimeChange($event)"
                                            nzPlaceHolder="start time"
                                            nzShowTime>
                            </nz-date-picker>
                        </li>
                        <li><span>End Time:</span>
                            <nz-date-picker [(ngModel)]="sotnInfo.endTime"
                                            (ngModelChange)="endTimeChange($event)"
                                            nzPlaceHolder="end time"
                                            nzShowTime>
                            </nz-date-picker>
                        </li>
                        <li><span>COS:</span>
                            <nz-select style="width: 234px;height: 40px" [(ngModel)]="sotnInfo.COS" nzAllowClear nzPlaceHolder="Choose">
                                <nz-option nzValue="premium" nzLabel="premium"></nz-option>
                                <nz-option nzValue="standard" nzLabel="standard"></nz-option>
                            </nz-select>
                        </li>
                        <li><span style="width: 130px">Reroute Enabled:</span>
                            <nz-switch [(ngModel)]="sotnInfo.reroute"></nz-switch>
                        </li>
                        <li><span>Service Level Specification:</span> <input nz-input [(ngModel)]="sotnInfo.SLS"></li>
                        <li><span>Dual Link:</span>
                            <nz-select style="width: 234px;height: 40px" [(ngModel)]="sotnInfo.dualLink" nzAllowClear
                                       nzPlaceHolder="Choose">
                                <nz-option nzValue="no_protection" nzLabel="no_protection"></nz-option>
                                <nz-option nzValue="static_1+1" nzLabel="static_1+1"></nz-option>
                                <nz-option nzValue="permanent_1+1" nzLabel="permanent_1+1"></nz-option>
                            </nz-select>
                        </li>
                        <li><span>CIR:</span> <input nz-input [(ngModel)]="sotnInfo.CIR"></li>
                        <li><span>EIR:</span> <input nz-input [(ngModel)]="sotnInfo.EIR"></li>
                        <li><span>CBS:</span> <input nz-input [(ngModel)]="sotnInfo.CBS"></li>
                        <li><span>EBS:</span> <input nz-input [(ngModel)]="sotnInfo.EBS"></li>
                        <li><span>Color Aware:</span>
                            <nz-switch [(ngModel)]="sotnInfo.colorAware"></nz-switch>
                        </li>
                        <li><span style="width: 130px">Coupling Flag:</span>
                            <nz-switch [(ngModel)]="sotnInfo.couplingFlag"></nz-switch>
                        </li>
                    </ul>
                </div>
            </nz-tab>
            <nz-tab nzTitle="Site List">
                <div class="site">
                    <!--<h3>Site List</h3>-->
                    <button nz-button (click)="addSite()"><i class="anticon anticon-plus"
                                                             style="transform: scale(1.2)"></i></button>
                    <nz-table #siteTable [nzData]="siteTableData"
                              [nzShowPagination]="false"
                              nzSize="small">
                        <thead>
                        <tr>
                            <th nzWidth="10%"> NO.</th>
                            <th nzWidth="15%"> Name</th>
                            <th nzWidth="15%"> Description</th>
                            <th nzWidth="15%"> Post Code</th>
                            <th nzWidth="15%"> Address</th>
                            <th nzWidth="15%"> VLAN</th>
                            <th nzWidth="15%"> Action</th>
                        </tr>
                        </thead>
                        <tbody>
                        <!-- <ng-template ngFor let-data [ngForOf]="siteTable.data" let-i="index"> -->
                        <tr *ngFor="let item of siteTable.data; let i = index; ">
                            <td>{{i+1}}</td>
                            <td>{{item.baseData.name}}</td>
                            <td>{{item.baseData.description}}</td>
                            <td>{{item.baseData.postcode}}</td>
                            <td>{{item.baseData.address}}</td>
                            <td>{{item.baseData.vlan}}</td>
                            <td>
                                <span class="action" (click)="editSite(i+1)"><i class="anticon anticon-edit"></i></span>
                                &nbsp;
                                <span class="action" (click)="deleteSite(i+1)"><i
                                        class="anticon anticon-delete"></i></span>
                            </td>
                        </tr>
                        <!-- </ng-template> -->
                        </tbody>
                    </nz-table>
                </div>
            </nz-tab>
            <nz-tab nzTitle="Site_Group List" *ngIf="createParams.commonParams.templateType == 'CCVPN'">
                <div class="sitegroup" >
                    <!--<h3>Site_Group List</h3>-->
                    <button nz-button (click)="addSiteGroup()"><i class="anticon anticon-plus"
                                                                  style="transform: scale(1.2)"></i></button>
                    <nz-table #siteGroupTable [nzData]="siteGroupTableData"
                              [nzLoading]="loading"
                              [nzShowPagination]="false"
                              nzSize="small">
                        <thead>
                        <tr>
                            <th nzWidth="10%"> NO.</th>
                            <th nzWidth="20%"> Group Name</th>
                            <th nzWidth="20%"> Topology</th>
                            <th nzWidth="20%"> Sites</th>
                            <th nzWidth="15%"> Role</th>
                            <th nzWidth="15%"> Action</th>
                        </tr>
                        </thead>
                        <tbody>
                        <!-- <ng-template ngFor let-data [ngForOf]="siteGroupTable.data" let-i="index"> -->
                        <tr *ngFor="let item of siteGroupTable.data; let i = index; ">
                            <td>{{i+1}}</td>
                            <td>{{item.name}}</td>
                            <td>{{item.topology}}</td>
                            <td>{{item.sites}}</td>
                            <td>{{item.role}}</td>
                            <td>
                                <span class="action" (click)="editGroupSite(i+1)"><i class="anticon anticon-edit"></i></span>
                                &nbsp;
                                <span class="action" (click)="deleteGroupSite(i+1)"><i
                                        class="anticon anticon-delete"></i></span>
                            </td>
                        </tr>
                        <!-- </ng-template> -->
                        </tbody>
                    </nz-table>
                </div>
            </nz-tab>
        </nz-tabset>
    </div>
    <!-- site model-->
    <div class="sitemodel" *ngIf="siteModelShow">
        <h3>Site_Enterprise Service</h3>
        <div class="inputs">
            <ul>
                <li><span>Name:</span> <input nz-input [(ngModel)]="siteBaseData.name" style=" margin-right: 60px;"></li>
                <li *ngIf="createParams.commonParams.templateType == 'CCVPN'"><span>Type:</span>
                    <nz-select [(ngModel)]="siteBaseData.type" nzAllowClear
                               nzPlaceHolder="Choose"
                               style=" margin-right: 60px;">
                        <nz-option nzValue="single-gateway" nzLabel="single-gateway"></nz-option>
                        <nz-option nzValue="dual-gateway" nzLabel="dual-gateway"></nz-option>
                    </nz-select>
                </li>
                <li><span>PostCode:</span> <input nz-input [(ngModel)]="siteBaseData.postcode"></li>
                <li><span style="margin-left: 50px">Address:</span>
                    <nz-select [(ngModel)]="siteBaseData.address" nzAllowClear
                               nzPlaceHolder="Choose"
                                style="margin-right: 0">
                        <nz-option *ngFor="let item of siteModeAddress" nzValue="{{item}}"
                                   nzLabel="{{item}}"></nz-option>
                    </nz-select>
                    <!--<input nz-input [(ngModel)]="siteBaseData.address">-->
                </li>
                <li><span>VLAN:</span> <input nz-input [(ngModel)]="siteBaseData.vlan" style=" margin-right: 60px;"></li>
                <li *ngIf="createParams.commonParams.templateType == 'CCVPN'"><span>Role:</span>
                    <nz-select [(ngModel)]="siteBaseData.role" nzAllowClear
                               nzPlaceHolder="Choose"
                               style=" margin-right: 60px;">
                        <nz-option nzValue="dsvpn-hub" nzLabel="dsvpn-hub"></nz-option>
                        <nz-option nzValue="sd-wan-edge" nzLabel="sd-wan-edge"></nz-option>
                    </nz-select>
                </li>
                <li><span>Description:</span> <input nz-input [(ngModel)]="siteBaseData.description"></li>
            </ul>
        </div>
        <div *ngIf="createParams.commonParams.templateType == 'CCVPN'">
            <h3>CPE</h3>
            <div class="inputs">
                <ul>
                    <li><span>Name:</span> <input nz-input [(ngModel)]="siteCpeData.device_name" style=" margin-right: 60px;"></li>
                    <li><span>Type:</span> <input nz-input [(ngModel)]="siteCpeData.device_type" style=" margin-right: 60px;"></li>
                    <li><span>System IP:</span> <input nz-input [(ngModel)]="siteCpeData.device_systemIp"></li>
                    <li><span style="margin-left: 50px">Version:</span> <input nz-input [(ngModel)]="siteCpeData.device_version" style="margin-right: 0"></li>
                    <li><span>ESN:</span> <input nz-input [(ngModel)]="siteCpeData.device_esn" style=" margin-right: 60px;"></li>
                    <li><span>Class:</span>
                        <nz-select [(ngModel)]="siteCpeData.device_class" nzAllowClear
                                   nzPlaceHolder="Choose"
                                   style=" margin-right: 60px;">
                            <nz-option nzValue="VNF" nzLabel="VNF"></nz-option>
                            <nz-option nzValue="PNF" nzLabel="PNF"></nz-option>
                        </nz-select>
                    </li>
                    <li><span>Vendor:</span> <input nz-input [(ngModel)]="siteCpeData.device_vendor"></li>
                </ul>
            </div>
            <h3>WAN Port
                <button nz-button><i class="anticon anticon-plus" style="transform: scale(1.2)"></i></button>
            </h3>
            <div>
                <nz-table #siteModalTable [nzData]="siteWanData"
                          [nzLoading]="loading"
                          [nzShowPagination]="false"
                          nzSize="small">
                    <thead>
                    <tr>
                        <th width="4%"> NO.</th>
                        <th width="6%"> Name</th>
                        <th width="9%"> Description</th>
                        <th width="7%"> PortType</th>
                        <th width="10%"> PortNumber</th>
                        <th width="8%"> IPAddress</th>
                        <th width="14%"> Provider IP Address</th>
                        <th width="13%"> Transport Nerwork</th>
                        <th width="12%"> Input Bandwidth</th>
                        <th width="13%"> Output Bandwidth</th>
                        <th width="7%"> Action</th>
                    </tr>
                    </thead>
                    <tbody>
                    <!-- <ng-template ngFor let-data [ngForOf]="siteModalTable.data" let-i="index"> -->
                    <tr *ngFor="let item of siteModalTable.data; let i = index;">
                        <td>{{i+1}}</td>
                        <td>
                            <span *ngIf="wanPortEditNum==(i+1) && !wanPortModal">{{item.sitewanport_name}}</span>
                            <input nz-input [(ngModel)]="siteWanParams.sitewanport_name" *ngIf="wanPortEditNum==(i+1) && wanPortModal">
                        </td>
                        <td>
                            <span *ngIf="wanPortEditNum==(i+1) && !wanPortModal">{{item.sitewanport_description}}</span>
                            <input nz-input [(ngModel)]="siteWanParams.sitewanport_description" *ngIf="wanPortEditNum==(i+1) && wanPortModal">
                        </td>
                        <td>
                            <span *ngIf="wanPortEditNum==(i+1) && !wanPortModal">{{item.sitewanport_portType}}</span>
                            <nz-select style="width: 100px;" [(ngModel)]="siteWanParams.sitewanport_portType" nzAllowClear
                                       nzPlaceHolder="Choose" *ngIf="wanPortEditNum==(i+1) && wanPortModal">
                                <nz-option nzValue="GE" nzLabel="GE"></nz-option>
                                <nz-option nzValue="FE" nzLabel="FE"></nz-option>
                                <nz-option nzValue="XGE" nzLabel="XGE"></nz-option>
                                <nz-option nzValue="LTE" nzLabel="LTE"></nz-option>
                                <nz-option nzValue="xDSL(ATM)" nzLabel="xDSL(ATM)"></nz-option>
                                <nz-option nzValue="xSDL(PTM)" nzLabel="xSDL(PTM)"></nz-option>
                            </nz-select>
                        </td>
                        <td>
                            <span *ngIf="wanPortEditNum==(i+1) && !wanPortModal">{{item.sitewanport_portNumber}}</span>
                            <input nz-input [(ngModel)]="siteWanParams.sitewanport_portNumber" *ngIf="wanPortEditNum==(i+1) && wanPortModal">
                        </td>
                        <td>
                            <span *ngIf="wanPortEditNum==(i+1) && !wanPortModal">{{item.sitewanport_ipAddress}}</span>
                            <input nz-input [(ngModel)]="siteWanParams.sitewanport_ipAddress" *ngIf="wanPortEditNum==(i+1) && wanPortModal">
                        </td>
                        <td>
                              <span *ngIf="wanPortEditNum==(i+1) && !wanPortModal">{{item.sitewanport_providerIpAddress}}</span>
                            <input nz-input [(ngModel)]="siteWanParams.sitewanport_providerIpAddress" *ngIf="wanPortEditNum==(i+1) && wanPortModal">
                        </td>
                        <td>
                              <span *ngIf="wanPortEditNum==(i+1) && !wanPortModal">{{item.sitewanport_transportNetworkName}}</span>
                            <input nz-input [(ngModel)]="siteWanParams.sitewanport_transportNetworkName" *ngIf="wanPortEditNum==(i+1) && wanPortModal">
                        </td>
                        <td>
                              <span *ngIf="wanPortEditNum==(i+1) && !wanPortModal">{{item.sitewanport_inputBandwidth}}</span>
                            <input nz-input [(ngModel)]="siteWanParams.sitewanport_inputBandwidth" *ngIf="wanPortEditNum==(i+1) && wanPortModal">
                        </td>
                        <td>
                              <span *ngIf="wanPortEditNum==(i+1) && !wanPortModal">{{item.sitewanport_outputBandwidth}}</span>
                            <input nz-input [(ngModel)]="siteWanParams.sitewanport_outputBandwidth" *ngIf="wanPortEditNum==(i+1) && wanPortModal">
                        </td>
                        <td>
                            <span class="action" (click)="editWanPort(i+1)"><i class="anticon anticon-edit" style="margin: 0 5px"></i></span>
                            <span class="action" (click)="deleteModel(i+1)"><i class="anticon anticon-delete"></i></span>
                        </td>
                    </tr>
                    <!-- </ng-template> -->
                    </tbody>
                </nz-table>
            </div>
            <!--<nz-modal [(nzVisible)]="wanPortModal" nzWidth="400" nzTitle="WAN Port Edit"-->
                      <!--(nzOnCancel)="wanPortModal_Cancel()" (nzOnOk)="wanPortModal_Ok()">-->
                <!--<ul class="wanPortModalList">-->
                    <!--<li><span>Name:</span> <input nz-input [(ngModel)]="siteWanParams.sitewanport_name"></li>-->
                    <!--&lt;!&ndash; <li><span>Device Name:</span> <input nz-input [(ngModel)]="siteWanParams.sitewanport_deviceName"></li> &ndash;&gt;-->
                    <!--<li><span>Description:</span> <input nz-input [(ngModel)]="siteWanParams.sitewanport_description">-->
                    <!--</li>-->
                    <!--<li><span>Port Type:</span>-->
                        <!--<nz-select style="width: 165px;" [(ngModel)]="siteWanParams.sitewanport_portType" nzAllowClear-->
                                   <!--nzPlaceHolder="Choose">-->
                            <!--<nz-option nzValue="GE" nzLabel="GE"></nz-option>-->
                            <!--<nz-option nzValue="FE" nzLabel="FE"></nz-option>-->
                            <!--<nz-option nzValue="XGE" nzLabel="XGE"></nz-option>-->
                            <!--<nz-option nzValue="LTE" nzLabel="LTE"></nz-option>-->
                            <!--<nz-option nzValue="xDSL(ATM)" nzLabel="xDSL(ATM)"></nz-option>-->
                            <!--<nz-option nzValue="xSDL(PTM)" nzLabel="xSDL(PTM)"></nz-option>-->
                        <!--</nz-select>-->
                    <!--</li>-->
                    <!--<li><span>Port Number:</span> <input nz-input [(ngModel)]="siteWanParams.sitewanport_portNumber">-->
                    <!--</li>-->
                    <!--<li><span>Ip Address:</span> <input nz-input [(ngModel)]="siteWanParams.sitewanport_ipAddress"></li>-->
                    <!--<li><span>Provider IP Address:</span> <input nz-input-->
                                                                 <!--[(ngModel)]="siteWanParams.sitewanport_providerIpAddress">-->
                    <!--</li>-->
                    <!--<li><span>Transport Nerwork:</span> <input nz-input-->
                                                               <!--[(ngModel)]="siteWanParams.sitewanport_transportNetworkName">-->
                    <!--</li>-->
                    <!--<li><span>Input Bandwidth:</span> <input nz-input-->
                                                             <!--[(ngModel)]="siteWanParams.sitewanport_inputBandwidth">-->
                    <!--</li>-->
                    <!--<li><span>Output Bandwidth:</span> <input nz-input-->
                                                              <!--[(ngModel)]="siteWanParams.sitewanport_outputBandwidth">-->
                    <!--</li>-->
                <!--</ul>-->
            <!--</nz-modal>-->
        </div>

        <div class="action">
            <button nz-button nzType="primary" (click)="addsite_cancel()">Cancel</button>
            <button nz-button nzType="primary" (click)="addsite_OK()">Add</button>
        </div>
    </div>
    <!--sitegroupmodal-->
        <div class="sitegroupmodal" *ngIf="siteGroupModelShow" >
            <h3>Site_Group</h3>
            <div class="inputs">
                <div class="list-div">
                    <span class="fl">Group Name:</span>
                    <input nz-input [(ngModel)]="siteGroupModelData.name" style="width: 170px" class="fr">
                </div>
                <div class="list-div">
                    <span class="fl">Topology:</span>
                    <nz-select style="width: 170px;" [(ngModel)]="siteGroupModelData.topology" nzAllowClear
                               nzPlaceHolder="Choose" class="fr">
                        <nz-option nzValue="full-mesh" nzLabel="full-mesh"></nz-option>
                        <nz-option nzValue="hub-spoke" nzLabel="hub-spoke"></nz-option>
                    </nz-select>
                </div>
                <nz-table #groupModalTable [nzData]="siteGroupModalTableData" [nzLoading]="loading"
                          [nzShowPagination]="false" nzSize="small">
                    <thead>
                    <tr>
                        <th nzShowCheckbox [(nzChecked)]="allChecked" [nzIndeterminate]="indeterminate"
                            (nzCheckedChange)="groupModal_checkAll($event)"></th>
                        <th> Site Name</th>
                        <th> Role</th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr *ngFor="let item of groupModalTable.data; let i = index;">
                        <td nzShowCheckbox [nzDisabled]="item.disabled" [(nzChecked)]="item.checked"
                            (nzCheckedChange)="refreshStatus($event)"></td>
                        <td>{{ item.siteName }}</td>
                        <td>
                            <nz-select style="width: 80px;" [(ngModel)]="item.role"
                                       nzAllowClear nzPlaceHolder="Choose"
                                       [nzDisabled]="siteGroupModelData.topology != 'hub-spoke'">
                                <nz-option nzValue="hub" nzLabel="hub"></nz-option>
                                <nz-option nzValue="spoke" nzLabel="spoke"></nz-option>
                            </nz-select>
                        </td>
                    </tr>
                    </tbody>
                </nz-table>
            </div>
            <div class="action">
                <button nz-button nzType="primary" (click)="addsitegroup_cancel()">Cancel</button>
                <button nz-button nzType="primary" (click)="addsitegroup_OK()">Add</button>
            </div>
        </div>
    <div class="mask" *ngIf="siteModelShow || siteGroupModelShow"></div>
</div>