|
|
|
@ -189,7 +189,7 @@ define(['angular', 'static/commons/commons', 'static/commons/angular-ueditor', '
|
|
|
|
|
$scope.saveNoticeResult = false;
|
|
|
|
|
commonDialog.alert({title: 'Success', content: 'Send a notice successfully', type: 'success'});
|
|
|
|
|
$scope.$close();
|
|
|
|
|
$state.go('notice.detail', {notice_id: $scope.notice.notice_id})
|
|
|
|
|
$state.go('^.detail', {notice_id: $scope.notice.notice_id},{reload:true})
|
|
|
|
|
}, function (resp) {
|
|
|
|
|
$scope.saveNoticeResult = false;
|
|
|
|
|
commonDialog.alert({title: 'Error', content: resp.data.message, type: 'error'});
|
|
|
|
|