|
|
@ -188,7 +188,7 @@ define(['angular', 'static/commons/commons', 'static/commons/angular-ueditor', '
|
|
|
|
$http.put('/sys/notice/' + $scope.notice.notice_id, $scope.notice).then(function (resp) {
|
|
|
|
$http.put('/sys/notice/' + $scope.notice.notice_id, $scope.notice).then(function (resp) {
|
|
|
|
$scope.saveNoticeResult = false;
|
|
|
|
$scope.saveNoticeResult = false;
|
|
|
|
commonDialog.alert({title: 'Success', content: 'Send a notice successfully', type: 'success'});
|
|
|
|
commonDialog.alert({title: 'Success', content: 'Send a notice successfully', type: 'success'});
|
|
|
|
$scope.close();
|
|
|
|
$scope.$close();
|
|
|
|
$state.go('notice.detail', {notice_id: $scope.notice.notice_id})
|
|
|
|
$state.go('notice.detail', {notice_id: $scope.notice.notice_id})
|
|
|
|
}, function (resp) {
|
|
|
|
}, function (resp) {
|
|
|
|
$scope.saveNoticeResult = false;
|
|
|
|
$scope.saveNoticeResult = false;
|
|
|
|