diff options
author | 2019-12-09 15:31:48 +0800 | |
---|---|---|
committer | 2019-12-09 15:31:57 +0800 | |
commit | 99770660d5b35c75e6127c14c4e362720b200747 (patch) | |
tree | 309c9f93de666e98c22f3b556fc617802045c462 /usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/nssi-management/nssi-table | |
parent | 926cecdfcb192ffb87d3a2bdbc984ae6a691885d (diff) |
feat:add detail model of slicing nssi page
Change-Id: Id30e6bee53dbdd7dbac4805e8df3ef8a52898996
Issue-ID: USECASEUI-369
Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
Diffstat (limited to 'usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/nssi-management/nssi-table')
-rw-r--r-- | usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/nssi-management/nssi-table/nssi-table.component.ts | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/nssi-management/nssi-table/nssi-table.component.ts b/usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/nssi-management/nssi-table/nssi-table.component.ts index 00e5c5c9..034b9a5e 100644 --- a/usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/nssi-management/nssi-table/nssi-table.component.ts +++ b/usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/nssi-management/nssi-table/nssi-table.component.ts @@ -1,6 +1,8 @@ import { Component, OnInit } from '@angular/core'; import {BUSINESS_STATUS} from '../../../../../../../constants/constants'; import {SlicingTaskServices} from "../../../../../../core/services/slicingTaskServices"; +import { NzModalService } from 'ng-zorro-antd'; +import {NssiModelComponent} from "../nssi-model/nssi-model.component"; @Component({ selector: 'app-nssi-table', templateUrl: './nssi-table.component.html', @@ -9,7 +11,8 @@ import {SlicingTaskServices} from "../../../../../../core/services/slicingTaskSe export class NssiTableComponent implements OnInit { constructor( - private myhttp: SlicingTaskServices + private myhttp: SlicingTaskServices, + private modalService: NzModalService ) { } @@ -53,7 +56,16 @@ export class NssiTableComponent implements OnInit { searchData(reset: boolean = false) { this.getNssiList(); } - showdetail(data){ - + showdetail(data) { + const nssiModal = this.modalService.create({ + nzTitle:"Detail", + nzContent: NssiModelComponent, + nzWidth:"70%", + nzOkText: null, + nzCancelText: null, + nzComponentParams:{ + nssiId:data.service_instance_id + } + }) } } |