|
@@ -118,8 +118,8 @@ app.controller("integralCtrl", [
|
118
|
118
|
};
|
119
|
119
|
//待审核的才能批量审核
|
120
|
120
|
$scope.gridOptions.isRowSelectable = function (row,i) {
|
121
|
|
- console.log(row);
|
122
|
|
- if (row.entity.auditState.value == 0) {
|
|
121
|
+ // console.log(row);
|
|
122
|
+ if ($scope.isIncidentManager && row.entity.auditState.value == 0 && row.entity.auditUser == $rootScope.user.id) {
|
123
|
123
|
return true;
|
124
|
124
|
} else {
|
125
|
125
|
return false;
|
|
@@ -269,6 +269,7 @@ app.controller("integralCtrl", [
|
269
|
269
|
confirmButtonColor: "#007AFF",
|
270
|
270
|
type: "success"
|
271
|
271
|
});
|
|
272
|
+ $scope.selected.items = [];
|
272
|
273
|
$scope.refreshData('expand-right', $scope.fileData);
|
273
|
274
|
} else {
|
274
|
275
|
SweetAlert.swal({
|