|
|
@@ -392,6 +392,7 @@ define([ 'angularAMD', 'ui.router', 'ui-bootstrap', 'ngLocal', 'ngTable', 'file-
|
|
|
if (data.success) {
|
|
|
toaster.pop('success', '操作成功');
|
|
|
}
|
|
|
+ getNum();
|
|
|
$scope.projectParams.reload();
|
|
|
}, function(){
|
|
|
|
|
|
@@ -551,7 +552,7 @@ define([ 'angularAMD', 'ui.router', 'ui-bootstrap', 'ngLocal', 'ngTable', 'file-
|
|
|
if (data.error) {
|
|
|
toaster.pop('error','操作失败');
|
|
|
}
|
|
|
- $modalInstance.close();
|
|
|
+ $modalInstance.close(true);
|
|
|
}, function(){
|
|
|
|
|
|
});
|