diff options
author | 2019-12-09 10:51:11 +0800 | |
---|---|---|
committer | 2019-12-09 11:33:57 +0800 | |
commit | b821e657a2e05193c1d4ef014cb9a98a08ed2c15 (patch) | |
tree | e42b10b8485b035b2a270f7a7416f94cfad78104 /usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/nsi-management/nsi-table | |
parent | 776d3ae59e486d2152589ebe6c33267b63efc5fc (diff) |
feat:add detail model of slicing nsi page and add nssi detail model Base code
Change-Id: I1636bc07415a8e6588bfa742333c684351082d62
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/nsi-management/nsi-table')
-rw-r--r-- | usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/nsi-management/nsi-table/nsi-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/nsi-management/nsi-table/nsi-table.component.ts b/usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/nsi-management/nsi-table/nsi-table.component.ts index 48c8d5ac..22cc3eec 100644 --- a/usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/nsi-management/nsi-table/nsi-table.component.ts +++ b/usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/nsi-management/nsi-table/nsi-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 {NsiModelComponent} from "../nsi-model/nsi-model.component"; +import { NzModalService } from 'ng-zorro-antd'; @Component({ selector: 'app-nsi-table', templateUrl: './nsi-table.component.html', @@ -9,7 +11,8 @@ import {SlicingTaskServices} from "../../../../../../core/services/slicingTaskSe export class NsiTableComponent implements OnInit { constructor( - private myhttp: SlicingTaskServices + private myhttp: SlicingTaskServices, + private modalService: NzModalService ) { } @@ -53,7 +56,16 @@ export class NsiTableComponent implements OnInit { searchData(reset: boolean = false) { this.getNsiList(); } - showdetail(data){ - + showdetail(data) { + const nsiModal = this.modalService.create({ + nzTitle:"Detail", + nzContent: NsiModelComponent, + nzWidth:"70%", + nzOkText: null, + nzCancelText: null, + nzComponentParams:{ + nsiId:data.service_instance_id + } + }) } } |