Change-Id: I4a6ef01b376b70d445a6786426d4cc9e6f28ee55
Issue-ID: USECASEUI-122
Signed-off-by: zhangab <zhanganbing@chinamobile.com>
// console.log('create response...');
console.log(response);
var operationId = response.data.operationId;
+ if(operationId == null){
+ console.log('error: operationId is null');
+ return false;
+ }
successFun( operationId);
});
},
}
console.log('timer finished!');
} else if ('processing' === serviceProgress.result) {
- ctrl.dynamic = serviceProgress.progress;
+ if(serviceProgress.progress > ctrl.dynamic){
+ ctrl.dynamic = serviceProgress.progress;
+ }
ctrl.operation = serviceProgress.operationContent;
console.log('timer processing ......');
}
<td>
<button class="btn btn-primary" ng-click="ctrl.scaleService(serviceInstance)">Scale</button>
<button class="btn btn-primary" ng-click="ctrl.deleteService(serviceInstance)">Delete</button>
- <button class="btn btn-primary" ng-click="ctrl.upDateService(serviceInstance)">upDate</button>
+ <!-- <button class="btn btn-primary" ng-click="ctrl.upDateService(serviceInstance)">upDate</button> -->
</td>
</tr>
</tbody>