diff options
author | guochuyicmri <guochuyi@chinamobile.com> | 2019-05-20 10:00:59 +0800 |
---|---|---|
committer | guochuyicmri <guochuyi@chinamobile.com> | 2019-05-20 10:01:17 +0800 |
commit | 510efe24bd92616d621f47650b64110f71776cb2 (patch) | |
tree | 582f3db3a135fde33770f766c8737cf2d598dde8 /usecaseui-portal/src/app/services | |
parent | e88155c2a4046974387fcb64406a28ed672a63d4 (diff) |
Package management interface
Change-Id: I178924275f5ffe6a54d0b7a7efa99b6f8532843e
Issue-ID: USECASEUI-211
Signed-off-by: guochuyicmri <guochuyi@chinamobile.com>
Diffstat (limited to 'usecaseui-portal/src/app/services')
3 files changed, 14 insertions, 2 deletions
diff --git a/usecaseui-portal/src/app/services/onboard-vnf-vm/onboard-vnf-vm.component.html b/usecaseui-portal/src/app/services/onboard-vnf-vm/onboard-vnf-vm.component.html index 31307abf..81b77fbb 100644 --- a/usecaseui-portal/src/app/services/onboard-vnf-vm/onboard-vnf-vm.component.html +++ b/usecaseui-portal/src/app/services/onboard-vnf-vm/onboard-vnf-vm.component.html @@ -35,6 +35,7 @@ <div class="listlin"></div> <div class="listfile"> <div style="color: rgba(66,84,143,1);font-family:ArialMT;padding-bottom: 15px;height: 15%"> {{"i18nTextDefine_Uploaded_files" | translate}} </div> + <div class="nouploadfile">{{"i18nTextDefine_Nofileuploading" | translate}}</div> <div style="height:80%;overflow: auto"> <div class="listfilebgc" *ngFor="let itemns of nsRightList"> <div> @@ -145,6 +146,7 @@ <div class="listlin"></div> <div class="listfile"> <div style="color: rgba(66,84,143,1);font-family:ArialMT;padding-bottom: 15px;height: 15%"> {{"i18nTextDefine_Uploaded_files" | translate}} </div> + <div class="nouploadfile">{{"i18nTextDefine_Nofileuploading" | translate}}</div> <div style="height:80%;overflow: auto"> <div class="listfilebgc" *ngFor="let itemns of vnfRightList"> <div> @@ -242,6 +244,7 @@ <div class="listlin"></div> <div class="listfile"> <div style="color: rgba(66,84,143,1);font-family:ArialMT;padding-bottom: 15px;height: 15%"> {{"i18nTextDefine_Uploaded_files" | translate}} </div> + <div class="nouploadfile">{{"i18nTextDefine_Nofileuploading" | translate}}</div> <div style="height:80%;overflow: auto"> <div class="listfilebgc" *ngFor="let itemns of pnfRightList"> <div> diff --git a/usecaseui-portal/src/app/services/onboard-vnf-vm/onboard-vnf-vm.component.less b/usecaseui-portal/src/app/services/onboard-vnf-vm/onboard-vnf-vm.component.less index 593597dc..c31409c9 100644 --- a/usecaseui-portal/src/app/services/onboard-vnf-vm/onboard-vnf-vm.component.less +++ b/usecaseui-portal/src/app/services/onboard-vnf-vm/onboard-vnf-vm.component.less @@ -81,6 +81,13 @@ hr { vertical-align: top; display: inline-block; margin-left: 10%; + .nouploadfile{ + height: 80%; + width: 100%; + text-align: center; + font-size: 22px; + margin-top: 5%; + } .listfilebgc { background-color: #fff; border-bottom: 8px solid #F7F8FC; diff --git a/usecaseui-portal/src/app/services/services-list/services-list.component.ts b/usecaseui-portal/src/app/services/services-list/services-list.component.ts index fb110626..d9b1656e 100644 --- a/usecaseui-portal/src/app/services/services-list/services-list.component.ts +++ b/usecaseui-portal/src/app/services/services-list/services-list.component.ts @@ -850,7 +850,9 @@ e2eCloseCreate(obj,templateCreatestarting,templateCreateSuccessFaild) { console.log(data); newData.rate = 100; newData.status = "Successful"; - this.createSuccessNotification(templateCreateSuccessFaild); + this.thisCreateService = newData; + console.log(this.thisCreateService) + this.createSuccessNotification(templateCreateSuccessFaild); newData.tips = this.listSortMasters["operationTypes"].find((its) => { return its["sortCode"] == newData["statusClass"] && its["language"] == this.language })["sortValue"] + '\xa0\xa0\xa0' + this.listSortMasters["operationResults"].find((its) => { @@ -1071,6 +1073,7 @@ e2eCloseCreate(obj,templateCreatestarting,templateCreateSuccessFaild) { this.stopNsService(id,requestBody).then((jobid)=>{ if(jobid == "Failed"){ service.status = "Failed"; + this.deleteSuccessNotification(templateDeleteSuccessFaild); service.tips = this.listSortMasters["operationTypes"].find((its)=>{ return its["sortCode"]==service.statusClass && its["language"]==this.language})["sortValue"] + this.listSortMasters["operationResults"].find((its) => { return its["sortCode"] == 2002 && its["language"] == this.language })["sortValue"]; @@ -1106,7 +1109,6 @@ e2eCloseCreate(obj,templateCreatestarting,templateCreateSuccessFaild) { } console.log(service,"deleteservice"); console.log(this.thisService,"thisService"); - this.deleteSuccessNotification(templateDeleteSuccessFaild); let hasUndone = this.tableData.some((item)=>{ return item.rate < 100; }) |