feat:optimize page style and modify the parameter request body 53/99653/1
authorcyuamber <xuranyjy@chinamobile.com>
Mon, 16 Dec 2019 02:43:47 +0000 (10:43 +0800)
committercyuamber <xuranyjy@chinamobile.com>
Mon, 16 Dec 2019 02:43:51 +0000 (10:43 +0800)
Change-Id: I204486076eaa07b98e0d4bb4e2c541df31da79b0
Issue-ID: USECASEUI-369
Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
usecaseui-portal/src/app/views/fcaps/monitor-5g/monitor-5g.component.ts
usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/nsi-management/nsi-model/nsi-model.component.html
usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/nssi-management/nssi-model/nssi-model.component.html
usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/slicing-business-management/slicing-business-model/slicing-business-model.component.html
usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/slicing-business-management/slicing-business-table/slicing-business-table.component.html

index 0ad68c5..2113289 100644 (file)
@@ -79,13 +79,15 @@ export class Monitor5gComponent implements OnInit {
         if (this.selectDate !== 0) {
             time = this.selectDate
         }
-        const service_list = [];
+        const requestBody = {
+            service_list:[]
+        };
         this.listOfData.forEach(item => {
-            service_list.push({ service_id: item.service_instance_id });
+            requestBody.service_list.push({ service_id: item.service_instance_id });
         });
-        this.fetchTrafficData(service_list, time);
-        this.fetchOnlineusersData(service_list, time);
-        this.fetchBandwidthData(service_list, time);
+        this.fetchTrafficData(requestBody, time);
+        this.fetchOnlineusersData(requestBody, time);
+        this.fetchBandwidthData(requestBody, time);
     }
     fetchTrafficData(service_list, time) {
         this.myhttp.getFetchTraffic(service_list, time).subscribe(res => {
index 9de2b88..336e11c 100644 (file)
@@ -9,7 +9,7 @@
           <th>Service Type</th>
           <th>S-NSSAI</th>
           <th>Status</th>
-          <th width="100px">Detail</th>
+          <th width="110px">Detail</th>
         </tr>
       </thead>
       <tbody>
@@ -37,7 +37,7 @@
           <th>Service Type</th>
           <th>Environment Context</th>
           <th>Status</th>
-          <th width="100px">Detail</th>
+          <th width="110px">Detail</th>
         </tr>
       </thead>
       <tbody>
index 793b819..fd21b52 100644 (file)
@@ -15,7 +15,7 @@
                     <th>Service Instance Name</th>
                     <th>Service Type</th>
                     <th>Status</th>
-                    <th width="100px">Detail</th>
+                    <th width="110px">Detail</th>
                 </tr>
             </thead>
             <tbody>
index 5ca936b..9dbd1c2 100644 (file)
@@ -30,7 +30,7 @@
                     <th>S-NSSAI</th>
                     <th>Status</th>
                        <th width="180px">Aciton</th>
-                    <th width="100px">Detail</th>
+                    <th width="110px">Detail</th>
                 </tr>
             </thead>
             <tbody>