feat:Optimize page display issues 27/101827/2
authorcyuamber <xuranyjy@chinamobile.com>
Mon, 17 Feb 2020 11:47:33 +0000 (19:47 +0800)
committercyuamber <xuranyjy@chinamobile.com>
Mon, 17 Feb 2020 13:52:31 +0000 (21:52 +0800)
Change-Id: I00b87cd222abf30d38be234a6dff9fc9d81c34e6
Issue-ID: USECASEUI-369
Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
usecaseui-portal/src/app/views/services/slicing-management/csmf-slicing-business-management/csmf-slicing-business-management.component.html
usecaseui-portal/src/app/views/services/slicing-management/csmf-slicing-business-management/csmf-slicing-business-management.component.ts

index 01a592c..4d5ab79 100644 (file)
@@ -7,7 +7,7 @@
         <nz-option *ngFor="let item of statusOptions" [nzLabel]="item" [nzValue]="item"></nz-option>
       </nz-select>
     </div>
-    <button nz-button nzType="primary" class="buy-button" (click)="OrderModelShow()">Purchase</button>
+    <button nz-button nzType="primary" class="buy-button" (click)="OrderModelShow()">Create</button>
   </div>
   <div class="slicing-resource-table-list">
     <nz-table #basicTable [nzData]="listOfData" [nzFrontPagination]="false" nzShowSizeChanger
index 47a497f..272a84a 100644 (file)
@@ -34,23 +34,17 @@ export class CsmfSlicingBusinessManagementComponent implements OnInit {
     total: number = 0;
     loading = false;
     statusOptions: any[] = BUSINESS_STATUS;
-    // isSelect: boolean = false;
     progressingTimer: any[] = [];
     terminateStart: any[] = [];
     businessOrderShow: boolean = false;
     getCSMFBusinessList() {
         this.loading = true;
-        // this.isSelect = false;
         this.listOfData = [];
         let paramsObj = {
             status: this.selectedValue.toLocaleLowerCase(),
             pageNo: this.pageIndex,
             pageSize: this.pageSize
         };
-        // if (this.selectedValue !== BUSINESS_STATUS[0]) {
-        //     paramsObj["businessStatus"] = this.selectedValue;
-        //     this.isSelect = true;
-        // }
         this.myhttp.getCSMFSlicingBusinessList(paramsObj).subscribe(res => {
             const { result_header: { result_code }, result_body: { slicing_order_list, record_number } } = res;
             this.loading = false;