Change-Id: I23a0076ffb14779e60e0aa810a6c0f1fa046a3ac
Issue-ID: USECASEUI-306
Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
See the License for the specific language governing permissions and
limitations under the License.
-->
+<nz-spin [nzSpinning]="isSpinning" nzSize="large">
<div class="model">
<!--chart-->
<button nz-button nzType="primary" *ngIf="!nonetwork" style="margin-top: 2px;display: inline-block" (click)="showForm()"
<button nz-button nzType="default" nzSize="small" class="del-button" style="width: 60px;" (click)="hideForm()"> {{"i18nTextDefine_Cancel" | translate}} </button>
</div>
</div>
-
+</nz-spin>
outCloudShow = false;
inputshow = false;
delBoxisVisible = false;
+ isSpinning = true;
d3Data = [];//D3Render the required data
logicalLinks = [];//logicalLinks Existing connection data returned by the interface
//Get cloud image data
getD3Data() {
+ this.isSpinning = true;
this.myhttp.getNetworkD3Data()
.subscribe((data) => {
+ this.isSpinning = false;
if (data.length == 0) {
this.addLinkDisabled = false;
this.nonetwork = true;
pageIndex = 1;
pageSize = 10;
total = 100;
- loading = false;
+ loading = true;
getTableData(){
}
this.myhttp.getServicesTableData(paramsObj)
.subscribe((data)=>{
+ this.loading = false;
console.log(data);
this.total = data.body.total;
this.tableData = data.body.tableList.map((item)=>{