feat:Optimize page display issues of csmf slicinng page 18/101718/1
authorcyuamber <xuranyjy@chinamobile.com>
Fri, 14 Feb 2020 04:49:17 +0000 (12:49 +0800)
committercyuamber <xuranyjy@chinamobile.com>
Fri, 14 Feb 2020 04:49:22 +0000 (12:49 +0800)
Change-Id: I1cf2a526083a3aefe84b092c4f6b72923a1f9aca
Issue-ID: USECASEUI-368
Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
usecaseui-portal/src/app/views/services/slicing-management/csmf-slicing-business-management/business-order/business-order.component.html
usecaseui-portal/src/app/views/services/slicing-management/csmf-slicing-business-management/csmf-slicing-business-management.component.html
usecaseui-portal/src/styles.less

index dc40108..e4a5ef1 100644 (file)
@@ -9,6 +9,14 @@
                         {{ item.title }}
                     </nz-form-label>
                     <nz-form-control [nzSpan]="15">
+                        <input nz-input nz-tooltip
+                               [id]="item.key"
+                               [name]="item.key"
+                               [(ngModel)]="slicing_order_info[item.key]"
+                               [ngClass]="{'error-input-border':validateRules[i] === true}"
+                               *ngIf=" item.title === 'Slicing Business Name' "
+                               (blur)="validator(item.key,slicing_order_info[item.key],i)"
+                        />
                         <nz-tooltip
                                 [nzTitle]="tooltipText"
                                 [nzPlacement]="'right'"
@@ -19,7 +27,7 @@
                                    [name]="item.key"
                                    [(ngModel)]="slicing_order_info[item.key]"
                                    [ngClass]="{'error-input-border':validateRules[i] === true}"
-                                   *ngIf=" item.title !== 'Resource Sharing Level' && item.title !== 'Mobility' && item.title !== 'Area' "
+                                   *ngIf=" item.title !== 'Slicing Business Name' && item.title !== 'Resource Sharing Level' && item.title !== 'Mobility' && item.title !== 'Area' "
                                    (blur)="validator(item.key,slicing_order_info[item.key],i)"
                                    (focus)="changeTooltipText(item.title)"
                             />
index 8d7e13b..ea4e55e 100644 (file)
@@ -22,7 +22,8 @@
         <!--<th width=110>Service Type</th>-->
         <th width=110>S-NSSAI</th>
         <th width=110>Status</th>
-        <th width=180>Aciton</th>
+        <th width=120>Activate</th>
+        <th width=130>Terminate</th>
       </tr>
       </thead>
       <tbody>
           <td>{{ data.service_snssai }}</td>
           <td>
                             <span class="marginLeft10">
-                                <span *ngIf="data.last_operation_progress && data.last_operation_progress !== '100'">
-                                    {{data.last_operation_progress+'%'}}
-                                </span>
-                                <br>
                                 {{data.order_status}}
                             </span>
             <br>
                          (ngModelChange)="switchChange(data,i)"></nz-switch>
               <nz-progress
                       *ngIf="data.last_operation_type && data.last_operation_progress && data.last_operation_progress !== '100' && data.last_operation_type !== 'DELETE'"
-                      [nzPercent]="data.last_operation_progress" [nzShowInfo]="false" nzStatus="active">
-              </nz-progress>
-            </div>
-            <div class="action-icon">
-              <i [ngClass]="{'cannotclick': data.last_operation_type && data.last_operation_progress && data.last_operation_progress !== '100' && (data.last_operation_type !== 'DELETE' || data.order_status==='activated')}"
-                 nz-icon nzType="poweroff" nzTheme="outline" class="anticon anticon-poweroff"
-                 (click)="terminate(data,i)"></i>
-              <nz-progress
-                      *ngIf="data.last_operation_type && data.last_operation_progress && data.last_operation_progress !== '100' && terminateStart[i]"
-                      [nzPercent]="data.last_operation_progress" [nzShowInfo]="false" nzStatus="active">
+                      [nzPercent]="data.last_operation_progress" [nzShowInfo]="true" nzStatus="active">
               </nz-progress>
             </div>
           </td>
+            <td>
+                <div class="action-icon">
+                    <i [ngClass]="{'cannotclick': data.last_operation_type && data.last_operation_progress && data.last_operation_progress !== '100' && (data.last_operation_type !== 'DELETE' || data.order_status==='activated')}"
+                       nz-icon nzType="poweroff" nzTheme="outline" class="anticon anticon-poweroff"
+                       (click)="terminate(data,i)"></i>
+                    <nz-progress
+                            *ngIf="data.last_operation_type && data.last_operation_progress && data.last_operation_progress !== '100' && terminateStart[i]"
+                            [nzPercent]="data.last_operation_progress" [nzShowInfo]="true" nzStatus="active">
+                    </nz-progress>
+                </div>
+            </td>
         </tr>
       </ng-template>
       </tbody>
index 0cbd1a4..bd3a6b7 100644 (file)
@@ -859,7 +859,4 @@ nz-notification-container .ant-notification{
   .ant-table-wrapper {
     padding: 10px;
   }
-}
-#cdk-overlay-13.cdk-overlay-pane{
-  display: none!important;
 }
\ No newline at end of file