|
|
@@ -2577,7 +2577,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
|
|
|
}
|
|
|
});
|
|
|
|
|
|
- $scope.setRead = function (id) {
|
|
|
+ $scope.setReleaseDetailRead = function (id) {
|
|
|
var sourceId = [];
|
|
|
sourceId.push(id);
|
|
|
getService().setRead({}, sourceId, function (message) {
|
|
|
@@ -2648,7 +2648,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
|
|
|
$scope.loading = false;
|
|
|
toaster.pop('info', '提示', (inverse == -1 ? '撤销成功':'回复成功'));
|
|
|
$scope.tableParams.reload();
|
|
|
- getUnreadCount();
|
|
|
+ $scope.setReleaseDetailRead(item.id);
|
|
|
}, function(response){
|
|
|
$scope.loading = false;
|
|
|
toaster.pop('error', '回复失败', response.data);
|